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