Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Classes | Static Public Member Functions | Static Public Attributes | List of all members
keyple::plugin::pcsc::PcscProtocolSetting Class Reference

#include <PcscProtocolSetting.h>

Static Public Member Functions

static const std::map< std::shared_ptr< SeCommonProtocol >, std::string > getSpecificSettings (const std::set< std::shared_ptr< SeCommonProtocol >> &specificProtocols)
 
static const std::map< std::shared_ptr< SeCommonProtocol >, std::string > & getAllSettings ()
 

Static Public Attributes

static std::map< std::shared_ptr< SeCommonProtocol >, std::string > PCSC_PROTOCOL_SETTING
 

Detailed Description

This class contains all the parameters to identify the communication protocols supported by PC/SC readers.

The application can choose to add all parameters or only a subset.

Since they are based on the virtual ATR created by the reader, the protocol identification values are provided as is, they may vary from one reader and SE to another.

It may be necessary to create a custom parameter set specific to the context.

Member Function Documentation

◆ getAllSettings()

const std::map< std::shared_ptr< SeCommonProtocol >, std::string > & keyple::plugin::pcsc::PcscProtocolSetting::getAllSettings ( )
static

Return the whole settings map

Returns
a settings map

◆ getSpecificSettings()

const std::map< std::shared_ptr< SeCommonProtocol >, std::string > keyple::plugin::pcsc::PcscProtocolSetting::getSpecificSettings ( const std::set< std::shared_ptr< SeCommonProtocol >> &  specificProtocols)
static

Return a subset of the settings map

Parameters
specificProtocolssubset of protocols
Returns
a settings map

Member Data Documentation

◆ PCSC_PROTOCOL_SETTING

std::map< std::shared_ptr< SeCommonProtocol >, std::string > keyple::plugin::pcsc::PcscProtocolSetting::PCSC_PROTOCOL_SETTING
static

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