43 std::vector<std::string>
45 std::vector<std::string> ids;
53 std::vector<std::string> ids;
76 std::vector<std::string>
123 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.
double getCurrentMeanSpeed() const
Returns the mean vehicle speed of vehicles currently on the detector.
An areal detector corresponding to a sequence of consecutive lanes.
static double getLastStepMeanSpeed(const std::string &detID)
int getCurrentJamLengthInVehicles() const
Returns the length of all jams in vehicles.
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
static double getJamLengthMeters(const std::string &detID)
double getCurrentOccupancy() const
Returns the current detector occupancy.
static int getLastStepHaltingNumber(const std::string &detID)
const MSLane * getLane() const
Returns the lane the reminder works on.
T get(const std::string &id) const
Retrieves an item.
static int getJamLengthVehicle(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 int getLastStepVehicleNumber(const std::string &detID)
static std::string getLaneID(const std::string &detID)
int getCurrentVehicleNumber() const
Returns the number of vehicles currently on the detector.
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)
static MSE2Collector * getDetector(const std::string &detID)
static std::vector< std::string > getLastStepVehicleIDs(const std::string &detID)
int getCurrentHaltingNumber() const
Returns the number of current haltings within the area.
alternative tag for e2 detector
int size() const
Returns the number of stored items within the container.