| IEventContainer
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/ChaosSolvers/Public/EventManager.h |
Include |
#include "EventManager.h" |
template<typename PayloadType>
class TEventContainer : public Chaos::IEventContainer
Class that owns the injected producer function and its associated data buffer
Name | Description | |
---|---|---|
|
TEventContainer ( |
Copy constructor |
|
TEventContainer ( |
Regular constructor |
Name | Description | |
---|---|---|
|
~TEventContainer() |
Destructor cleans up memory |
Name | Description | ||
---|---|---|---|
|
DestroyStaleEvents |
Name | Description | ||
---|---|---|---|
|
DispatchConsumerData() |
Dispatch events to the registered handlers |
|
|
FlipBufferIfRequired() |
Flips the buffer if the buffer type is double or triple |
|
|
InjectProducerData ( |
Inject data from the physics solver into the producer side of the buffer |
|
|
RegisterHandler ( |
Register the delegate function that will handle the events on the game thread |
|
|
UnregisterHandler ( |
Unregister the delegate function that handles the events on the game thread |