Leosac  0.8.0
Open Source Access Control
Leosac::Module::Piface Namespace Reference

Provide support for the piface digital device. More...

Classes

class  CRUDHandler
 CRUD Handler for GPIO backed by Piface module. More...
 
struct  ModuleParameters
 Some ~const parameter that are required to process websocket requests. More...
 
class  PFDigitalModule
 Main class for the piface digital module. More...
 
class  PFGPIO
 Piface Module GPIO descriptor. More...
 
struct  PFGPIOSerializer
 
class  WSHelperThread
 

Typedefs

using json = nlohmann::json
 

Functions

auto find_gpio_by_id (const Hardware::DeviceId &id, DBPtr db)
 

Detailed Description

Provide support for the piface digital device.

This module can be started on a device that is not compatible with a Piface device just to be able to configure Piface backed GPIO.

If database is enabled, this module use one helper thread to listen to websocket request and to perform database operation.

See also
PifaceDigital Module Documentation for documentation

Typedef Documentation

◆ json

using Leosac::Module::Piface::json = typedef nlohmann::json

Definition at line 36 of file PFGPIO.hpp.

Function Documentation

◆ find_gpio_by_id()

auto Leosac::Module::Piface::find_gpio_by_id ( const Hardware::DeviceId id,
DBPtr  db 
)

Definition at line 89 of file CRUDHandler.cpp.