XII Release 0.1.0
Loading...
Searching...
No Matches
xiiScriptCoroutineMessageHandler Class Reference

A message handler that creates an instance of the given coroutine type and starts it immediately. More...

#include <ScriptCoroutine.h>

Inheritance diagram for xiiScriptCoroutineMessageHandler:
[legend]

Public Member Functions

 xiiScriptCoroutineMessageHandler (xiiStringView sName, const xiiScriptMessageDesc &desc, const xiiSharedPtr< xiiScriptCoroutineRTTI > &pType, xiiScriptCoroutineCreationMode::Enum creationMode)
 
- Public Member Functions inherited from xiiScriptMessageHandler
 xiiScriptMessageHandler (const xiiScriptMessageDesc &desc)
 
void FillMessagePropertyValues (const xiiMessage &msg, xiiDynamicArray< xiiVariant > &out_propertyValues)
 
- Public Member Functions inherited from xiiAbstractMessageHandler
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
 

Static Public Member Functions

static void Dispatch (xiiAbstractMessageHandler *pSelf, void *pInstance, xiiMessage &ref_msg)
 

Protected Attributes

xiiHashedString m_sName
 
xiiSharedPtr< xiiScriptCoroutineRTTIm_pType
 
xiiEnum< xiiScriptCoroutineCreationModem_CreationMode
 
- Protected Attributes inherited from xiiAbstractMessageHandler
union { 
 
   DispatchFunc   m_DispatchFunc = nullptr 
 
   ConstDispatchFunc   m_ConstDispatchFunc 
 
};  
 
xiiMessageId m_Id = xiiSmallInvalidIndex
 
bool m_bIsConst = false
 

Additional Inherited Members

- Protected Types inherited from xiiAbstractMessageHandler
using DispatchFunc = void (*)(xiiAbstractMessageHandler* pSelf, void* pInstance, xiiMessage&)
 
using ConstDispatchFunc = void (*)(xiiAbstractMessageHandler* pSelf, const void* pInstance, xiiMessage&)
 

Detailed Description

A message handler that creates an instance of the given coroutine type and starts it immediately.


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