ISimulationService Interface |
[This is preliminary documentation and is subject to change.]
Namespace: TrafficSimulation.Simulation.Contracts
The ISimulationService type exposes the following members.
| Name | Description | |
|---|---|---|
| GetNodeConnections |
Returns a list of NodeConnections
| |
| GetNodes |
Get the list of nodes.
| |
| GetTrafficLights |
Returns a list of traffic lights.
| |
| GetVehicles |
Retursn a list of Vehicles
| |
| IsStarted |
Determines whether the service is started.
| |
| SetCarDefect |
Method to create obstacles (in this case a defect car)
| |
| Start |
Starts the Simulation
| |
| Step |
Performs a single Step
| |
| Stop |
Stops the Simulation
| |
| ToggleTrafficLight |
Toggles a traffic light.
|