Click or drag to resize

ISimulationService Interface

[This is preliminary documentation and is subject to change.]

The Simulation Webservice

Namespace:  TrafficSimulation.Simulation.Contracts
Assembly:  TrafficSimulation.Simulation.Contracts (in TrafficSimulation.Simulation.Contracts.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
public interface ISimulationService

The ISimulationService type exposes the following members.

Methods
  NameDescription
Public methodGetNodeConnections
Returns a list of NodeConnections
Public methodGetNodes
Get the list of nodes.
Public methodGetTrafficLights
Returns a list of traffic lights.
Public methodGetVehicles
Retursn a list of Vehicles
Public methodIsStarted
Determines whether the service is started.
Public methodSetCarDefect
Method to create obstacles (in this case a defect car)
Public methodStart
Starts the Simulation
Public methodStep
Performs a single Step
Public methodStop
Stops the Simulation
Public methodToggleTrafficLight
Toggles a traffic light.
Top
See Also