Quantum 3
3.0.9
The Quantum system base class. More...
Public Member Functions | |
| SystemBase () | |
| Constructor. More... | |
| SystemBase (params SystemBase[] children) | |
| Create a new instance of a system with children. 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 | |
| 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... | |
| string | ProfilerName [get] |
| Profiler name. More... | |
| Int32 | RuntimeIndex [get] |
| 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. |
|
inline |
Create a new instance of a system with children.
| children | Children systems to create a hierarchy to toggle. |
|
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. |
|
inlinevirtual |
Is called when the system was disabled for example after Frame.SystemDisable(Type).
| f | The referenced frame. |
|
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.SystemMainThread, Quantum.Task.SystemThreadedFilter< T >, Quantum.Task.SystemArrayFilter< T >, Quantum.Task.SystemArrayComponent< T >, Quantum.Task.SystemThreadedComponent< T >, Quantum.SystemMainThreadGroup, Quantum.SystemGroup, Quantum.Core.CullingSystem3D, Quantum.Core.PhysicsSystem2D, Quantum.Core.NavigationSystem, Quantum.SystemSignalsOnly, and Quantum.Core.CullingSystem2D.
|
get |
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.
|
getprotected |
Profiler name.