LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
logicalaccess::OSDPLEDBuzzerDisplay Class Reference

A OSDP LED/Buzzer Display class. More...

#include <osdpledbuzzerdisplay.hpp>

Inheritance diagram for logicalaccess::OSDPLEDBuzzerDisplay:
logicalaccess::LEDBuzzerDisplay

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< OSDPReaderCardAdaptergetOSDPReaderCardAdapter () 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< ReaderCardAdaptergetReaderCardAdapter () 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< ReaderCardAdapterd_readerCardAdapter
 The reader card adapter.
 

Detailed Description

A OSDP LED/Buzzer Display class.

Constructor & Destructor Documentation

◆ OSDPLEDBuzzerDisplay()

logicalaccess::OSDPLEDBuzzerDisplay::OSDPLEDBuzzerDisplay ( )

Constructor.

Member Function Documentation

◆ getOSDPReaderCardAdapter()

std::shared_ptr< OSDPReaderCardAdapter > logicalaccess::OSDPLEDBuzzerDisplay::getOSDPReaderCardAdapter ( ) const

◆ setBuzzer()

void logicalaccess::OSDPLEDBuzzerDisplay::setBuzzer ( bool  status)
overridevirtual

Set the buzzer to a status.

Parameters
statusTrue to play the buzzer, false otherwise.

Implements logicalaccess::LEDBuzzerDisplay.

◆ setGreenLed()

void logicalaccess::OSDPLEDBuzzerDisplay::setGreenLed ( bool  status)
overridevirtual

Set the green led to a status.

Parameters
statusTrue to show the green led, false otherwise.

Implements logicalaccess::LEDBuzzerDisplay.

◆ setLED()

void logicalaccess::OSDPLEDBuzzerDisplay::setLED ( OSDPColor  color)

◆ setRedLed()

void logicalaccess::OSDPLEDBuzzerDisplay::setRedLed ( bool  status)
overridevirtual

Set the red led to a status.

Parameters
statusTrue to show the red led, false otherwise.

Implements logicalaccess::LEDBuzzerDisplay.


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