13 #include <QBluetoothDeviceDiscoveryAgent>
20 class BluetoothReader;
21 class BluetoothReaderManagerPlugInPrivate;
27 Q_PLUGIN_METADATA(IID
"governikus.ReaderManagerPlugIn" FILE
"metadata.json")
35 QBluetoothDeviceDiscoveryAgent mDeviceDiscoveryAgent;
36 QMap<QString, QSharedPointer<CyberJackWaveDevice> > mInitializingDevices;
37 QMap<QString, BluetoothReader*> mReaders;
38 QStringList mReadersDiscoveredInCurrentScan;
39 int mTimerIdDiscoverPairedDevices;
41 void onRemoveReader(
const QString& pDeviceId);
42 void timerEvent(QTimerEvent* event)
override;
45 void onDeviceInitialized(
const QBluetoothDeviceInfo& pInfo);
46 void onDeviceDisconnected(
const QBluetoothDeviceInfo& pInfo);
47 void onDeviceDiscovered(
const QBluetoothDeviceInfo& pInfo);
48 void onDeviceDiscoveryFinished();
49 void onDeviceDiscoveryError(QBluetoothDeviceDiscoveryAgent::Error pError);
50 void onDeviceDiscoveryCanceled();
51 void setBluetoothStatus(
bool pEnabled);
virtual void stopScan() override
Definition: BluetoothReaderManagerPlugIn.cpp:100
BluetoothReaderManagerPlugIn()
Definition: BluetoothReaderManagerPlugIn.cpp:24
QList< Reader * > getReaders() const override
Definition: BluetoothReaderManagerPlugIn.cpp:52
virtual void startScan() override
Definition: BluetoothReaderManagerPlugIn.cpp:64
virtual void onConnectToKnownReadersChanged() override
Definition: BluetoothReaderManagerPlugIn.cpp:116
Definition: BluetoothReaderManagerPlugIn.h:24
Definition: BluetoothReaderManagerPlugIn_p.h:14
void init() override
Definition: BluetoothReaderManagerPlugIn.cpp:40
Definition: ReaderManagerPlugIn.h:23