44 std::vector<std::string>
46 std::vector<std::string> ids;
54 std::vector<std::string> ids;
77 std::vector<std::string>
124 throw TraCIException(
"Lane area detector '" +
id +
"' is not known");
const MSLane * getLane() const
Returns the lane the reminder works on.
std::vector< std::string > getCurrentVehicleIDs() const
Returns the IDs of the vehicles within the area.
int getCurrentJamLengthInVehicles() const
Returns the length of all jams in vehicles.
An areal detector corresponding to a sequence of consecutive lanes.
int size() const
Returns the number of items within the container.
double getEndPos() const
Returns the end position of the detector.
static double getLastStepMeanSpeed(const std::string &detID)
T get(const std::string &id) const
Retrieves an item.
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
double getStartPos() const
Returns the begin position of the detector.
static double getJamLengthMeters(const std::string &detID)
const std::string & getID() const
Returns the id.
static int getLastStepHaltingNumber(const std::string &detID)
void insertIDs(std::vector< std::string > &into) const
static int getJamLengthVehicle(const std::string &detID)
double getCurrentMeanSpeed() const
Returns the mean vehicle speed of vehicles currently on the detector.
static int getLastStepVehicleNumber(const std::string &detID)
static std::string getLaneID(const std::string &detID)
int getCurrentHaltingNumber() const
Returns the number of current haltings within the area.
static double getPosition(const std::string &detID)
static double getLength(const std::string &detID)
MSDetectorControl & getDetectorControl()
Returns the detector control.
static std::vector< std::string > getIDList()
static double getLastStepOccupancy(const std::string &detID)
double getCurrentJamLengthInMeters() const
Returns the length of all jams in meters.
static MSE2Collector * getDetector(const std::string &detID)
static std::vector< std::string > getLastStepVehicleIDs(const std::string &detID)
const NamedObjectCont< MSDetectorFileOutput * > & getTypedDetectors(SumoXMLTag type) const
Returns the list of detectors of the given type.
double getCurrentOccupancy() const
Returns the current detector occupancy.
alternative tag for e2 detector
int getCurrentVehicleNumber() const
Returns the number of vehicles currently on the detector.