21 #ifndef MSMoveReminder_h 22 #define MSMoveReminder_h 207 const double frontOnLane,
208 const double timeOnLane,
209 const double meanSpeedFrontOnLane,
210 const double meanSpeedVehicleOnLane,
211 const double travelledDistanceFrontOnLane,
212 const double travelledDistanceVehicleOnLane,
213 const double meanLengthOnLane) {
const MSLane * getLane() const
Returns the lane the reminder works on.
virtual ~MSMoveReminder()
Destructor.
std::string myDescription
a description of this moveReminder
The vehicle arrived at a junction.
MSLane *const myLane
Lane on which the reminder works.
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)
#define UNUSED_PARAMETER(x)
virtual void notifyMoveInternal(const SUMOTrafficObject &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(SUMOTrafficObject &veh, Notification reason, const MSLane *enteredLane)
Checks whether the reminder is activated by a vehicle entering the lane.
std::map< SUMOTrafficObject *, std::pair< SUMOTime, double > > myLastVehicleUpdateValues
virtual bool notifyMove(SUMOTrafficObject &veh, double oldPos, double newPos, double newSpeed)
Checks whether the reminder still has to be notified about the vehicle moves.
The vehicle changes lanes (micro only)
The vehicle arrived at its destination (is deleted)
void updateDetector(SUMOTrafficObject &veh, double entryPos, double leavePos, SUMOTime entryTime, SUMOTime currentTime, SUMOTime leaveTime, bool cleanUp)
virtual bool notifyLeave(SUMOTrafficObject &veh, double lastPos, Notification reason, const MSLane *enteredLane=0)
Called if the vehicle leaves the reminder's lane.
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)
Representation of a vehicle or person.
const std::string & getDescription() const
void removeFromVehicleUpdateValues(SUMOTrafficObject &veh)
MSMoveReminder & operator=(const MSMoveReminder &)
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.