MercuryMessages.h File Reference

#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

MercuryMessageManagerMESSAGEMAN
 Instantiation of MessageManager.


Define Documentation

#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.


Function Documentation

void* AutoUpdateMessages ( void *  data  ) 

Function that the MESSAGEMAN thread runs.

Definition at line 13 of file MercuryMessages.cpp.

void HGEXPORT BroadcastPreExisting ( const char *  sMessageName,
int  iMPStack 
)

Definition at line 179 of file MercuryMessages.cpp.


Variable Documentation

MercuryMessageManager* MESSAGEMAN

Instantiation of MessageManager.

Definition at line 9 of file MercuryMessages.cpp.


Hosted by SourceForge.net Logo