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