#include "global.h"
#include <map>
#include "MercuryCommands.h"
#include "MercuryThreads.h"
#include "MercuryCallback.h"
#include "MercuryVector.h"
#include "MHeap.h"
#include <queue>
Go to the source code of this file.
Classes | |
class | MercuryMessageManager |
Message Manager (accessable via MESSAGEMAN.). More... | |
struct | MercuryMessageManager::PostData |
class | MercuryMessageSubscription |
Subscription for messages. More... | |
struct | MercuryMessageObjectData |
[Internal] ObjectData for receiving messages More... | |
struct | MercuryMessageObjectSubscription |
[internal] Subscription for objects to messages More... | |
class | MercuryMessageHandler |
Multipurpose message transport system. More... | |
Defines | |
#define | REGISTER_STATEMENT_TO_MESSAGE(type, message, code) |
Functions | |
void * | AutoUpdateMessages (void *data) |
Function that the MESSAGEMAN thread runs. | |
void HGEXPORT | BroadcastPreExisting (const char *sMessageName, int iMPStack) |
Variables | |
MercuryMessageManager * | MESSAGEMAN |
Instantiation of MessageManager. |
#define REGISTER_STATEMENT_TO_MESSAGE | ( | type, | |||
message, | |||||
code | ) |
Value:
void stregister_##type( const MString &message, void * info, PStack & args ) \ { \ code \ } \ MercuryMessageSubscription sub##type( #message, MercuryCallback( stregister_##type, 0 ) );
Definition at line 140 of file MercuryMessages.h.
void* AutoUpdateMessages | ( | void * | data | ) |
void HGEXPORT BroadcastPreExisting | ( | const char * | sMessageName, | |
int | iMPStack | |||
) |
Definition at line 179 of file MercuryMessages.cpp.