City Based Parking and Routing System API Documentation

ParkingSystem Members

ParkingSystem overview

Public Static Fields

sOccupiedPlaces The number of occupied places.
sParkedVehicles The number of vehicles parked.
sParkingTime The number of time consumed by parking.
sPlaces The number of parking places in the parking system.
sReservedPlaces The number of reserved parking places.

Public Static Methods

GetInstance Gets the singleton instance of the parking system.
VehicleIsParked Method to keep track of the average parking time.

Public Instance Properties

GetBusRoutesEnumerator Gets the enumerator over all bus routes.
GetLayer Gets the piccolo layer managed by this sub system.
GetParkingAdminSystem Gets the parking administration part of the parking system.

Public Instance Methods

CreateBusStop Creates a new bus stop on the specified route.
CreateLampPost Creates a lamppost.
CreateParkingGarage Creates a parking garage.
CreateParkingPlace Creates a parking place.
CreateSectorStation Creates a new Parking sector station.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetBusRoute Gets an enumerator for the route.
GetBusStopCountOnRoute Gets the number of bus stops for the specified route.
GetFullBusRoute Gets the full bus route.
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 a SerializationInfo with the data needed to serialize the target object.
GetParking Gets a ParkingPlace or ParkingGarage from the system.
GetRandomParking Gets a random ParkingPlace or ParkingGarage
GetRandomParkingNoChecks Gets a random ParkingPlace or ParkingGarage without check if they are availible.
GetSectorStation Gets the sector station with the specified id.
GetType (inherited from Object)Gets the Type of the current instance.
Initialize Intializes the parking system.
IsBusRouteValid Determines if the specified route id refers to a valid bus route.
RegisterSurrogate Registers a surrogate with the specified surrogate selector
RemoveBusRoute Removes an entire bus route including all bus stops.
RemoveBusStopFromRoute Removes a bus stop from a specified route.
RemoveParking Removes a ParkingPlace or ParkingGarage from the system.
RemoveSectorStation Removes the specified sector station form the collection.
Reset Resets the current subsystem
SetObjectData Populates the singleton with the data stored in the SerializationInfo class.
Simulate The simulation method of the parking system.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

ParkingSystem Class | CBPRS.Parking Namespace