![]() |
stec-platform
|
The Retain class this retains data from a subscription, generally used for setup data so subscriptions can retain data though a restart or power off on sequence. More...
#include <retain.h>
Public Member Functions | |
| Retain (QObject *parent=nullptr) | |
| Retain. More... | |
| virtual QString | MangledKey (QString subscriber) |
| a name that can be used if // or . are in it | |
| virtual QString | MangledKeyType (QString subscriber) |
| a key that can be used if // or . are in it | |
| virtual bool | ReadValues (Subscription *subscriber) |
| reads the last saved values of a subscriber | |
| virtual bool | ReadValues (QString name, VremVArray &i1) |
| reads the last saved values of a subscriber | |
| virtual bool | RemoveTracking (Subscription *subscriber) |
| stops the tracking of data changes for a subscriber | |
| virtual bool | TrackValues (Subscription *subscriber) |
| tracks the values of a subscriber | |
| virtual void | WriteValues (Subscription *subscriber) |
| method for writing | |
| virtual void | WriteValues (QString name, const VremVArray i1) |
Static Public Member Functions | |
| static QVariantList | ConvertToQVariantList (const VremVArray &varray) |
| static VremVArray | ConvertToVremVAarray (QVariantList &lst) |
The Retain class this retains data from a subscription, generally used for setup data so subscriptions can retain data though a restart or power off on sequence.
this is a base class and should be inherited if sql or ini or what ever means are used to save subscriber data for the next time used