Skip to content

ThreadingWrapper

Graydon edited this page Mar 21, 2017 · 5 revisions

public class ThreadingWrapper

Implements: IThreading

Fields

private SimulationManager m_simulationManager
private List<IThreadingExtension> m_ThreadingExtensions

Properties

public IManagers managers { get; }
public DateTime renderTime { get; }
public uint renderFrame { get; }
public float renderFrameOffset { get; }
public DateTime simulationTime { get; }
public uint simulationFrame { get; }
public uint simulationTick { get; }
public bool simulationPaused { get; set; }
public int simulationSpeed { get; set; }
public TimeSpan timePerFrame { get; }

Constructors

public ThreadingWrapper(SimulationManager simulationManager)

Methods

private void GetImplementations()
public void Release()
private void OnThreadingExtensionsCreated()
private void OnThreadingExtensionsReleased()
public void OnUpdate(float realTimeDelta, float simulationTimeDelta)
public void OnBeforeSimulationTick()
public void OnBeforeSimulationFrame()
public void OnAfterSimulationFrame()
public void OnAfterSimulationTick()
public void QueueMainThread(Action action)
public void QueueSimulationThread(Action action)

Clone this wiki locally