![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EventManager.h>
Inheritance diagram for Chaos::TEventContainer< PayloadType >:Public Member Functions | |
| TEventContainer (const Chaos::EMultiBufferMode &BufferMode, TFunction< void(const FPBDRigidsSolver *Solver, PayloadType &EventDataInOut, bool bResetData)> InFunction) | |
| TEventContainer (TEventContainer< PayloadType > &Other) | |
| ~TEventContainer () | |
| virtual void | RegisterHandler (const FEventHandlerPtr &Handler) |
| virtual void | UnregisterHandler (const void *InHandler) |
| virtual void | InjectProducerData (const FPBDRigidsSolver *Solver, bool bResetData) |
| virtual void | DestroyStaleEvents (TFunction< void(PayloadType &EventDataInOut)> InFunction) |
| virtual void | AddEvent (TFunction< void(PayloadType &EventDataInOut)> InFunction) |
| virtual void | FlipBufferIfRequired () |
| virtual void | ResetConsumerBuffer () |
| virtual void | DispatchConsumerData () |
Public Member Functions inherited from Chaos::FEventContainerBase | |
| virtual | ~FEventContainerBase () |
Class that owns the injected producer function and its associated data buffer
|
inline |
Regular constructor
|
inline |
Copy constructor
|
inline |
Destructor cleans up memory
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Dispatch events to the registered handlers
Implements Chaos::FEventContainerBase.
|
inlinevirtual |
Flips the buffer if the buffer type is double or triple
Implements Chaos::FEventContainerBase.
|
inlinevirtual |
Implements Chaos::FEventContainerBase.
|
inlinevirtual |
Register the delegate function that will handle the events on the game thread
Implements Chaos::FEventContainerBase.
|
inlinevirtual |
Reset the consumer buffer, can be used just before flipping buffers to start with a clean buffer
Implements Chaos::FEventContainerBase.
|
inlinevirtual |
Unregister the delegate function that handles the events on the game thread
Implements Chaos::FEventContainerBase.