Keypop Reader C++ API 2.0.0
Reference Reader API for C++
|
#include <CardSelectionResult.hpp>
Public Member Functions | |
virtual const std::map< int, std::shared_ptr< SmartCard > > & | getSmartCards () const =0 |
virtual std::shared_ptrespi::SmartCard::SmartCard | getActiveSmartCard () const =0 |
virtual int | getActiveSelectionIndex () const =0 |
Result of a selection process.
Each selection case prepared with the card selection manager is associated with an index corresponding to its rank in the order of preparation.
The same index is used here to find out which selection cases were successful.
However, only one case will correspond to the selected card state. The getters of this interface allow to make use of these results according to the configurations and the needs of the application.
Definition at line 35 of file CardSelectionResult.hpp.
|
pure virtual |
Gets the index of the active selection if any.
|
pure virtual |
Gets the active matching card. I.e. the card that has been selected.
|
pure virtual |
Gets all SmartCard corresponding to all successful selection cases in a map for which the key is the selection index provided by the CardSelectionManager::prepareSelection(CardSelection) method.