LibLogicalAccess
2.5.0
An Open Source RFID Library
|
A LED/Buzzer Display base class. More...
#include <ledbuzzerdisplay.hpp>
Public Member Functions | |
virtual | ~LEDBuzzerDisplay ()=default |
virtual void | setGreenLed (bool status)=0 |
Set the green led to a status. | |
virtual void | setRedLed (bool status)=0 |
Set the red led to a status. | |
virtual void | setBuzzer (bool status)=0 |
Set the buzzer to a status. | |
std::shared_ptr< ReaderCardAdapter > | getReaderCardAdapter () const |
Get the reader card adapter. | |
void | setReaderCardAdapter (std::shared_ptr< ReaderCardAdapter > adapter) |
Set the reader card adapter. | |
Protected Attributes | |
std::shared_ptr< ReaderCardAdapter > | d_readerCardAdapter |
The reader card adapter. | |
A LED/Buzzer Display base class.
|
virtualdefault |
|
inline |
Get the reader card adapter.
|
pure virtual |
Set the buzzer to a status.
status | True to play the buzzer, false otherwise. |
Implemented in logicalaccess::OSDPLEDBuzzerDisplay, logicalaccess::ACSACR1222LLEDBuzzerDisplay, and logicalaccess::STidSTRLEDBuzzerDisplay.
|
pure virtual |
Set the green led to a status.
status | True to show the green led, false otherwise. |
Implemented in logicalaccess::OSDPLEDBuzzerDisplay, logicalaccess::ACSACR1222LLEDBuzzerDisplay, and logicalaccess::STidSTRLEDBuzzerDisplay.
|
inline |
Set the reader card adapter.
adapter | The reader card adapter. |
|
pure virtual |
Set the red led to a status.
status | True to show the red led, false otherwise. |
Implemented in logicalaccess::OSDPLEDBuzzerDisplay, logicalaccess::ACSACR1222LLEDBuzzerDisplay, and logicalaccess::STidSTRLEDBuzzerDisplay.
|
protected |
The reader card adapter.