Click or drag to resize

TrafficLight Class

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

Implementation of a traffic light
Inheritance Hierarchy
SystemObject
  TrafficSimulation.Simulation.EngineTrafficLight

Namespace:  TrafficSimulation.Simulation.Engine
Assembly:  TrafficSimulation.Simulation.Engine (in TrafficSimulation.Simulation.Engine.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
public class TrafficLight : ITrafficLight, 
	IPlaceable

The TrafficLight type exposes the following members.

Constructors
  NameDescription
Public methodTrafficLight
Initializes a new instance of the TrafficLight class.
Top
Properties
  NameDescription
Public propertyId
Gets or sets the Id.
Public propertyIsConnectionBlocking
Signals if this placable is blocking the node connection where it lives on.
Public propertyPosition
The position
Public propertyTrafficLightState
Gets or sets the state of the traffic light.
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also