Navigation
API > API/Runtime > API/Runtime/Chaos
Instance event handler
| Name | TRawEventHandler |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/EventManager.h |
| Include Path | #include "EventManager.h" |
Syntax
template<typename PayloadType, typename HandlerType>
class TRawEventHandler : public Chaos::IEventHandler
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TRawEventHandler
(
HandlerType* InHandler, |
EventManager.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FHandlerFunction | void(HandlerType::*) | EventManager.h | |
| FInterestedProxyOwnerFunction | TArray< UObject * >(HandlerType::*) | EventManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Handler | HandlerType * | EventManager.h | ||
| HandlerFunction | FHandlerFunction | EventManager.h | ||
| InterestedProxyOwnersFunction | FInterestedProxyOwnerFunction | This function is used to get the proxies we are interested in, used for optimization Will be a nullptr if the handler is interested in all proxies | EventManager.h |
Functions
Public
Overridden from IEventHandler
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void * GetHandler() |
EventManager.h | ||
| EventManager.h | |||
virtual void HandleEvent
(
const void* EventData |
EventManager.h |