44 std::vector<std::string>
46 std::vector<std::string> ids;
54 std::vector<std::string> ids;
71 std::vector<std::string>
87 throw TraCIException(
"Multi entry exit detector '" +
id +
"' is not known");
static std::vector< std::string > getIDList()
int getCurrentHaltingNumber() const
Returns the number of current haltings within the area.
int size() const
Returns the number of items within the container.
static MSE3Collector * getDetector(const std::string &detID)
T get(const std::string &id) const
Retrieves an item.
static std::vector< std::string > getLastStepVehicleIDs(const std::string &detID)
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
std::vector< std::string > getCurrentVehicleIDs() const
Returns the number of vehicles within the area.
static int getLastStepVehicleNumber(const std::string &detID)
void insertIDs(std::vector< std::string > &into) const
static int getLastStepHaltingNumber(const std::string &detID)
double getCurrentMeanSpeed() const
Returns the mean speed within the area.
MSDetectorControl & getDetectorControl()
Returns the detector control.
A detector of vehicles passing an area between entry/exit points.
int getVehiclesWithin() const
Returns the number of vehicles within the area.
const NamedObjectCont< MSDetectorFileOutput * > & getTypedDetectors(SumoXMLTag type) const
Returns the list of detectors of the given type.
static double getLastStepMeanSpeed(const std::string &detID)
alternative tag for e3 detector