ezEngine  Release 25.03
ezAbstractMessageHandler Class Reference

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

#include <MessageHandler.h>

Inheritance diagram for ezAbstractMessageHandler:

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
 

Detailed Description

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


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