| ISimCallbackObject
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/SimCallbackObject.h |
Include |
#include "Chaos/SimCallbackObject.h" |
template<typename TInputType, typename TOutputType>
class TSimCallbackObject : public Chaos::ISimCallbackObject
Simple templated implementation that uses lock free queues to manage memory
Name | Description | |
---|---|---|
|
TSimCallbackObject() |
Name | Description | ||
---|---|---|---|
|
const TInput... |
GetConsumerInput_Internal() |
Get the input associated with the current sim step. |
|
TInputType &... |
GetProducerInputData_External() |
Gets the current producer input data. This is what the external thread should be writing to |
|
TOutputType ... |
GetProducerOutputData_Internal() |
Gets the current producer output data. |
|
TSimCallback... |
PopFutureOutputData_External() |
Pop up to the latest output, even if it is in the future. |
|
TSimCallback... |
PopOutputData_External() |
Gets the output data produced in order up to and including SimTime. |
Name | Description | ||
---|---|---|---|
|
FreeOutputData_External ( |
Free the output data. |