#include <StubPlugin.h>
Inherits keyple::core::seproxy::event::ObservablePlugin.
Inherited by keyple::plugin::stub::StubPluginImpl.
|
virtual void | plugStubReader (const std::string &name, bool synchronous)=0 |
|
virtual void | plugStubReader (const std::string &name, TransmissionMode transmissionMode, bool synchronous)=0 |
|
virtual void | plugStubReaders (const std::set< std::string > &names, bool synchronous)=0 |
|
virtual void | unplugStubReader (const std::string &name, bool synchronous)=0 |
|
virtual void | unplugStubReaders (const std::set< std::string > &names, bool synchronous)=0 |
|
virtual | ~ObservablePlugin ()=default |
|
virtual void | addObserver (const std::shared_ptr< PluginObserver > observer)=0 |
|
virtual void | removeObserver (const std::shared_ptr< PluginObserver > observer)=0 |
|
virtual void | clearObservers ()=0 |
|
virtual int | countObservers () const =0 |
|
virtual | ~ReaderPlugin ()=default |
|
virtual const std::set< std::string > | getReaderNames () const =0 |
|
virtual ConcurrentMap< const std::string, std::shared_ptr< SeReader > > & | getReaders ()=0 |
|
virtual const std::shared_ptr< SeReader > | getReader (const std::string &name)=0 |
|
virtual | ~ProxyElement ()=default |
|
virtual const std::string & | getName () const =0 |
|
virtual const std::map< const std::string, const std::string > & | getParameters () const =0 |
|
virtual void | setParameter (const std::string &key, const std::string &value)=0 |
|
virtual void | setParameters (const std::map< const std::string, const std::string > ¶meters) |
|
◆ plugStubReader() [1/2]
virtual void keyple::plugin::stub::StubPlugin::plugStubReader |
( |
const std::string & |
name, |
|
|
bool |
synchronous |
|
) |
| |
|
pure virtual |
Plug a Stub Reader
- Parameters
-
name | : name of the created reader |
synchronous | : should the stubreader added synchronously (without waiting for the observation thread) |
Implemented in keyple::plugin::stub::StubPluginImpl.
◆ plugStubReader() [2/2]
virtual void keyple::plugin::stub::StubPlugin::plugStubReader |
( |
const std::string & |
name, |
|
|
TransmissionMode |
transmissionMode, |
|
|
bool |
synchronous |
|
) |
| |
|
pure virtual |
Plug a Stub Reader
- Parameters
-
name | : name of the created reader |
transmissionMode | : transmissionMode of the created reader |
synchronous | : should the stubreader added synchronously (without waiting for the observation thread) |
Implemented in keyple::plugin::stub::StubPluginImpl.
◆ plugStubReaders()
virtual void keyple::plugin::stub::StubPlugin::plugStubReaders |
( |
const std::set< std::string > & |
names, |
|
|
bool |
synchronous |
|
) |
| |
|
pure virtual |
Plug a list of stub Reader at once
- Parameters
-
names | : names of readers to be connected |
synchronous | : should the stubreader be added synchronously (without waiting for the observation thread). An READER_CONNECTED event is raised in both cases |
Implemented in keyple::plugin::stub::StubPluginImpl.
◆ unplugStubReader()
virtual void keyple::plugin::stub::StubPlugin::unplugStubReader |
( |
const std::string & |
name, |
|
|
bool |
synchronous |
|
) |
| |
|
pure virtual |
Unplug a Stub Reader
- Parameters
-
name | the name of the reader |
- Exceptions
-
KeypleReaderException | in case of a reader exception |
- Parameters
-
synchronous | : should the stubreader be removed synchronously (without waiting for the observation thread). An READER_DISCONNECTED event is raised in both cases |
Implemented in keyple::plugin::stub::StubPluginImpl.
◆ unplugStubReaders()
virtual void keyple::plugin::stub::StubPlugin::unplugStubReaders |
( |
const std::set< std::string > & |
names, |
|
|
bool |
synchronous |
|
) |
| |
|
pure virtual |
Unplug a list of readers
- Parameters
-
names | : names of the reader to be unplugged |
synchronous | : should the stubreader removed synchronously (without waiting for the observation thread). An READER_DISCONNECTED event is raised in both cases |
Implemented in keyple::plugin::stub::StubPluginImpl.
The documentation for this class was generated from the following file: