The Quantum system base class. More...
Public Member Functions | |
SystemBase () | |
Constructor. More... | |
SystemBase (string scheduleSample) | |
Create a new instance and setting the sample name. More... | |
virtual void | OnDisabled (Frame f) |
Is called when the system was disabled for example after Frame.SystemDisable(Type). More... | |
virtual void | OnEnabled (Frame f) |
Is called when the system was enabled for example after calling Frame.SystemEnable<T>() or during QuantumGame.InitSystems(Photon.Deterministic.DeterministicFrame). More... | |
virtual void | OnInit (Frame f) |
Is called when the system is initialized. More... | |
TaskHandle | OnSchedule (Frame f, TaskHandle taskHandle) |
Creates the task graph for the system. More... | |
Protected Member Functions | |
abstract TaskHandle | Schedule (Frame f, TaskHandle taskHandle) |
Override to add tasks to this system. More... | |
Properties | |
virtual IEnumerable< SystemBase > | ChildSystems [get] |
The enumerable child systems. More... | |
IEnumerable< SystemBase > | Hierarchy [get] |
Creates the complete sub graph of child systems. More... | |
SystemBase | ParentSystem [get] |
The parent system in the system hierarchy. More... | |
Int32 | RuntimeIndex [get, set] |
A unique index assigned to identify systems at runtime. More... | |
virtual Boolean | StartEnabled [get, set] |
Set to true when the simulation should start with this system enabled. More... | |
The Quantum system base class.
Only advised for advanced uses only.
|
inline |
Constructor.
|
inline |
Create a new instance and setting the sample name.
scheduleSample | The name of the system to identify in the profiler. |
|
inlinevirtual |
Is called when the system is initialized.
f | The referenced frame. |
Reimplemented in Quantum.Core.PhysicsSystem3D, Quantum.Task.SystemThreadedFilter< T >, Quantum.Task.SystemArrayFilter< T >, Quantum.Task.SystemThreadedComponent< T >, Quantum.Task.SystemArrayComponent< T >, Quantum.Core.EntityPrototypeSystem, and Quantum.Core.PhysicsSystem2D.
|
inlinevirtual |
Is called when the system was enabled for example after calling Frame.SystemEnable<T>() or during QuantumGame.InitSystems(Photon.Deterministic.DeterministicFrame).
f | The referenced frame. |
Reimplemented in Quantum.SystemGroup, and Quantum.SystemMainThreadGroup.
|
inlinevirtual |
Is called when the system was disabled for example after Frame.SystemDisable(Type).
f | The referenced frame. |
Reimplemented in Quantum.SystemGroup, and Quantum.SystemMainThreadGroup.
|
inline |
Creates the task graph for the system.
f | The referenced frame. |
taskHandle | The initial task handle. |
|
protectedpure virtual |
Override to add tasks to this system.
f | The referenced frame. |
taskHandle | The initial task handle. |
Implemented in Quantum.Core.PhysicsSystem3D, Quantum.Task.SystemThreadedFilter< T >, Quantum.SystemMainThread, Quantum.Task.SystemArrayFilter< T >, Quantum.Task.SystemArrayComponent< T >, Quantum.Task.SystemThreadedComponent< T >, Quantum.SystemGroup, Quantum.SystemMainThreadGroup, Quantum.Core.CullingSystem3D, Quantum.Core.PhysicsSystem2D, Quantum.Core.NavigationSystem, Quantum.Core.CullingSystem2D, and Quantum.SystemSignalsOnly.
|
getset |
A unique index assigned to identify systems at runtime.
|
get |
The parent system in the system hierarchy.
|
get |
The enumerable child systems.
|
get |
Creates the complete sub graph of child systems.
|
getset |
Set to true
when the simulation should start with this system enabled.