#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" |
|
◆ ctkEventArgument
#define ctkEventArgument |
( |
|
type, |
|
|
|
data |
|
) |
| QArgument<type >(#type, data) |
◆ ctkEventReturnArgument
#define ctkEventReturnArgument |
( |
|
type, |
|
|
|
data |
|
) |
| QReturnArgument<type >(#type, data) |
◆ ctkGenericReturnArgument
#define ctkGenericReturnArgument QGenericReturnArgument |
◆ ctkRegisterLocalCallback
#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.
@ ctkSignatureTypeCallback
Definition at line 60 of file ctkEventDefinitions.h.
◆ ctkRegisterLocalSignal
#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;} \
}\
}
Definition at line 40 of file ctkEventDefinitions.h.
◆ ctkRegisterRemoteCallback
#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;} \
}\
}
Definition at line 70 of file ctkEventDefinitions.h.
◆ ctkRegisterRemoteSignal
#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;} \
}\
}
Definition at line 50 of file ctkEventDefinitions.h.
◆ OBJECT
#define OBJECT "ObjectPointer" |
◆ SIGNATURE
#define SIGNATURE "Signature" |
◆ SIGTYPE
#define SIGTYPE "SignatureType" |
◆ TOPIC
#define TOPIC "event.topics" |
◆ TYPE
◆ Q_DECLARE_METATYPE() [1/2]
◆ Q_DECLARE_METATYPE() [2/2]