City Based Parking and Routing System API Documentation

Route Members

Route overview

Public Instance Constructors

Route Overloaded. Initializes a new instance of the Route class.

Public Instance Properties

Destination Gets or sets the destination IIntersection of the current route.
Direction Gets or sets the DirectionTypes for entry onto the next lane.
HasSideObject Determines if this route has a ISideObject as destination.
LeftTurn Gets or sets the number of turns to the left.
Next Gets or sets the next Lane of the current route.
RightTurn Gets or sets the number of turns to the right.
SideObject Gets or sets the ISideObject destination of the current route.
Source Gets or sets the starting IIntersection of the current route.
StartTime Gets or set the time at which travel begun.
TraveledLanes The number of lanes traveled since the route was begun.
TravelTime Gets or sets the travel time consumed while following this route.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

_Destination The IIntersection at which the route ends.
_Direction The direction of the turn needed for entry onto the next lane.
_LeftTurns The number of turns to the left.
_Next The next Lane in the route.
_RightTurns The number of turns to the right.
_SideObject The side object along the road at which the vehicle should stop.
_Source The IIntersection at which the route begins.
_StartTime The time at which the route was started.
_TraveledLanes The number of lanes traveled on since the route begun.
_TravelTime The travel time taken since the begin of the journey.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Route Class | CBPRS.Infrastructure Namespace