![]() |
ezEngine
Release 25.03
|
The base class for all message handlers that a type provides. More...
#include <MessageHandler.h>
Public Member Functions | |
EZ_ALWAYS_INLINE void | operator() (void *pInstance, ezMessage &ref_msg) |
EZ_FORCE_INLINE void | operator() (const void *pInstance, ezMessage &ref_msg) |
EZ_ALWAYS_INLINE ezMessageId | GetMessageId () const |
EZ_ALWAYS_INLINE bool | IsConst () const |
Protected Types | |
using | DispatchFunc = void(*)(ezAbstractMessageHandler *pSelf, void *pInstance, ezMessage &) |
using | ConstDispatchFunc = void(*)(ezAbstractMessageHandler *pSelf, const void *pInstance, ezMessage &) |
Protected Attributes | |
union { | |
DispatchFunc m_DispatchFunc = nullptr | |
ConstDispatchFunc m_ConstDispatchFunc | |
}; | |
ezMessageId | m_Id = ezSmallInvalidIndex |
bool | m_bIsConst = false |
The base class for all message handlers that a type provides.