![]() |
stec-platform
|
The SqlSubscriber class. More...
#include <sqlsubscriber.h>
Public Slots | |
| void | SlotNewClass (QString className, bool valid) |
Public Member Functions | |
| SqlSubscriber (QString name, QObject *parent=nullptr) | |
| uses the generic database provided by cloud.. | |
| SqlSubscriber (QString name, SQLBase *dbase, QObject *parent=nullptr) | |
| uses the database created by the plugin which could be many.. | |
| virtual void | UserEventOccured (qint16 index, qint16 count, QVariant src) |
| user event from src | |
| QString | GetTriggerText () |
Public Member Functions inherited from Subscription | |
| Subscription (QString name, QObject *parent=nullptr) | |
| Subscription. More... | |
| virtual | ~Subscription () |
| deconstructor | |
| virtual MemoryHeap & | getMemoryHeap () |
| where the data is stored More... | |
| virtual int | getSize () |
| number of elements in the array stored already | |
| virtual Publication * | getPublication (void) |
| this returns a pointer to the cloud publication for this subsciber | |
| virtual void | PeerConnect () |
| called is peer connect | |
| virtual void | setUserData (QVariant UserInfo) |
| virtual QVariant | userData () |
| gets the user data, if set, for this subscription | |
| virtual void | UserResetEventOccured (qint16 count, QVariant src) |
| reset event | |
| virtual void | ResetArray (const VremVArray values, QVariant src="local") |
| force complete new data and size for this subscription | |
| virtual void | Update (const QVariant value, int index=0, QVariant src="local") |
| update data | |
| virtual void | Update (const VremVArray values, int index=0, QVariant src="local") |
| update data | |
| virtual bool | isResident () |
| returns true if resident subscription | |
| virtual bool | isOwner () |
| return true if owner of data | |
| virtual void | Update (const VremList values, int index=0, QVariant src="local") |
| update data | |
| void | SetPublisherProperty (QVariant property) |
| set the property of the data, if owner is set | |
| QVariant | GetPublisherPropery (void) |
| get the publisher of the property | |
| void | SetPublisherPropertyDescription (QString desc) |
| set the description of the publisher if owner is set | |
| QString | GetPublisherProperyDescription (void) |
| gets the description as set by the real owner | |
| virtual void | Update (const QStringList values, int index=0, QVariant src="local") |
| update data | |
| virtual VremVArray | RequestValues (int index=0, int count=1) |
| get the data for this subscription | |
| virtual QVariant | getSnglValue (int index=0) |
| gets just one element of the data | |
| virtual VremVArray | RequestAllValues (int index=0) |
| request all the data the subsciber has | |
| virtual void | Repeat (QVariant v, int count, int index=0) |
| repeat data into subscriber | |
| QString const | text (void) |
| returns the name of the subscription | |
| void | ForceGlobal (void) |
| void | RemoveGlobal (void) |
Protected Attributes | |
| PublicationRegistration * | cloud |
Additional Inherited Members | |
Public Types inherited from Subscription | |
| enum | StorageType { EventOnly = 0 , CacheData = 1 } |
Signals inherited from Subscription | |
| void | SignalEventDataReset (qint16 count, QVariant src) |
| void | SignalEventOccured (qint16 index, qint16 count, QVariant src) |
| void | SignalEventIamTheLastSubscription () |
| void | SignalNamedEventOccured (QString name, qint16 index, qint16 count, QVariant src) |
| void | SignalUserDataEventOccured (QVariant udata, qint16 index, qint16 count, QVariant src) |
The SqlSubscriber class.
$LastChangedDate: $ $LastChangedBy: $
$URL: $
19
*** 2014<c> ***