Keypop Generic Card C++ API - 1.0.0
Component of the Keypop C++ API
keypop::genericcard::GenericCardApiFactory Class Referenceabstract

Generic Card API Factory. More...

#include <keypop/genericcard/GenericCardApiFactory.hpp>

Public Member Functions

virtual ~GenericCardApiFactory ()=default
 
virtual std::unique_ptr< GenericCardSelectionExtension > createGenericCardSelectionExtension ()=0
 Creates a new instance of GenericCardSelectionExtension. More...
 
virtual std::unique_ptr< CardTransactionManager > createCardTransaction (const std::shared_ptr< CardReader > &reader, const std::shared_ptr< SmartCard > &card)=0
 Creates an instance of CardTransactionManager. More...
 

Detailed Description

Generic Card API Factory.

Since
1.0.0

Definition at line 34 of file GenericCardApiFactory.hpp.

Constructor & Destructor Documentation

◆ ~GenericCardApiFactory()

virtual keypop::genericcard::GenericCardApiFactory::~GenericCardApiFactory ( )
virtualdefault

Member Function Documentation

◆ createCardTransaction()

virtual std::unique_ptr< CardTransactionManager > keypop::genericcard::GenericCardApiFactory::createCardTransaction ( const std::shared_ptr< CardReader > &  reader,
const std::shared_ptr< SmartCard > &  card 
)
pure virtual

Creates an instance of CardTransactionManager.

Parameters
readerThe reader through which the card communicates.
cardThe initial card data provided by the selection process.
Returns
A not null reference.
Since
1.0.0

◆ createGenericCardSelectionExtension()

virtual std::unique_ptr< GenericCardSelectionExtension > keypop::genericcard::GenericCardApiFactory::createGenericCardSelectionExtension ( )
pure virtual

Creates a new instance of GenericCardSelectionExtension.

Returns
A not null reference
Since
1.0.0

The documentation for this class was generated from the following file: