Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | List of all members
keyple::plugin::stub::StubPluginFactory Class Referencefinal

#include <StubPluginFactory.h>

Inherits keyple::core::seproxy::PluginFactory.

Public Member Functions

 StubPluginFactory (const std::string &pluginName)
 
const std::string & getPluginName () const override
 
std::shared_ptr< ReaderPlugingetPlugin () const override
 
- Public Member Functions inherited from keyple::core::seproxy::PluginFactory
virtual ~PluginFactory ()=default
 

Detailed Description

Builds a keyple::plugin::stub::StubPlugin

Constructor & Destructor Documentation

◆ StubPluginFactory()

keyple::plugin::stub::StubPluginFactory::StubPluginFactory ( const std::string &  pluginName)
explicit

Create the factory

Parameters
pluginNamename of the plugin that will be instantiated

Member Function Documentation

◆ getPlugin()

std::shared_ptr< ReaderPlugin > keyple::plugin::stub::StubPluginFactory::getPlugin ( ) const
overridevirtual

Returns an instance of the keyple::plugin::pcsc::PcscPlugin if the platform is ready

Returns
PcscPlugin instance
Exceptions
KeyplePluginInstantiationExceptionif Smartcard.io library is not ready

Implements keyple::core::seproxy::PluginFactory.

◆ getPluginName()

const std::string & keyple::plugin::stub::StubPluginFactory::getPluginName ( ) const
overridevirtual

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

Returns
pluginName

Implements keyple::core::seproxy::PluginFactory.


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