23 #ifndef MSMoveReminder_h 24 #define MSMoveReminder_h 213 const double frontOnLane,
214 const double timeOnLane,
215 const double meanSpeedFrontOnLane,
216 const double meanSpeedVehicleOnLane,
217 const double travelledDistanceFrontOnLane,
218 const double travelledDistanceVehicleOnLane,
219 const double meanLengthOnLane) {
const MSLane * getLane() const
Returns the lane the reminder works on.
void updateDetector(SUMOVehicle &veh, double entryPos, double leavePos, SUMOTime entryTime, SUMOTime currentTime, SUMOTime leaveTime, bool cleanUp)
virtual ~MSMoveReminder()
Destructor.
virtual bool notifyLeave(SUMOVehicle &veh, double lastPos, Notification reason, const MSLane *enteredLane=0)
Called if the vehicle leaves the reminder's lane.
std::string myDescription
a description of this moveReminder
The vehicle arrived at a junction.
MSLane *const myLane
Lane on which the reminder works.
void removeFromVehicleUpdateValues(SUMOVehicle &veh)
Notification
Definition of a vehicle state.
The vehicle got vaporized.
MSMoveReminder(const std::string &description, MSLane *const lane=0, const bool doAdd=true)
Constructor.
The vehicle changes the segment (meso only)
virtual void notifyMoveInternal(const SUMOVehicle &veh, const double frontOnLane, const double timeOnLane, const double meanSpeedFrontOnLane, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane, const double meanLengthOnLane)
Internal notification about the vehicle moves.
virtual bool notifyEnter(SUMOVehicle &veh, Notification reason, const MSLane *enteredLane)
Checks whether the reminder is activated by a vehicle entering the lane.
#define UNUSED_PARAMETER(x)
The vehicle changes lanes (micro only)
Representation of a vehicle.
The vehicle arrived at its destination (is deleted)
virtual bool notifyMove(SUMOVehicle &veh, double oldPos, double newPos, double newSpeed)
Checks whether the reminder still has to be notified about the vehicle moves.
Something on a lane to be noticed about vehicle movement.
void setDescription(const std::string &description)
The vehicle starts or ends parking.
The vehicle has departed (was inserted into the network)
const std::string & getDescription() const
MSMoveReminder & operator=(const MSMoveReminder &)
std::map< SUMOVehicle *, std::pair< SUMOTime, double > > myLastVehicleUpdateValues
The vehicle needs another parking area.
The vehicle was teleported out of the net.
Representation of a lane in the micro simulation.
The vehicle is being teleported.