City Based Parking and Routing System API Documentation

LampPost Members

LampPost overview

Public Instance Constructors

LampPost Constructor Default constructor

Public Instance Properties

Cell Gets or sets the cell at which this object is located.
FillCell Gets a boolean indicating if the cell should be filled.
GetParkingCount Gets the number of parking places managed by this lamppost
Id The pseudo-unique of the lamppost.
Indicator Gets the legend indicator of the side object.
Lane Gets or sets the ILane this lamppost is adjacent to.
SideColor Gets the color to fill the cell with.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetFreeParkingPlace Retrieves a randomly chosen free parking place.
GetFreePlaces Gets the number of free places managed by this lamppost.
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.
Reset Rests the lamppost
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

_Cell The cell at which the lamppost is located.
_Id The pseudo unique id of the lamppost.
_Lane The lane this object is attached to.
_Parkings The dictionary of parking places monitored by this system.
_Station The sector station to which this lamppost belongs.

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

LampPost Class | CBPRS.Parking Namespace