Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | List of all members
keyple::core::seproxy::PluginFactory Class Referenceabstract

#include <PluginFactory.h>

Inherited by keyple::plugin::pcsc::PcscPluginFactory, keyple::plugin::stub::StubPluginFactory, and keyple::plugin::stub::StubPoolPluginFactory.

Public Member Functions

virtual ~PluginFactory ()=default
 
virtual const std::string & getPluginName () const =0
 
virtual std::shared_ptr< ReaderPlugingetPlugin () const =0
 

Constructor & Destructor Documentation

◆ ~PluginFactory()

virtual keyple::core::seproxy::PluginFactory::~PluginFactory ( )
virtualdefault

Member Function Documentation

◆ getPlugin()

virtual std::shared_ptr<ReaderPlugin> keyple::core::seproxy::PluginFactory::getPlugin ( ) const
pure virtual

Retrieve an instance of a plugin (can be a singleton or not)

Returns
instance of a ReaderPlugin
Exceptions
KeyplePluginInstantiationExceptionif instantiation failed, mostly when the third party library which manages the Se Reader interface is not ready

Implemented in keyple::plugin::stub::StubPoolPluginFactory, keyple::plugin::stub::StubPluginFactory, and keyple::plugin::pcsc::PcscPluginFactory.

◆ getPluginName()

virtual const std::string& keyple::core::seproxy::PluginFactory::getPluginName ( ) const
pure virtual

Retrieve the name of the plugin that will be instantiated by this factory (can be static or dynamic)

Returns
pluginName

Implemented in keyple::plugin::stub::StubPoolPluginFactory, keyple::plugin::stub::StubPluginFactory, and keyple::plugin::pcsc::PcscPluginFactory.


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