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.
static std::string getLaneID(const std::string &detID)
int getCurrentJamLengthInVehicles() const
Returns the length of all jams in vehicles.
static double getPosition(const std::string &detID)
An areal detector corresponding to a sequence of consecutive lanes.
int size() const
Returns the number of stored items within the container.
double getEndPos() const
Returns the end position of the detector.
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.
const std::string & getID() const
Returns the id.
void insertIDs(std::vector< std::string > &into) const
static int getLastStepVehicleNumber(const std::string &detID)
static double getJamLengthMeters(const std::string &detID)
static double getLength(const std::string &detID)
double getCurrentMeanSpeed() const
Returns the mean vehicle speed of vehicles currently on the detector.
static double getLastStepMeanSpeed(const std::string &detID)
int getCurrentHaltingNumber() const
Returns the number of current haltings within the area.
static int getJamLengthVehicle(const std::string &detID)
MSDetectorControl & getDetectorControl()
Returns the detector control.
static std::vector< std::string > getIDList()
double getCurrentJamLengthInMeters() const
Returns the length of all jams in meters.
static int getLastStepHaltingNumber(const std::string &detID)
static double getLastStepOccupancy(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.
static std::vector< std::string > getLastStepVehicleIDs(const std::string &detID)
alternative tag for e2 detector
static MSE2Collector * getDetector(const std::string &detID)
int getCurrentVehicleNumber() const
Returns the number of vehicles currently on the detector.