![]() |
Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
|
#include <CmdSamReadEventCounter.h>
Public Types | |
enum | SamEventCounterOperationType { COUNTER_RECORD , SINGLE_COUNTER } |
Public Member Functions | |
CmdSamReadEventCounter (const CalypsoSam::ProductType productType, const SamEventCounterOperationType operationType, const int index) | |
const std::vector< uint8_t > | getCounterData () const |
const std::map< const int, const std::shared_ptr< StatusProperties > > & | getStatusTable () const override |
![]() | |
AbstractSamCommand (const CalypsoSamCommand &commandRef, const int le) | |
const CalypsoSamCommand & | getCommandRef () const override |
const CalypsoApduCommandException | buildCommandException (const std::type_info &exceptionClass, const std::string &message) const final |
const CalypsoApduCommandException | buildUnexpectedResponseLengthException (const std::string &message) const final |
AbstractSamCommand & | setApduResponse (const std::shared_ptr< ApduResponseApi > apduResponse) override |
void | checkStatus () override |
![]() | |
AbstractApduCommand (const CardCommand &commandRef, const int le) | |
virtual void | addSubName (const std::string &subName) final |
virtual const std::string & | getName () const final |
virtual void | setApduRequest (const std::shared_ptr< ApduRequestAdapter > apduRequest) final |
virtual const std::shared_ptr< ApduRequestAdapter > | getApduRequest () const final |
virtual const std::shared_ptr< ApduResponseApi > | getApduResponse () const final |
virtual bool | isSuccessful () const final |
virtual const std::string | getStatusInformation () const final |
Additional Inherited Members | |
![]() | |
static const std::map< const int, const std::shared_ptr< StatusProperties > > | STATUS_TABLE = initStatusTable() |
![]() | |
static const std::map< const int, const std::shared_ptr< StatusProperties > > | STATUS_TABLE |
(package-private)
Builds the Read Event Counter APDU command.
Definition at line 37 of file CmdSamReadEventCounter.h.
Event counter operation type
Enumerator | |
---|---|
COUNTER_RECORD | Counter record |
SINGLE_COUNTER | Single counter |
Definition at line 42 of file CmdSamReadEventCounter.h.
keyple::card::calypso::CmdSamReadEventCounter::CmdSamReadEventCounter | ( | const CalypsoSam::ProductType | productType, |
const SamEventCounterOperationType | operationType, | ||
const int | index | ||
) |
(package-private)
Instantiate a new CmdSamReadEventCounter
productType | the SAM product type. |
operationType | the counter operation type. |
index | the counter index. |
Definition at line 38 of file CmdSamReadEventCounter.cpp.
const std::vector< uint8_t > keyple::card::calypso::CmdSamReadEventCounter::getCounterData | ( | ) | const |
(package-private)
Gets the key parameters.
Definition at line 91 of file CmdSamReadEventCounter.cpp.
|
overridevirtual |
(package-private)
Returns the internal status table
Reimplemented from keyple::card::calypso::AbstractSamCommand.
Definition at line 97 of file CmdSamReadEventCounter.cpp.