Virtual class for RFID plugin of BPS Workplace. More...
#include <bpsrfidplugin.h>
Public Member Functions | |
| virtual bool | check (BpsDatastore *aDatastore) const =0 |
| Check if plugin is available for usage, e.g. More... | |
| virtual BpsConfigWidget * | createConfigWidget (BpsDatastore *aDatastore, QWidget *aParent=nullptr) const =0 |
| Create the config widget and return a pointer to it. More... | |
| virtual BpsRfid * | createRfid (BpsDatastore *aDatastore, QObject *aParent=nullptr) const =0 |
| Create a RFID object and return a pointer to it. More... | |
| virtual QString | rfidId () const =0 |
| virtual QString | rfidName () const =0 |
| virtual | ~BpsRfidPlugin () |
| Virtual destructor. | |
Static Public Member Functions | |
| static BpsRfidPlugin * | plugin (BpsDatastore *aDatastore, const QString &aId) |
| Find the available RFID plugin with the given ID. More... | |
| static QList< BpsRfidPlugin * > | plugins (BpsDatastore *aDatastore) |
| Get list of all RFID plugins available for usage. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| #define | BpsRfidPlugin_IID "com.ibk-software.BPS2.BpsRfidPlugin/1.0" |
| IID of the plugin. | |
Virtual class for RFID plugin of BPS Workplace.
Place the dynamic library in the plugins/bpsrfid folder.
|
pure virtual |
Check if plugin is available for usage, e.g.
it is licensed.
| aDatastore | The datastore to use. |
|
pure virtual |
Create the config widget and return a pointer to it.
The widget is owned by the caller.
| aDatastore | The datastore to use. |
| aParent | The parent widget. |
|
pure virtual |
Create a RFID object and return a pointer to it.
| aDatastore | The datastore to use. |
| aParent | The parent object. |
|
static |
Find the available RFID plugin with the given ID.
| aDatastore | The datastore to use. |
| aId | The RFID ID, for example "rodataos". |
|
static |
Get list of all RFID plugins available for usage.
| aDatastore | The datastore to use. |
|
pure virtual |
|
pure virtual |