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