Quantum 3 3.0.3

Public Member Functions | Protected Member Functions | List of all members
Quantum.SystemMainThreadGroup Class Reference

A Quantum main thread system that has a system hierarchy. The class will be deprecated in future versions, use SystemGroup instead. More...

Inheritance diagram for Quantum.SystemMainThreadGroup:
Quantum.SystemBase

Public Member Functions

 SystemMainThreadGroup (params SystemBase[] children)
 Create a new system main thread group. More...
 
 SystemMainThreadGroup (string name, params SystemBase[] children)
 Create a new system main thread group. More...
 
- Public Member Functions inherited from Quantum.SystemBase
 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

sealed override TaskHandle Schedule (Frame f, TaskHandle taskHandle)
 Nothing to schedule, this is just a container for children. More...
 

Additional Inherited Members

- Properties inherited from Quantum.SystemBase
IEnumerable< SystemBaseChildSystems [get]
 The enumerable child systems. More...
 
IEnumerable< SystemBaseHierarchy [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...
 

Detailed Description

A Quantum main thread system that has a system hierarchy. The class will be deprecated in future versions, use SystemGroup instead.

Constructor & Destructor Documentation

◆ SystemMainThreadGroup() [1/2]

Quantum.SystemMainThreadGroup.SystemMainThreadGroup ( params SystemBase[]  children)
inline

Create a new system main thread group.

Parameters
childrenThe system children.

◆ SystemMainThreadGroup() [2/2]

Quantum.SystemMainThreadGroup.SystemMainThreadGroup ( string  name,
params SystemBase[]  children 
)
inline

Create a new system main thread group.

Parameters
nameThe system name.
childrenThe system children.

Member Function Documentation

◆ Schedule()

sealed override TaskHandle Quantum.SystemMainThreadGroup.Schedule ( Frame  f,
TaskHandle  taskHandle 
)
protectedvirtual

Nothing to schedule, this is just a container for children.

Implements Quantum.SystemBase.