|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
24 #include <odb/callback.hxx>
25 #include <odb/core.hxx>
35 #pragma db object callback(validation_callback) table("HARDWARE_LED")
40 virtual ~LED() =
default;
std::shared_ptr< GPIO > GPIOPtr
const GPIOPtr & gpio() const
int64_t default_blink_speed() const
void validation_callback(odb::callback_event e, odb::database &) const override
Base class for hardware devices.
This is the header file for a generated source file, GitSHA1.cpp.
int64_t default_blink_duration_
GPIOPtr gpio_
The underlying GPIO.
int64_t default_blink_duration() const
int64_t default_blink_speed_
Abstraction of LED device attributes.