#include <ReaderManager.h>
◆ ReaderManager()
ReaderManager::ReaderManager |
( |
| ) |
|
|
protected |
◆ ~ReaderManager()
ReaderManager::~ReaderManager |
( |
| ) |
|
|
overrideprotected |
◆ addMainThreadInit()
void ReaderManager::addMainThreadInit |
( |
const std::function< void()> & | pFunc | ) |
|
|
static |
◆ callCreateCardConnectionCommand()
QMetaObject::Connection governikus::ReaderManager::callCreateCardConnectionCommand |
( |
const QString & | pReaderName, |
|
|
const typename QtPrivate::FunctionPointer< T >::Object * | pReceiver, |
|
|
T | pSlot ) |
|
inline |
Executes a command to create a CardConnection for a specified reader.
- Parameter
-
◆ callExecute()
void governikus::ReaderManager::callExecute |
( |
Func | pFunc | ) |
|
|
inline |
Executes a blocking function on ReaderManager-Thread.
- Parameter
-
pFunc | Function that will be executed. |
◆ callExecuteCommand()
QMetaObject::Connection governikus::ReaderManager::callExecuteCommand |
( |
const std::function< QVariant()> & | pFunc, |
|
|
const typename QtPrivate::FunctionPointer< T >::Object * | pReceiver, |
|
|
T | pSlot ) |
|
inline |
Executes a function on ReaderManager-Thread.
- Parameter
-
pFunc | Function that will be executed. |
pReceiver | The receiver object. |
pSlot | The slot to receive ExecuteCommand. |
◆ fireCardInfoChanged
◆ fireCardInserted
◆ fireCardRemoved
◆ fireInitialized
void governikus::ReaderManager::fireInitialized |
( |
| ) |
|
|
signal |
◆ fireInitialScanFinished
void governikus::ReaderManager::fireInitialScanFinished |
( |
| ) |
|
|
signal |
◆ firePluginAdded
◆ fireReaderAdded
◆ fireReaderPropertiesUpdated
◆ fireReaderRemoved
◆ fireStatusChanged
◆ getPluginInfo()
◆ getReaderInfo()
ReaderInfo ReaderManager::getReaderInfo |
( |
const QString & | pReaderName | ) |
const |
◆ getReaderInfos()
◆ init()
void ReaderManager::init |
( |
| ) |
|
Initialize the reader manager service.
The thread is started and the plug-ins are initialized, too.
◆ insert()
Insert a "virtual" card if plugin supports it.
◆ isInitialScanFinished()
bool ReaderManager::isInitialScanFinished |
( |
| ) |
const |
◆ isResultType()
◆ isWorkerThread()
bool governikus::ReaderManager::isWorkerThread |
( |
| ) |
const |
|
inline |
◆ reset()
Resets the plugins matching the given type.
◆ shelve()
void ReaderManager::shelve |
( |
| ) |
|
Shelve all cards that were shelved and inserted before.
◆ shutdown
void ReaderManager::shutdown |
( |
| ) |
|
|
slot |
Shuts down the reader manager service.
The thread is terminated and the plug-ins are unloaded.
◆ startScan()
Starts a scan for devices if registered plugin don't scan anytime.
◆ startScanAll()
void ReaderManager::startScanAll |
( |
bool | pAutoConnect = true | ) |
|
Starts a scan for all device types.
◆ stopScan()
Stops started scan for devices.
Be aware that some plugins don't finish the whole scan if you abort it with stopScan!
◆ stopScanAll()
void ReaderManager::stopScanAll |
( |
const QString & | pError = QString() | ) |
|
Stops scan for all device types.
◆ updateReaderInfo()
void ReaderManager::updateReaderInfo |
( |
const QString & | pReaderName | ) |
|
◆ Env
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: