#include <QByteArray>
#include <QList>
#include <QMap>
#include <QVariant>
#include <QString>
#include <QStringList>
#include <QHash>
#include <QThread>
#include <QThreadPool>
#include <QObject>
#include <QDebug>
#include "org_commontk_eventbus_Export.h"
Go to the source code of this file.
|
#define | ctkEventArgument(type, data) QArgument<type >(#type, data) |
|
#define | ctkEventReturnArgument(type, data) QReturnArgument<type >(#type, data) |
|
#define | ctkGenericReturnArgument QGenericReturnArgument |
|
#define | ctkRegisterLocalCallback(topic, observer, signature) |
|
#define | ctkRegisterLocalSignal(topic, sender, signature) |
|
#define | ctkRegisterRemoteCallback(topic, sender, signature) |
|
#define | ctkRegisterRemoteSignal(topic, sender, signature) |
|
#define | OBJECT "ObjectPointer" |
|
#define | SIGNATURE "Signature" |
|
#define | SIGTYPE "SignatureType" |
|
#define | TOPIC "event.topics" |
|
#define | TYPE "EventType" |
|
#define ctkEventArgument |
( |
|
type, |
|
|
|
data |
|
) |
| QArgument<type >(#type, data) |
#define ctkEventReturnArgument |
( |
|
type, |
|
|
|
data |
|
) |
| QReturnArgument<type >(#type, data) |
#define ctkGenericReturnArgument QGenericReturnArgument |
#define ctkRegisterLocalCallback |
( |
|
topic, |
|
|
|
observer, |
|
|
|
signature |
|
) |
| |
Value:{\
if(!ok) {\
qWarning("%s", tr("Some problem occourred during the callback registration with ID '%1'.").arg(topic).toLatin1().data());\
if(properties) {delete properties; properties = NULL;} \
}\
}
bool addEventProperty(ctkBusEvent &props) const
Add a new event property (observer or event) to the event bus hash.
static ctkEventBusManager * instance()
Return an instance of the event bus.
Definition at line 60 of file ctkEventDefinitions.h.
#define ctkRegisterLocalSignal |
( |
|
topic, |
|
|
|
sender, |
|
|
|
signature |
|
) |
| |
Value:{\
if(!ok) {\
qWarning("%s", tr("Some problem occourred during the signal registration with ID '%1'.").arg(topic).toLatin1().data());\
if(properties) {delete properties; properties = NULL;} \
}\
}
bool addEventProperty(ctkBusEvent &props) const
Add a new event property (observer or event) to the event bus hash.
static ctkEventBusManager * instance()
Return an instance of the event bus.
Definition at line 40 of file ctkEventDefinitions.h.
#define ctkRegisterRemoteCallback |
( |
|
topic, |
|
|
|
sender, |
|
|
|
signature |
|
) |
| |
Value:{\
if(!ok) {\
qWarning("%s", tr("Some problem occourred during the callback registration with ID '%1'.").arg(topic).toLatin1().data());\
if(properties) {delete properties; properties = NULL;} \
}\
}
bool addEventProperty(ctkBusEvent &props) const
Add a new event property (observer or event) to the event bus hash.
static ctkEventBusManager * instance()
Return an instance of the event bus.
Definition at line 70 of file ctkEventDefinitions.h.
#define ctkRegisterRemoteSignal |
( |
|
topic, |
|
|
|
sender, |
|
|
|
signature |
|
) |
| |
Value:{\
if(!ok) {\
qWarning("%s", tr("Some problem occourred during the signal registration with ID '%1'.").arg(topic).toLatin1().data());\
if(properties) {delete properties; properties = NULL;} \
}\
}
bool addEventProperty(ctkBusEvent &props) const
Add a new event property (observer or event) to the event bus hash.
static ctkEventBusManager * instance()
Return an instance of the event bus.
Definition at line 50 of file ctkEventDefinitions.h.
#define OBJECT "ObjectPointer" |
#define SIGNATURE "Signature" |
#define SIGTYPE "SignatureType" |
#define TOPIC "event.topics" |