Messaging::StaticMessageHandler Class Reference
#include <staticmessagehandler.h>
Detailed Description
Implements a simple, static message handler helper class. This separates the tedious message handling code into a separate class, so that the main class doesn't have to be polluted with message handling code.(C) 2010 Radon Labs GmbH
Static Public Member Functions | |
template<class OBJTYPE> | |
static void | Dispatch (const Ptr< OBJTYPE > &object, const Ptr< Message > &msg) |
dispatch a message to handling method | |
template<class OBJTYPE, class MSGTYPE> | |
static void | Handle (const Ptr< OBJTYPE > &object, const Ptr< MSGTYPE > &msg) |
a handler method with object association | |
template<class MSGTYPE> | |
static void | Handle (const Ptr< MSGTYPE > &msg) |
a handler method without object association |