Navigation
API > API/Runtime > API/Runtime/Chaos
Interface for the injected producer function and associated data buffer
| Name | FEventContainerBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/EventManager.h |
| Include Path | #include "EventManager.h" |
Syntax
class FEventContainerBase
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FEventContainerBase() |
EventManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DispatchConsumerData() |
Dispatch events to the registered handlers | EventManager.h | |
void FlipBufferIfRequired() |
Flips the buffer if the buffer type is double or triple | EventManager.h | |
void InjectProducerData
(
const FPBDRigidsSolver* Solver, |
Inject data from the physics solver into the producer side of the buffer | EventManager.h | |
void RegisterHandler
(
const FEventHandlerPtr& Handler |
Register the delegate function that will handle the events on the game thread | EventManager.h | |
void ResetConsumerBuffer() |
Reset the consumer buffer, can be used just before flipping buffers to start with a clean buffer | EventManager.h | |
void UnregisterHandler
(
const void* Handler |
Unregister the delegate function that handles the events on the game thread | EventManager.h |