|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
35 : BaseModuleSupportThread(core_utils, 0)
WSHelperThread(const CoreUtilsPtr &core_utils)
static constexpr const char led_object_id_key[]
How to retrieve the object's id when instanciate the crud handler for led.
Serializer code is copy-pasted from buzzer's serializer.
void register_ws_handlers(WebSockAPI::Service &ws_service) override
Called when websocket handler registration is possible.
void register_crud_handler(const std::string &resource_name, CRUDResourceHandler::Factory factory)
CRUD handler for Buzzer and LED.
This is the header file for a generated source file, GitSHA1.cpp.
A service object provided by the Websocket module.
static constexpr const char buzzer_object_id_key[]
How to retrieve the object's id when instanciate the crud handler for buzzer.
void unregister_ws_handlers(WebSockAPI::Service &ws_service) override
Abstraction of LED device attributes.
void unregister_handler(const std::string &name)
Remove an handler by name.
Abstraction of Buzzer device attributes.
std::shared_ptr< CoreUtils > CoreUtilsPtr