City Based Parking and Routing System API Documentation

OffsetLane Members

OffsetLane overview

Public Static Methods

Create Creates a new instance of the offset lane.

Public Instance Constructors

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

Public Instance Properties

Direction (inherited from Lane) Returns the direction in which this allows vehicles to cross the intersection.
GetEndBlockOfLane Gets or sets the end block of the offset lane
GetFirstVehicle (inherited from Lane) Gets the first vehicle on the lane.
GetFirstVehicleNode (inherited from Lane) Gets the linked list node containing the first vehicle on the lane.
GetLastVehicle (inherited from Lane) Gets the last vehicle on the lane.
GetLastVehicleNode (inherited from Lane) Gets the linked list node containing the last vehicle on the lane.
GetStartBlockOfLane Gets or sets the start block of the offset lane.
Id (inherited from Lane) The psuedo unique id of the lane.
Length Gets the length of the offset lane.
Parent (inherited from Lane) Gets or sets the parent road of this lane.
VehicleList (inherited from Lane) Gets the linked list object that contains all vehicles currently on this lane.
Vehicles (inherited from Lane) Returns the number of vehicles currently on the lane.

Public Instance Methods

AddVehicle (inherited from Lane) Adds a vehicle to the beginning of the lane.
BackwardGap (inherited from Lane)Overloaded. Calculates the gap behind the vehicle at the specified position.
EntryGap (inherited from Lane) Calculates the gap at the beginning of the lane.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ForwardGap (inherited from Lane)Overloaded. Calculates the gap that is in front of the specified position.
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.
GetObjectData Populates the provided SerializationInfo with the data needed to serialize the object.
GetType (inherited from Object)Gets the Type of the current instance.
GetVehicle (inherited from Lane) Gets a vehicle at the specified position.
GetVehicleBehindOf (inherited from Lane) Retrieves the first vehicle at or behind of the specified position.
GetVehicleInFrontOf (inherited from Lane) Retrieves the first vehicle at or in front of the specified position.
GetVehicleNode (inherited from Lane) Gets a vehicle at the specified position.
InsertVehicle (inherited from Lane) Inserts a vehicle in the lane at the specified position.
IsOccupied (inherited from Lane) Determine if an specified area is occupied by a vehicle.
IsValidLaneDirection (inherited from Lane) Determines if the specified direction is a valid on for the current lane.
LaneChanges (inherited from Lane) Gives vehicles on this lane the chance to change lanes.
LeftLane (inherited from Lane) Gets the lane directly to the left of the current lane.
MoveVehicles (inherited from Lane) Moves the vehicles on the lane to their next position.
RemoveVehicle (inherited from Lane) Removes a vehicle from the collection of vehicles.
Reset (inherited from Lane) Resets the lanes.
RightLane (inherited from Lane) Gets the lane directly to the right of the current lane.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

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

Protected Instance Fields

_Direction (inherited from Lane) The direction in which this lane allows the road user to travel on the next intersection.
_EndBlock The block at which this lane ends.
_Id (inherited from Lane) The Id number of the lane in the simulation.
_Road (inherited from Lane) The parent Road of this Lane.
_StartBlock The block at which this road begins.
_Vehicles (inherited from Lane) A linked list of vehicles currently driving on this lane.

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

OffsetLane Class | CBPRS.Infrastructure Namespace