TSimCallbackObject

Simple templated implementation that uses lock free queues to manage memory

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/SimCallbackObject.h

Include

#include "Chaos/SimCallbackObject.h"

Syntax

template<typename TInputType, typename TOutputType>
class TSimCallbackObject : public Chaos::ISimCallbackObject

Remarks

Simple templated implementation that uses lock free queues to manage memory

Constructors

Name Description

Public function

TSimCallbackObject()

Functions

Name Description

Public function Const

const TInput...

 

GetConsumerInput_Internal()

Get the input associated with the current sim step.

Public function

TInputType &...

 

GetProducerInputData_External()

Gets the current producer input data. This is what the external thread should be writing to

Public function

TOutputType ...

 

GetProducerOutputData_Internal()

Gets the current producer output data.

Public function

TSimCallback...

 

PopFutureOutputData_External()

Pop up to the latest output, even if it is in the future.

Public function

TSimCallback...

 

PopOutputData_External()

Gets the output data produced in order up to and including SimTime.

Overridden from ISimCallbackObject

Name Description

Public function Virtual

void

 

FreeOutputData_External

(
    FSimCallbackOutput* Output
)

Free the output data.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss