Nebula
Loading...
Searching...
No Matches
messagecallbackhandler.h File Reference
#include "messaging/message.h"
#include "util/dictionary.h"
#include "util/delegate.h"
#include "core/ptr.h"

Go to the source code of this file.

Classes

class  Messaging::MessageCallbackHandler
 Handles asynchronous message callbacks. More...
 

Namespaces

namespace  Messaging
 

Macros

#define __SingleFireCallback(CLASS, METHOD, OBJ, MSG)
 Define macro which sets up a single-fire callback.
 
#define __AbortSingleFireCallback(MSG)
 
#define __AbortSingleFireCallbacks(CLASS, OBJ)
 

Macro Definition Documentation

◆ __AbortSingleFireCallback

#define __AbortSingleFireCallback ( MSG)
Value:
static void AbortCallback(const Ptr< Messaging::Message > &msg)
remove a single message callback
Definition messagecallbackhandler.cc:47

◆ __AbortSingleFireCallbacks

#define __AbortSingleFireCallbacks ( CLASS,
OBJ )
Value:
static void AbortCallbacks(CLASS *obj)
remove all message callbacks related to a class
Definition messagecallbackhandler.h:53

◆ __SingleFireCallback

#define __SingleFireCallback ( CLASS,
METHOD,
OBJ,
MSG )
Value:
static void AddCallback(const Ptr< Messaging::Message > &msg, CLASS *obj)
setup a message callback
Definition messagecallbackhandler.h:75

Define macro which sets up a single-fire callback.