![]() |
XII Release 0.1.0
|
The base class for all message handlers that a type provides. More...
#include <MessageHandler.h>
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 | |
The base class for all message handlers that a type provides.