An instance of this class represents the configuration of one Wiegand reader.
More...
#include <WiegandConfig.hpp>
An instance of this class represents the configuration of one Wiegand reader.
Definition at line 46 of file WiegandConfig.hpp.
◆ WiegandReaderConfig() [1/2]
Leosac::Module::Wiegand::WiegandReaderConfig::WiegandReaderConfig |
( |
| ) |
|
|
inline |
◆ WiegandReaderConfig() [2/2]
Leosac::Module::Wiegand::WiegandReaderConfig::WiegandReaderConfig |
( |
const WiegandReaderConfig & |
| ) |
|
|
default |
◆ buzzer_name()
std::string Leosac::Module::Wiegand::WiegandReaderConfig::buzzer_name |
( |
| ) |
const |
|
inline |
◆ device_name()
template<typename DevicePtrT >
std::string Leosac::Module::Wiegand::WiegandReaderConfig::device_name |
( |
const DevicePtrT & |
dev | ) |
const |
|
inline |
Returns the name of a device, or the empty string.
Definition at line 60 of file WiegandConfig.hpp.
◆ gpio_high_name()
std::string Leosac::Module::Wiegand::WiegandReaderConfig::gpio_high_name |
( |
| ) |
const |
|
inline |
◆ gpio_low_name()
std::string Leosac::Module::Wiegand::WiegandReaderConfig::gpio_low_name |
( |
| ) |
const |
|
inline |
◆ green_led_name()
std::string Leosac::Module::Wiegand::WiegandReaderConfig::green_led_name |
( |
| ) |
const |
|
inline |
◆ validation_callback()
void Leosac::Module::Wiegand::WiegandReaderConfig::validation_callback |
( |
odb::callback_event |
e, |
|
|
odb::database & |
db |
|
) |
| const |
|
virtual |
◆ buzzer_
◆ gpio_high_
◆ gpio_low_
◆ green_led_
◆ mode
std::string Leosac::Module::Wiegand::WiegandReaderConfig::mode |
◆ nowait
bool Leosac::Module::Wiegand::WiegandReaderConfig::nowait |
◆ pin_key_end
char Leosac::Module::Wiegand::WiegandReaderConfig::pin_key_end |
◆ pin_timeout
std::chrono::milliseconds Leosac::Module::Wiegand::WiegandReaderConfig::pin_timeout |
◆ valid_operation_modes
constexpr std::array< const char *const, 8 > Leosac::Module::Wiegand::WiegandReaderConfig::valid_operation_modes |
|
staticconstexpr |
Initial value:{
"SIMPLE_WIEGAND",
"WIEGAND_PIN_4BITS",
"WIEGAND_PIN_8BITS",
"WIEGAND_PIN_BUFFERED",
"WIEGAND_CARD_PIN_4BITS",
"WIEGAND_CARD_PIN_8BITS",
"WIEGAND_CARD_PIN_BUFFERED",
"AUTODETECT"}
List of valid operation mode for a reader.
Definition at line 105 of file WiegandConfig.hpp.
The documentation for this struct was generated from the following files: