The interface for the runner factory. It creates platform specific objects to run the Quantum simulation. More...
Public Member Functions | |
IDeterministicGame | CreateGame (QuantumGameStartParameters startParameters) |
Instantiate an implementation of the IDeterministicGame. More... | |
void | CreateProfiler (string clientId, DeterministicSessionConfig deterministicConfig, DeterministicPlatformInfo platformInfo, IDeterministicGame game) |
The callback can be used to create and attach local profiler before the Quantum simulation has been started. More... | |
SessionRunner | CreateRunner (SessionRunner.Arguments arguments) |
Create an object that the SessionRunner is running on. For Unity it is wrapped in a MonoBehaviour. More... | |
Properties | |
DeterministicPlatformInfo | CreatePlaformInfo [get] |
Gather the platform information. There is a spelling mistake in the method name, but it's considered a bigger annoyance to change the interface. More... | |
TaskFactory | CreateTaskFactory [get] |
Create a Quantum task factory. More... | |
Action | UpdateDB [get] |
The action to when an update to the AssetDB is required. More... | |
The interface for the runner factory. It creates platform specific objects to run the Quantum simulation.
void Quantum.IRunnerFactory.CreateProfiler | ( | string | clientId, |
DeterministicSessionConfig | deterministicConfig, | ||
DeterministicPlatformInfo | platformInfo, | ||
IDeterministicGame | game | ||
) |
The callback can be used to create and attach local profiler before the Quantum simulation has been started.
clientId | Quantum client id |
deterministicConfig | Session config |
platformInfo | Platform info |
game | Game |
Implemented in Quantum.QuantumRunnerUnityFactory, and Quantum.DotNetRunnerFactory.
IDeterministicGame Quantum.IRunnerFactory.CreateGame | ( | QuantumGameStartParameters | startParameters | ) |
Instantiate an implementation of the IDeterministicGame.
startParameters | Start parameters |
Implemented in Quantum.QuantumRunnerUnityFactory, and Quantum.DotNetRunnerFactory.
SessionRunner Quantum.IRunnerFactory.CreateRunner | ( | SessionRunner.Arguments | arguments | ) |
Create an object that the SessionRunner is running on. For Unity it is wrapped in a MonoBehaviour.
arguments | Session arguments |
Implemented in Quantum.QuantumRunnerUnityFactory, and Quantum.DotNetRunnerFactory.
|
get |
Gather the platform information. There is a spelling mistake in the method name, but it's considered a bigger annoyance to change the interface.
|
get |
Create a Quantum task factory.
|
get |
The action to when an update to the AssetDB is required.