Click or drag to resize

IRoute Interface

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

Represents a route in the simulation. A route cant be modified once created

Namespace:  TrafficSimulation.Simulation.Engine.Environment
Assembly:  TrafficSimulation.Simulation.Engine (in TrafficSimulation.Simulation.Engine.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
public interface IRoute : IVehicleLifetimeManager

The IRoute type exposes the following members.

Properties
  NameDescription
Public propertyLegth
the length of the route.
Public propertyNodesConnections
The list of nodes the route contains of.
Public propertyVehicles
A list of all vehicles existing on this route.
Top
Methods
  NameDescription
Public methodCreateVehicle
Creates a new vehicle
(Inherited from IVehicleLifetimeManager.)
Public methodDestoryVehicle
Destroys a vehicle
(Inherited from IVehicleLifetimeManager.)
Public methodGetNextPlaceable(IPlaceable)
Gets the next Placable on the connection and the distance
Public methodGetNextPlaceableT(IPlaceable)
Gets the next Placeable on the connection of a given type.
Public methodNextConnection
Returns the next node on this connection
Top
See Also