A Quantum configuration asset that will create and start Quantum systems in a data-driven way when starting the simulation. Can be assigned to RuntimeConfig. If no config is assigned then a default selection of build-in systems is used (DeterministicSystemSetup.CreateSystems(RuntimeConfig, SimulationConfig, SystemsConfig). The systems to be used can always be changed by code inside DeterministicSystemSetup.AddSystemsUser(ICollection<SystemBase>, RuntimeConfig, SimulationConfig, SystemsConfig).
More...
|
static List< SystemBase > | CreateSystems (SystemsConfig config) |
| Converts the systems configuration into a list of system objects while calling the matching (Name, Children) constructors. This method throws AssertionExceptions on any invalid system configuration. More...
|
|
static AssetObject | Create (Type t) |
| Creates a new instance of the specified type. More...
|
|
static T | Create< T > () |
| Creates a new instance of the specified type. More...
|
|
static T | Create< T > (Action< T > init) |
| Creates a new instance of the specified type and initializes it. More...
|
|
A Quantum configuration asset that will create and start Quantum systems in a data-driven way when starting the simulation. Can be assigned to RuntimeConfig. If no config is assigned then a default selection of build-in systems is used (DeterministicSystemSetup.CreateSystems(RuntimeConfig, SimulationConfig, SystemsConfig). The systems to be used can always be changed by code inside DeterministicSystemSetup.AddSystemsUser(ICollection<SystemBase>, RuntimeConfig, SimulationConfig, SystemsConfig).
◆ CreateSystems()
Converts the systems configuration into a list of system objects while calling the matching (Name, Children) constructors. This method throws AssertionExceptions on any invalid system configuration.
SystemBase
__________________________________|___________________________________________________________
| | | | | |
SystemGroup SystemMainThread SystemArrayComponent SystemArrayFilter SystemSignalsOnly SystemThreadedFilter children (SystemBase) | __________|__________ | | SystemMainThreadGroup SystemMainThreadFilter children (SystemMainThread)
◆ AddSystem< T >()
Add a system entry that describes a system to be instantiated on simulation start.
- Template Parameters
-
- Parameters
-
name | System name |
enabled | System starts enabled |
- Returns
- System entry that was added to the config
◆ AddSystem()
SystemEntry Quantum.SystemsConfig.AddSystem |
( |
Type |
systemType, |
|
|
string |
name = null , |
|
|
bool |
enabled = true |
|
) |
| |
|
inline |
Add a system entry that describes a system to be instantiated on simulation start.
- Parameters
-
systemType | System type |
name | System name |
enabled | System starts enabled |
- Returns
- System entry that was added to the config
- Exceptions
-
ArgumentNullException | Is raised of the systemType is null |
◆ Entries
List<SystemEntry> Quantum.SystemsConfig.Entries = new() |
System entries to be instantiated on simulation start.