#define LAST_STEP_MEAN_SPEED
static std::string getLaneID(const std::string &detID)
static double getPosition(const std::string &detID)
#define CMD_GET_LANEAREA_VARIABLE
#define JAM_LENGTH_METERS
virtual void writeUnsignedByte(int)
bool writeErrorStatusCmd(int commandId, const std::string &description, tcpip::Storage &outputStorage)
Writes a status command to the given storage with status = RTYPE_ERR.
virtual void writeInt(int)
static int getLastStepVehicleNumber(const std::string &detID)
virtual int readUnsignedByte()
static double getJamLengthMeters(const std::string &detID)
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xa1: Get AreaDetector Variable)
static double getLength(const std::string &detID)
#define JAM_LENGTH_VEHICLE
static double getLastStepMeanSpeed(const std::string &detID)
virtual void writeStringList(const std::vector< std::string > &s)
virtual std::string readString()
TraCI server used to control sumo by a remote TraCI client.
static int getJamLengthVehicle(const std::string &detID)
void writeResponseWithLength(tcpip::Storage &outputStorage, tcpip::Storage &tempMsg)
#define LAST_STEP_VEHICLE_NUMBER
virtual void writeString(const std::string &s)
#define LAST_STEP_VEHICLE_ID_LIST
static std::vector< std::string > getIDList()
std::string toHex(const T i, std::streamsize numDigits=0)
virtual void writeDouble(double)
static int getLastStepHaltingNumber(const std::string &detID)
static double getLastStepOccupancy(const std::string &detID)
#define RESPONSE_GET_LANEAREA_VARIABLE
void writeStatusCmd(int commandId, int status, const std::string &description, tcpip::Storage &outputStorage)
Writes a status command to the given storage.
#define LAST_STEP_OCCUPANCY
static std::vector< std::string > getLastStepVehicleIDs(const std::string &detID)
#define LAST_STEP_VEHICLE_HALTING_NUMBER