23 #ifndef MSVehicleTransfer_h 24 #define MSVehicleTransfer_h 147 : myVeh(veh), myProceedTime(proceedTime), myParking(parking) { }
Representation of a vehicle in the micro simulation.
static MSVehicleTransfer * myInstance
The static singleton-instance.
static const SUMOReal TeleportMinSpeed
The minimum speed while teleporting.
MSVehicleTransfer()
Constructor.
VehicleInfVector myVehicles
The information about stored vehicles to move virtually.
bool hasPending() const
Checks whether stored vehicles are present.
virtual ~MSVehicleTransfer()
Destructor.
std::map< const MSLane *, std::set< const MSVehicle * > > ParkingVehicles
The map from lanes to parking vehicles.
const std::set< const MSVehicle * > & getParkingVehicles(const MSLane *lane) const
return parking vehicles on the given lane
A road/street connecting two junctions.
void checkInsertions(SUMOTime time)
Checks "movement" of stored vehicles.
void add(const SUMOTime t, MSVehicle *veh)
Adds a vehicle to this transfer object.
static const std::set< const MSVehicle * > myEmptyVehicleSet
an empty set for convenience
ParkingVehicles myParkingVehicles
static MSVehicleTransfer * getInstance()
Returns the instance of this object.
std::vector< VehicleInformation > VehicleInfVector
Definition of a container for vehicle information.
Representation of a lane in the micro simulation.