|
LibLogicalAccess
2.5.0
An Open Source RFID Library
|
The base commands class for all card commands. More...
#include <commands.hpp>
Public Member Functions | |
| 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. | |
Protected Member Functions | |
| Commands (std::string commandtype) | |
| Constructor. | |
Protected Attributes | |
| 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. | |
The base commands class for all card commands.
|
delete |
Constructor.
|
virtual |
|
inlineexplicitprotected |
Constructor.
| commandtype | The command type name. |
|
inlineoverridevirtual |
Get the chip.
Implements logicalaccess::ICommands.
Reimplemented in logicalaccess::DESFireEV1ISO7816Commands, logicalaccess::SAMAV2ISO7816Commands, and logicalaccess::DESFireEV1STidSTRCommands.
|
inlinevirtual |
Get the cmd name.
|
inlineoverridevirtual |
Get the reader/card adapter.
Implements logicalaccess::ICommands.
Reimplemented in logicalaccess::DESFireEV1ISO7816Commands, logicalaccess::SAMAV2ISO7816Commands, and logicalaccess::DESFireEV1STidSTRCommands.
|
inlinevirtual |
|
inlinevirtual |
Set the cmd name.
| chip | The cmd name. |
|
inlinevirtual |
Set the reader/card adapter.
| adapter | The reader/card adapter. |
Reimplemented in logicalaccess::EPassCommands.
|
protected |
The chip.
|
protected |
The command type.
|
protected |
The reader/card adapter.
1.9.6