Plasma Engine  2.0
Loading...
Searching...
No Matches
plAbstractMessageHandler Class Reference

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

#include <MessageHandler.h>

Inheritance diagram for plAbstractMessageHandler:

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
 

Detailed Description

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


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