#include <AbstractApduCommandBuilder.h>
Inherited by keyple::core::command::AbstractIso7816CommandBuilder.
Generic APDU command builder.
It provides the generic getters to retrieve:
◆ AbstractApduCommandBuilder() [1/2]
keyple::core::command::AbstractApduCommandBuilder::AbstractApduCommandBuilder |
( |
const std::shared_ptr< SeCommand > |
commandRef, |
|
|
const std::shared_ptr< ApduRequest > |
request |
|
) |
| |
the generic abstract constructor to build an APDU request with a command reference and a byte array.
- Parameters
-
commandRef | command reference |
request | request |
◆ AbstractApduCommandBuilder() [2/2]
keyple::core::command::AbstractApduCommandBuilder::AbstractApduCommandBuilder |
( |
const std::string & |
name, |
|
|
const std::shared_ptr< ApduRequest > |
request |
|
) |
| |
◆ ~AbstractApduCommandBuilder()
virtual keyple::core::command::AbstractApduCommandBuilder::~AbstractApduCommandBuilder |
( |
| ) |
|
|
virtualdefault |
◆ addSubName()
void keyple::core::command::AbstractApduCommandBuilder::addSubName |
( |
const std::string & |
subName | ) |
|
|
virtual |
Append a string to the current name
- Parameters
-
subName | the string to append |
◆ getApduRequest()
const std::shared_ptr< ApduRequest > keyple::core::command::AbstractApduCommandBuilder::getApduRequest |
( |
| ) |
const |
|
virtual |
◆ getCommandRef()
const std::shared_ptr< SeCommand > keyple::core::command::AbstractApduCommandBuilder::getCommandRef |
( |
| ) |
const |
|
virtual |
◆ getName()
const std::string & keyple::core::command::AbstractApduCommandBuilder::getName |
( |
| ) |
const |
|
virtual |
- Returns
- the name of the APDU command from the CalypsoCommands information.
◆ mCommandRef
const std::shared_ptr<SeCommand> keyple::core::command::AbstractApduCommandBuilder::mCommandRef |
|
protected |
The reference field is used to find the type of command concerned when manipulating a list of abstract builder objects. Unfortunately, the diversity of these objects does not allow the use of simple generic methods.
◆ mRequest
std::shared_ptr<ApduRequest> keyple::core::command::AbstractApduCommandBuilder::mRequest |
|
protected |
The byte array APDU request
The documentation for this class was generated from the following files: