#include <ReaderManager.h>
|
| void | shutdown () |
| | Shuts down the reader manager service.
|
| |
|
| void | init () |
| | Initialize the reader manager service.
|
| |
| void | reset (ReaderManagerPlugInType pType) |
| | Resets the plugins matching the given type.
|
| |
| void | startScanAll (bool pAutoConnect=true) |
| | Starts a scan for all device types.
|
| |
| void | startScan (ReaderManagerPlugInType pType, bool pAutoConnect=true) |
| | Starts a scan for devices if registered plugin don't scan anytime.
|
| |
| void | stopScanAll (const QString &pError=QString()) |
| | Stops scan for all device types.
|
| |
| bool | isScanRunning () const |
| | Queries if any plugin is currently scanning.
|
| |
| bool | isScanRunning (ReaderManagerPlugInType pType) const |
| | Queries if a plugin with the requested type is currently scanning.
|
| |
| void | stopScan (ReaderManagerPlugInType pType, const QString &pError=QString()) |
| | Stops started scan for devices.
|
| |
| QVector< ReaderManagerPlugInInfo > | getPlugInInfos () const |
| |
| virtual QVector< ReaderInfo > | getReaderInfos (const ReaderFilter &pFilter=ReaderFilter()) const |
| |
| ReaderInfo | getReaderInfo (const QString &pReaderName) const |
| |
| void | updateReaderInfo (const QString &pReaderName) |
| |
| template<typename T > |
| QMetaObject::Connection | callCreateCardConnectionCommand (const QString &pReaderName, const typename QtPrivate::FunctionPointer< T >::Object *pReceiver, T pSlot) |
| | Executes a command to create a CardConnection for a specified reader.
|
| |
| void | updateRetryCounters () |
| |
◆ ReaderManager()
| ReaderManager::ReaderManager |
( |
| ) |
|
|
protected |
◆ ~ReaderManager()
| ReaderManager::~ReaderManager |
( |
| ) |
|
|
overrideprotected |
◆ 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
-
◆ fireCardInserted
| void governikus::ReaderManager::fireCardInserted |
( |
const ReaderInfo & |
pInfo | ) |
|
|
signal |
◆ fireCardRemoved
| void governikus::ReaderManager::fireCardRemoved |
( |
const ReaderInfo & |
pInfo | ) |
|
|
signal |
◆ fireCardRetryCounterChanged
| void governikus::ReaderManager::fireCardRetryCounterChanged |
( |
const ReaderInfo & |
pInfo | ) |
|
|
signal |
◆ fireInitialized
| void governikus::ReaderManager::fireInitialized |
( |
| ) |
|
|
signal |
◆ firePluginAdded
| void governikus::ReaderManager::firePluginAdded |
( |
const ReaderManagerPlugInInfo & |
pInfo | ) |
|
|
signal |
◆ fireReaderAdded
| void governikus::ReaderManager::fireReaderAdded |
( |
const ReaderInfo & |
pInfo | ) |
|
|
signal |
◆ fireReaderEvent
| void governikus::ReaderManager::fireReaderEvent |
( |
| ) |
|
|
signal |
◆ fireReaderPropertiesUpdated
| void governikus::ReaderManager::fireReaderPropertiesUpdated |
( |
const ReaderInfo & |
pInfo | ) |
|
|
signal |
◆ fireReaderRemoved
| void governikus::ReaderManager::fireReaderRemoved |
( |
const ReaderInfo & |
pInfo | ) |
|
|
signal |
◆ fireStatusChanged
| void governikus::ReaderManager::fireStatusChanged |
( |
const ReaderManagerPlugInInfo & |
pInfo | ) |
|
|
signal |
◆ getPlugInInfos()
| QVector< ReaderManagerPlugInInfo > ReaderManager::getPlugInInfos |
( |
| ) |
const |
◆ 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.
◆ isScanRunning() [1/2]
| bool ReaderManager::isScanRunning |
( |
| ) |
const |
Queries if any plugin is currently scanning.
◆ isScanRunning() [2/2]
| bool ReaderManager::isScanRunning |
( |
ReaderManagerPlugInType |
pType | ) |
const |
Queries if a plugin with the requested type is currently scanning.
◆ reset()
| void ReaderManager::reset |
( |
ReaderManagerPlugInType |
pType | ) |
|
Resets the plugins matching the given type.
◆ shutdown
| void ReaderManager::shutdown |
( |
| ) |
|
|
slot |
Shuts down the reader manager service.
The thread is terminated and the plug-ins are unloaded.
◆ startScan()
| void ReaderManager::startScan |
( |
ReaderManagerPlugInType |
pType, |
|
|
bool |
pAutoConnect = true |
|
) |
| |
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()
| void ReaderManager::stopScan |
( |
ReaderManagerPlugInType |
pType, |
|
|
const QString & |
pError = QString() |
|
) |
| |
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 | ) |
|
◆ updateRetryCounters()
| void ReaderManager::updateRetryCounters |
( |
| ) |
|
◆ Env
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: