Click or drag to resize

SimulationService Class

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

The Webservice of the Simulation
Inheritance Hierarchy
SystemObject
  TrafficSimulation.Simulation.WebServiceSimulationService

Namespace:  TrafficSimulation.Simulation.WebService
Assembly:  TrafficSimulation.Simulation.WebService (in TrafficSimulation.Simulation.WebService.exe) Version: 1.0.0.2 (1.0.0.2)
Syntax
public class SimulationService : ISimulationService

The SimulationService type exposes the following members.

Constructors
  NameDescription
Public methodSimulationService
Initializes a new instance of the SimulationService class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNodeConnections
Returns a list of NodeConnections
Public methodGetNodes
Get the list of nodes.
Public methodGetTrafficLights
Returns a list of traffic lights.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVehicles
Retursn a list of Vehicles
Public methodIsStarted
Determines whether the service is started.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also