Leosac  0.8.0
Open Source Access Control
Leosac::Hardware::RFIDReader Class Reference

Abstraction of a RFID Reader device. More...

#include <RFIDReader.hpp>

+ Inheritance diagram for Leosac::Hardware::RFIDReader:
+ Collaboration diagram for Leosac::Hardware::RFIDReader:

Public Member Functions

 RFIDReader ()
void validation_callback (odb::callback_event, odb::database &) const override
- Public Member Functions inherited from Leosac::Hardware::Device
 Device ()
 Device (DeviceClass device_class)
virtual ~Device ()=default
UUID id () const
const std::string & name () const
void name (const std::string &name)
DeviceClass device_class () const
void device_class (DeviceClass d)
bool enabled () const
void enabled (bool e)
uint64_t odb_version () const

Detailed Description

Abstraction of a RFID Reader device.

For now we have no attributes. Probably will change when WiegandReader module works correctly with database. todo: move some common attributes here

Definition at line 42 of file RFIDReader.hpp.

Constructor & Destructor Documentation

◆ RFIDReader()

Leosac::Hardware::RFIDReader::RFIDReader ( )

Definition at line 27 of file RFIDReader.cpp.

Member Function Documentation

◆ validation_callback()

void Leosac::Hardware::RFIDReader::validation_callback ( odb::callback_event  e,
odb::database &  db 
) const

Reimplemented from Leosac::Hardware::Device.

Reimplemented in Leosac::Module::Wiegand::WiegandReaderConfig.

Definition at line 32 of file RFIDReader.cpp.

The documentation for this class was generated from the following files: