|
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>
41 #pragma db object callback(validation_callback) table("HARDWARE_BUZZER")
int64_t default_blink_speed_
std::shared_ptr< GPIO > GPIOPtr
void validation_callback(odb::callback_event e, odb::database &) const override
Base class for hardware devices.
virtual ~Buzzer()=default
const GPIOPtr & gpio() const
This is the header file for a generated source file, GitSHA1.cpp.
int64_t default_blink_speed() const
int64_t default_blink_duration_
int64_t default_blink_duration() const
Abstraction of Buzzer device attributes.
GPIOPtr gpio_
The underlying GPIO.