pump.h File Reference

(r1785/r751)

#include "ccobject.h"
#include "listitem.h"
#include "list.h"
#include "msg.h"
#include "selmsg.h"
#include "docvmsg.h"
#include "barmsg.h"
#include "docmsgs.h"

Go to the source code of this file.

Classes

class  MessageHandler
 If a system object must respond to system messages then its class should be derived from the abstract MessageHandler class. When a MessageHandler is constructed it gets added to a list of MessageHandlers which are all targets of system messages. To send a message to all or just a subset of MessageHandlers, you should use the static Broadcast method. The virtual 'Message' function is called whenever the MessageHandler is sent a message. More...
class  MessageHandlerList
 A MessageHandlerList contains a List of MessageHandler objects derived from the same runtime class. More...

Enumerations

enum  MsgResult { FAIL = 0, OK, EAT_MSG }


Enumeration Type Documentation

enum MsgResult
 

Enumerator:
FAIL 
OK 
EAT_MSG 

Definition at line 121 of file pump.h.

00122 { 
00123     FAIL = 0,   // Something terrible happened whilst processing the message
00124                 // eg. we run out of memory 
00125     OK,         // Message handled ok
00126     EAT_MSG     // The Message was handled ok but don't send it to any
00127                 // more MessageHandlers. 
00128 };


Generated on Sat Nov 10 03:49:19 2007 for Camelot by  doxygen 1.4.4