|
LibLogicalAccess
2.5.0
An Open Source RFID Library
|
A OSDP LED/Buzzer Display class. More...
#include <osdpledbuzzerdisplay.hpp>
Public Member Functions | |
| OSDPLEDBuzzerDisplay () | |
| Constructor. | |
| void | setGreenLed (bool status) override |
| Set the green led to a status. | |
| void | setRedLed (bool status) override |
| Set the red led to a status. | |
| void | setLED (OSDPColor color) |
| void | setBuzzer (bool status) override |
| Set the buzzer to a status. | |
| std::shared_ptr< OSDPReaderCardAdapter > | getOSDPReaderCardAdapter () const |
Public Member Functions inherited from logicalaccess::LEDBuzzerDisplay | |
| 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. | |
Additional Inherited Members | |
Protected Attributes inherited from logicalaccess::LEDBuzzerDisplay | |
| std::shared_ptr< ReaderCardAdapter > | d_readerCardAdapter |
| The reader card adapter. | |
A OSDP LED/Buzzer Display class.
| logicalaccess::OSDPLEDBuzzerDisplay::OSDPLEDBuzzerDisplay | ( | ) |
Constructor.
| std::shared_ptr< OSDPReaderCardAdapter > logicalaccess::OSDPLEDBuzzerDisplay::getOSDPReaderCardAdapter | ( | ) | const |
|
overridevirtual |
Set the buzzer to a status.
| status | True to play the buzzer, false otherwise. |
Implements logicalaccess::LEDBuzzerDisplay.
|
overridevirtual |
Set the green led to a status.
| status | True to show the green led, false otherwise. |
Implements logicalaccess::LEDBuzzerDisplay.
| void logicalaccess::OSDPLEDBuzzerDisplay::setLED | ( | OSDPColor | color | ) |
|
overridevirtual |
Set the red led to a status.
| status | True to show the red led, false otherwise. |
Implements logicalaccess::LEDBuzzerDisplay.
1.9.6