17 #ifndef MSDevice_Bluelight_h 18 #define MSDevice_Bluelight_h 89 double newPos,
double newSpeed);
125 void setParameter(
const std::string& key,
const std::string& value);
144 double customValue2,
double customValue3);
bool notifyMove(SUMOTrafficObject &veh, double oldPos, double newPos, double newSpeed)
Checks for waiting steps when the vehicle moves.
void setParameter(const std::string &key, const std::string &value)
try to set the given parameter for this device. Throw exception for unsupported key ...
static void buildVehicleDevices(SUMOVehicle &v, std::vector< MSVehicleDevice *> &into)
Build devices for the given vehicle, if needed.
double myCustomValue3
a value which is initialised based on a vType parameter
Notification
Definition of a vehicle state.
double myCustomValue1
a value which is initialised based on a commandline/configuration option
bool notifyEnter(SUMOTrafficObject &veh, MSMoveReminder::Notification reason, const MSLane *enteredLane=0)
Saves departure info on insertion.
bool notifyLeave(SUMOTrafficObject &veh, double lastPos, MSMoveReminder::Notification reason, const MSLane *enteredLane=0)
Saves arrival info.
std::string getParameter(const std::string &key) const
try to retrieve the given parameter from this device. Throw exception for unsupported key ...
~MSDevice_Bluelight()
Destructor.
Representation of a vehicle.
std::set< std::string > influencedVehicles
void generateOutput() const
Called on writing tripinfo output.
MSDevice_Bluelight & operator=(const MSDevice_Bluelight &)
Invalidated assignment operator.
std::map< std::string, std::string > influencedTypes
MSDevice_Bluelight(SUMOVehicle &holder, const std::string &id, double customValue1, double customValue2, double customValue3)
Constructor.
static void insertOptions(OptionsCont &oc)
Inserts MSDevice_Bluelight-options.
Representation of a vehicle or person.
const std::string deviceName() const
return the name for this type of device
A storage for options typed value containers)
Abstract in-vehicle device.
A device which collects info on the vehicle trip (mainly on departure and arrival) ...
Representation of a lane in the micro simulation.
double myCustomValue2
a value which is initialised based on a vehicle parameter