stec-platform
Publication Class Reference

The Publication class this is only used by the cloud, users should never use this class. This is the base connection for all subscribers with the same name in a cloud instance. More...

#include <publication.h>

Inheritance diagram for Publication:
Collaboration diagram for Publication:

Public Slots

void setProperty (QVariant p)
 

Signals

void SignalPropertyChanged ()
 
void SignalNoMoreConnections (QString name)
 
void SignalHasSubscriberConnectedEvent (int connections)
 
void SignalPeerConnect ()
 
- Signals inherited from MemoryAtom
void SignalUpdateHasOccured (qint16 index, qint16 count, QVariant srcOfUpdate)
 
void SignalDataResetHasOccured (qint16 count, QVariant srcOfUpdate)
 

Public Member Functions

 Publication (QString Name, QObject *parent=0)
 Publication. More...
 
const QString getName ()
 getName More...
 
const QVariant getProperty ()
 getProperty More...
 
int getNbrSubscribers ()
 getNbrSubscribers More...
 
void PeerConnected ()
 PeerConnected.
 
virtual void connectNotify (const QMetaMethod &signal)
 connectNotify when a subscriber connects More...
 
virtual void disconnectNotify (const QMetaMethod &signal)
 disconnectNotify when a connected subscriber goes away More...
 
- Public Member Functions inherited from MemoryAtom
 MemoryAtom (QObject *parent=0)
 constructor
 
VremVArray getArray ()
 gets the entire array of data
 
VremVArray getArray (int index, int count)
 gets the array based on index and count
 
int insertVariant (int index, QVariant i1, QVariant src="local")
 insertVariant More...
 
int insertArray (int index, const VremVArray &i1, QVariant src="local")
 insertArray More...
 
void resetArray (const VremVArray &i1, QVariant src="local")
 resetArray More...
 
void clear (QVariant src="local")
 clear More...
 
int getSize (void)
 returns the size of a memory atom
 
MemoryAtomoperator= (MemoryAtom &i1)
 simple operators
 
MemoryAtomoperator= (VremVArray &i1)
 simple operator
 

Additional Inherited Members

- Protected Attributes inherited from MemoryAtom
MemoryHeap storeRoom
 

Detailed Description

The Publication class this is only used by the cloud, users should never use this class. This is the base connection for all subscribers with the same name in a cloud instance.

Constructor & Destructor Documentation

◆ Publication()

Publication::Publication ( QString  Name,
QObject parent = 0 
)
explicit

Publication.

Parameters
Name
parent

Member Function Documentation

◆ connectNotify()

void Publication::connectNotify ( const QMetaMethod &  signal)
virtual

connectNotify when a subscriber connects

Parameters
signal

◆ disconnectNotify()

void Publication::disconnectNotify ( const QMetaMethod &  signal)
virtual

disconnectNotify when a connected subscriber goes away

Parameters
signal

◆ getName()

const QString Publication::getName ( )
inline

getName

Returns

◆ getNbrSubscribers()

int Publication::getNbrSubscribers ( )
inline

getNbrSubscribers

Returns
number of subscribers using this plublication

◆ getProperty()

const QVariant Publication::getProperty ( )
inline

getProperty

Returns

The documentation for this class was generated from the following files: