engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
Chaos::FChaosMarshallingManager类 参考

Manages data that gets marshaled from GT to PT using a timestamp 更多...

#include <ChaosMarshallingManager.h>

Public 成员函数

void FreeCallbackData_Internal (FSimCallbackHandlePT *Callback)
 Frees the callback push data back into the pool. 更多...
 
void FreeData_Internal (FPushPhysicsData *PushData)
 Frees the push data back into the pool. 更多...
 
FReal GetExternalTime_External () const
 Returns the amount of external time pushed so far. 更多...
 
int32 GetExternalTimestamp_External () const
 Returns the timestamp associated with inputs enqueued.
 
int32 GetExternalTimestampConsumed_External () const
 Returns the timestamp associated with inputs consumed. 更多...
 
FPushPhysicsData * GetProducerData_External ()
 Grabs the producer data to write into. 更多...
 
void SetTickDelay_External (int32 InDelay)
 Used to delay marshalled data. 更多...
 
void Step_External (FReal ExternalDT)
 Step forward using the external delta time. 更多...
 
TArray< FPushPhysicsData * > StepInternalTime_External (FReal InternalDt)
 Step the internal time forward and get any push data associated with the time. 更多...
 

详细描述

Manages data that gets marshaled from GT to PT using a timestamp

成员函数说明

◆ FreeCallbackData_Internal()

void Chaos::FChaosMarshallingManager::FreeCallbackData_Internal ( FSimCallbackHandlePT *  Callback)

Frees the callback push data back into the pool.

Internal thread should call this when callback will no longer be used with this specific data

◆ FreeData_Internal()

void Chaos::FChaosMarshallingManager::FreeData_Internal ( FPushPhysicsData *  PushData)

Frees the push data back into the pool.

Internal thread should call this when finished processing data

◆ GetExternalTime_External()

FReal Chaos::FChaosMarshallingManager::GetExternalTime_External ( ) const
inline

Returns the amount of external time pushed so far.

Any external commands or events should be associated with this time

◆ GetExternalTimestampConsumed_External()

int32 Chaos::FChaosMarshallingManager::GetExternalTimestampConsumed_External ( ) const
inline

Returns the timestamp associated with inputs consumed.

Note the simulation may be pending, but any data associated with timestamp <= returned value has been passed

◆ GetProducerData_External()

FPushPhysicsData * Chaos::FChaosMarshallingManager::GetProducerData_External ( )
inline

Grabs the producer data to write into.

Should only be called by external thread

◆ SetTickDelay_External()

void Chaos::FChaosMarshallingManager::SetTickDelay_External ( int32  InDelay)
inline

Used to delay marshalled data.

This is mainly used for testing at the moment

◆ Step_External()

void Chaos::FChaosMarshallingManager::Step_External ( FReal  ExternalDT)

Step forward using the external delta time.

Should only be called by external thread

◆ StepInternalTime_External()

TArray< FPushPhysicsData * > Chaos::FChaosMarshallingManager::StepInternalTime_External ( FReal  InternalDt)

Step the internal time forward and get any push data associated with the time.

Should only be called by external thread


该类的文档由以下文件生成: