Microscopic Traffic Simulator
|
Viewmodel for simulation control. More...
Properties | |
double | SimulationSpeed [get] |
Simulation speed. More... | |
int | Seed [get] |
Seed for generator of random numbers. More... | |
int | CustomSeed [get, set] |
Seed for generator of random numbers to be set. More... | |
bool | IsPreviousSeedAvailable [get, set] |
Determines whether there is previous seed available from any previous simulation. More... | |
bool | IsPreviousSeedUsed [get, set] |
Determines whether to use the last used seed in previous simulation. More... | |
bool | IsSeedSettingAutomatic [get, set] |
Determines whether to use custom seed. More... | |
ulong | SimulationSteps [get] |
Number of simulation steps More... | |
ulong | SimulationStepsToPause [get, set] |
The number of simulation steps when the simulation control will pause the simulation. More... | |
ulong | SimulationStepsToPauseToSet [get, set] |
The number of simulation steps to pause the simulation by simulation control to be set. More... | |
TimeSpan | ModelTime [get] |
Simulation model time. More... | |
TimeSpan | ModelTimeToPause [get, set] |
Simulation model time when the simulation will be paused. More... | |
TimeSpan | ModelTimeToPauseToSet [get, set] |
Simulation model time to pause to be set when command for setting the model time to pause is executed. More... | |
double | CustomSimulationSpeed [get, set] |
Custom simulation speed to set More... | |
bool | IsMaxSimulationSpeed [get, set] |
Determine whether the maximum simulation speed is set by user. More... | |
bool | IsNotMaxSimulationSpeed [get] |
Negation of isMaxSimulationSpeed More... | |
ICommand | SwitchToConstructionModeCommand [get] |
Command to switch to construction mode. More... | |
ICommand | ForwardCommand [get] |
Command to run simulation. More... | |
ICommand | ForwardStepCommand [get] |
Command to perform one step in simulation. More... | |
ICommand | StopCommand [get] |
Command to stop simulation. More... | |
ICommand | PauseCommand [get] |
Command to pause simulation. More... | |
ICommand | FasterCommand [get] |
Command to inrease speed of the simulation. More... | |
ICommand | SlowerCommand [get] |
Command to inrease speed of the simulation. More... | |
ICommand | CustomSimulationSpeedCommand [get] |
Command to setting custom simulation speed. More... | |
ICommand | RestartCommand [get] |
Command for restarting simulation. More... | |
ICommand | ApplyTimeAlarmCommand [get] |
Command for setting model time alarm. More... | |
ICommand | ApplySimulationStepsAlarmCommand [get] |
Command for setting simulation steps alarm. More... | |
ICommand | ResetModelTimeAlarmCommand [get] |
Command for resetting model time alarm. More... | |
ICommand | ResetSimulationStepsAlarmCommand [get] |
Command for resetting simulation steps alarm. More... | |
![]() | |
virtual bool | ThrowOnInvalidPropertyName [get] |
Returns whether an exception is thrown, or if a Debug.Fail() is used when an invalid property name is passed to the VerifyPropertyName method. The default value is false, but subclasses used by unit tests might override this property's getter to return true. More... | |
Additional Inherited Members | |
![]() | |
void | VerifyPropertyName (string propertyName) |
Warns the developer if this object does not have a public property with the specified name. This method does not exist in a Release build. More... | |
void | Dispose () |
Invoked when this object is being removed from the application and will be subject to garbage collection. More... | |
![]() | |
ViewModelBase () | |
Create viewmodel base. More... | |
virtual void | OnPropertyChanged (string propertyName) |
Raises this object's PropertyChanged event. More... | |
virtual void | OnDispose () |
Child classes can override this method to perform clean-up logic, such as removing event handlers. More... | |
![]() | |
Messenger | messenger |
Instance of messenger for communicating between view models. More... | |
![]() | |
PropertyChangedEventHandler | PropertyChanged |
Raised when a property on this object has a new value. More... | |
Viewmodel for simulation control.
Definition at line 14 of file SimulationControlViewModel.cs.
|
get |
Command for setting simulation steps alarm.
Definition at line 448 of file SimulationControlViewModel.cs.
|
get |
Command for setting model time alarm.
Definition at line 428 of file SimulationControlViewModel.cs.
|
getset |
Seed for generator of random numbers to be set.
Definition at line 65 of file SimulationControlViewModel.cs.
|
getset |
Custom simulation speed to set
Definition at line 172 of file SimulationControlViewModel.cs.
|
get |
Command to setting custom simulation speed.
Definition at line 382 of file SimulationControlViewModel.cs.
|
get |
Command to inrease speed of the simulation.
Definition at line 334 of file SimulationControlViewModel.cs.
|
get |
Command to run simulation.
Definition at line 258 of file SimulationControlViewModel.cs.
|
get |
Command to perform one step in simulation.
Definition at line 277 of file SimulationControlViewModel.cs.
|
getset |
Determine whether the maximum simulation speed is set by user.
Definition at line 213 of file SimulationControlViewModel.cs.
|
get |
Negation of isMaxSimulationSpeed
Definition at line 228 of file SimulationControlViewModel.cs.
|
getset |
Determines whether there is previous seed available from any previous simulation.
Definition at line 71 of file SimulationControlViewModel.cs.
|
getset |
Determines whether to use the last used seed in previous simulation.
Definition at line 88 of file SimulationControlViewModel.cs.
|
getset |
Determines whether to use custom seed.
Definition at line 102 of file SimulationControlViewModel.cs.
|
get |
Simulation model time.
Definition at line 141 of file SimulationControlViewModel.cs.
|
getset |
Simulation model time when the simulation will be paused.
Definition at line 149 of file SimulationControlViewModel.cs.
|
getset |
Simulation model time to pause to be set when command for setting the model time to pause is executed.
Definition at line 162 of file SimulationControlViewModel.cs.
|
get |
Command to pause simulation.
Definition at line 315 of file SimulationControlViewModel.cs.
|
get |
Command for resetting model time alarm.
Definition at line 468 of file SimulationControlViewModel.cs.
|
get |
Command for resetting simulation steps alarm.
Definition at line 487 of file SimulationControlViewModel.cs.
|
get |
Command for restarting simulation.
Definition at line 405 of file SimulationControlViewModel.cs.
|
get |
Seed for generator of random numbers.
Definition at line 60 of file SimulationControlViewModel.cs.
|
get |
Simulation speed.
Definition at line 49 of file SimulationControlViewModel.cs.
|
get |
Number of simulation steps
Definition at line 115 of file SimulationControlViewModel.cs.
|
getset |
The number of simulation steps when the simulation control will pause the simulation.
Definition at line 123 of file SimulationControlViewModel.cs.
|
getset |
The number of simulation steps to pause the simulation by simulation control to be set.
Definition at line 135 of file SimulationControlViewModel.cs.
|
get |
Command to inrease speed of the simulation.
Definition at line 358 of file SimulationControlViewModel.cs.
|
get |
Command to stop simulation.
Definition at line 296 of file SimulationControlViewModel.cs.
|
get |
Command to switch to construction mode.
Definition at line 238 of file SimulationControlViewModel.cs.