Virtual class for signals plugin of BPS Workplace. More...
#include <bpssignalsplugin.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 BpsSignals * | createSignals (BpsDatastore *aDatastore, QObject *aParent=nullptr) const =0 |
Create a signals object and return a pointer to it. More... | |
virtual QString | signalsId () const =0 |
virtual QString | signalsName () const =0 |
virtual | ~BpsSignalsPlugin () |
Virtual destructor. | |
Static Public Member Functions | |
static BpsSignalsPlugin * | plugin (BpsDatastore *aDatastore, const QString &aId) |
Find the available signals plugin with the given ID. More... | |
static QList< BpsSignalsPlugin * > | plugins (BpsDatastore *aDatastore) |
Get list of all signals plugins available for usage. More... | |
Related Functions | |
(Note that these are not member functions.) | |
#define | BpsSignalsPlugin_IID "com.ibk-software.BPS2.BpsSignalsPlugin/1.0" |
IID of the plugin. | |
Virtual class for signals plugin of BPS Workplace.
Place the dynamic library in the plugins/bpsignals 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 signals object and return a pointer to it.
aDatastore | The datastore to use. |
aParent | The parent object. |
|
static |
Find the available signals plugin with the given ID.
aDatastore | The datastore to use. |
aId | The signals ID, for example "mtsics" or "bit650". |
|
static |
Get list of all signals plugins available for usage.
aDatastore | The datastore to use. |
|
pure virtual |
|
pure virtual |