![]() |
Plasma Engine
2.0
|
The base class for all message handlers that a type provides. More...
#include <MessageHandler.h>
Public Member Functions | |
PL_ALWAYS_INLINE void | operator() (void *pInstance, plMessage &ref_msg) |
PL_FORCE_INLINE void | operator() (const void *pInstance, plMessage &ref_msg) |
PL_ALWAYS_INLINE plMessageId | GetMessageId () const |
PL_ALWAYS_INLINE bool | IsConst () const |
Protected Types | |
using | DispatchFunc = void (*)(plAbstractMessageHandler* pSelf, void* pInstance, plMessage&) |
using | ConstDispatchFunc = void (*)(plAbstractMessageHandler* pSelf, const void* pInstance, plMessage&) |
Protected Attributes | ||
union { | ||
DispatchFunc m_DispatchFunc = nullptr | ||
ConstDispatchFunc m_ConstDispatchFunc | ||
}; | ||
plMessageId | m_Id = plSmallInvalidIndex | |
bool | m_bIsConst = false | |
The base class for all message handlers that a type provides.