TC::MT::MessageDispatcher Class Reference

ObjectClass dispatches incomming messages to registered callback functions. More...

#include <TCMTMessageDispatcher.h>

Inheritance diagram for TC::MT::MessageDispatcher:

Inheritance graph
Collaboration diagram for TC::MT::MessageDispatcher:

Collaboration graph

List of all members.


class  CallBack

Public Types

typedef SharedPtr< CallBackCallBackPtr

Public Member Functions

virtual void RegisterMessageCallback (uint32 id, CallBackPtr call_back)=0
template<class MessageClass , class ObjectClass , typename CallBackMethod >
void RegisterMessageCallback (uint32 id, SharedPtr< ObjectClass > class_instance, CallBackMethod call_back)
virtual bool DispatchMessage (MessagePtr message)=0
virtual ~MessageDispatcher ()

Detailed Description

ObjectClass dispatches incomming messages to registered callback functions.

Definition at line 60 of file TCMTMessageDispatcher.h.

Member Typedef Documentation

Definition at line 69 of file TCMTMessageDispatcher.h.

Constructor & Destructor Documentation

virtual TC::MT::MessageDispatcher::~MessageDispatcher (  )  [inline, virtual]

Definition at line 79 of file TCMTMessageDispatcher.h.

Member Function Documentation

virtual void TC::MT::MessageDispatcher::RegisterMessageCallback ( uint32  id,
CallBackPtr  call_back 
) [pure virtual]

Referenced by RegisterMessageCallback().

Here is the caller graph for this function:

virtual bool TC::MT::MessageDispatcher::DispatchMessage ( MessagePtr  message  )  [pure virtual]

The documentation for this class was generated from the following file:

Copyright (c) Thomas Goessler 2003 - 2008