63 MSLane*
const lane,
double positionInMeters,
64 const std::string name,
const std::string& vTypes,
65 const std::string& nextEdges);
150 void write(
const char* state,
double t,
SUMOTrafficObject& veh,
double speed,
const char* add = 0,
double addValue = -1);
#define UNUSED_PARAMETER(x)
Base of value-generating classes (detectors)
An instantaneous induction loop.
MSInstantInductLoop(const MSInstantInductLoop &)
Invalidated copy constructor.
std::map< SUMOTrafficObject *, double > myEntryTimes
The last exit time.
MSInstantInductLoop & operator=(const MSInstantInductLoop &)
Invalidated assignment operator.
OutputDevice & myOutputDevice
The output device to use.
void writeXMLDetectorProlog(OutputDevice &dev) const
Open the XML-output.
~MSInstantInductLoop()
Destructor.
void write(const char *state, double t, SUMOTrafficObject &veh, double speed, const char *add=0, double addValue=-1)
Writes an event line.
const double myPosition
Detector's position on lane [m].
void writeXMLOutput(OutputDevice &dev, SUMOTime startTime, SUMOTime stopTime)
Write the generated output to the given device.
const std::string myName
name
bool notifyLeave(SUMOTrafficObject &veh, double lastPos, MSMoveReminder::Notification reason, const MSLane *enteredLane=0)
Dismisses the vehicle if it is on the detector due to a lane change.
double myLastExitTime
The last exit time.
bool notifyMove(SUMOTrafficObject &veh, double oldPos, double newPos, double newSpeed)
Checks whether the vehicle shall be counted and/or shall still touch this MSMoveReminder.
Representation of a lane in the micro simulation.
Something on a lane to be noticed about vehicle movement.
Notification
Definition of a vehicle state.
Representation of a vehicle in the micro simulation.
Static storage of an output device and its base (abstract) implementation.
Representation of a vehicle, person, or container.