XII Release 0.1.0
Loading...
Searching...
No Matches
xiiAbstractMessageHandler Class Reference

The base class for all message handlers that a type provides. More...

#include <MessageHandler.h>

Inheritance diagram for xiiAbstractMessageHandler:
[legend]

Public Member Functions

XII_ALWAYS_INLINE void operator() (void *pInstance, xiiMessage &ref_msg)
 
XII_FORCE_INLINE void operator() (const void *pInstance, xiiMessage &ref_msg)
 
XII_ALWAYS_INLINE xiiMessageId GetMessageId () const
 
XII_ALWAYS_INLINE bool IsConst () const
 

Protected Types

using DispatchFunc = void (*)(xiiAbstractMessageHandler* pSelf, void* pInstance, xiiMessage&)
 
using ConstDispatchFunc = void (*)(xiiAbstractMessageHandler* pSelf, const void* pInstance, xiiMessage&)
 

Protected Attributes

union { 
 
   DispatchFunc   m_DispatchFunc = nullptr 
 
   ConstDispatchFunc   m_ConstDispatchFunc 
 
};  
 
xiiMessageId m_Id = xiiSmallInvalidIndex
 
bool m_bIsConst = false
 

Detailed Description

The base class for all message handlers that a type provides.


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