|
LibLogicalAccess
2.5.0
An Open Source RFID Library
|
#include <dummycommand.hpp>
Public Member Functions | |
| DummyCommands () | |
Public Member Functions inherited from logicalaccess::Commands | |
| Commands ()=delete | |
| Constructor. | |
| virtual | ~Commands () |
| std::shared_ptr< Chip > | getChip () const override |
| Get the chip. | |
| virtual void | setChip (std::shared_ptr< Chip > chip) |
| Set the chip. | |
| std::shared_ptr< ReaderCardAdapter > | getReaderCardAdapter () const override |
| Get the reader/card adapter. | |
| virtual void | setReaderCardAdapter (std::shared_ptr< ReaderCardAdapter > adapter) |
| Set the reader/card adapter. | |
| virtual const std::string & | getCmdType () const |
| Get the cmd name. | |
| virtual void | setCmdType (const std::string &command_type) |
| Set the cmd name. | |
Public Member Functions inherited from logicalaccess::ICommands | |
| virtual | ~ICommands ()=default |
| virtual std::shared_ptr< Chip > | getChip () const =0 |
| Get the chip. | |
| virtual std::shared_ptr< ReaderCardAdapter > | getReaderCardAdapter () const =0 |
| Get the reader/card adapter. | |
Additional Inherited Members | |
Protected Member Functions inherited from logicalaccess::Commands | |
| Commands (std::string commandtype) | |
| Constructor. | |
Protected Attributes inherited from logicalaccess::Commands | |
| std::shared_ptr< ReaderCardAdapter > | d_readerCardAdapter |
| The reader/card adapter. | |
| std::weak_ptr< Chip > | d_chip |
| The chip. | |
| std::string | d_commandtype |
| The command type. | |
This is a dummy implementation of commands.
It exists so that we know explicitly that we are working with dummy commands rather than using the base Commands class.
A DummyCommand only goal is to make the reader unit object available to the chip through the reader card adapter and data transport, even if it makes no use of them.
As of now, DummyCommands are used by Prox and SEOS cards.
|
inline |
1.9.6