Classes | Namespaces | Defines
OpProcessor.h File Reference

Classes

class  Tonido::Util::OpProcessor< TObj >
 Processes incoming messages and then calls the appropriate function. More...

Namespaces

namespace  Tonido::Util
 

Generally useful Utility functions.


Defines

#define DECLARE_BOOTMESSAGE_MAP(CLASS)   Util::OpProcessor<CLASS> m_opProcessor;
 Some Usefule Macros.
#define DECLARE_BOOTMESSAGE_HANDLER(FN)
#define BEGIN_BOOTMESSAGE_MAP
#define ON_BOOTMESSAGE(OPERATIONSTR, CLASS, FN)
#define END_BOOTMESSAGE_MAP
#define PROCESS_BOOTMESSAGE(X)   m_opProcessor.processOperation(X)
#define PROCESS_BOOTMESSAGE_IGNORENOTFOUND(X)   m_opProcessor.processOperation(X, true)

Detailed Description


Define Documentation

#define DECLARE_BOOTMESSAGE_HANDLER (   FN)
Value:
void FN(const void* pSender, \
            Tonido::Data::Message::SharedPtr& args); \
#define ON_BOOTMESSAGE (   OPERATIONSTR,
  CLASS,
  FN 
)
Value:
m_opProcessor.registerOperation(OPERATIONSTR, \
        Tonido::Util::OpProcessor<CLASS>::ProcessDelegate(this, &CLASS::FN)); \

Generated on Wed Oct 12 2011 21:46:51. © CodeLathe LLC 2007-2011. All Rights Reserved.