#define LAST_STEP_MEAN_SPEED
static double getLastStepMeanSpeed(const std::string &detID)
#define CMD_GET_LANEAREA_VARIABLE
#define JAM_LENGTH_METERS
static double getJamLengthMeters(const std::string &detID)
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.
static int getLastStepHaltingNumber(const std::string &detID)
virtual void writeInt(int)
virtual int readUnsignedByte()
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xa1: Get AreaDetector Variable)
static int getJamLengthVehicle(const std::string &detID)
#define JAM_LENGTH_VEHICLE
virtual void writeStringList(const std::vector< std::string > &s)
static int getLastStepVehicleNumber(const std::string &detID)
static std::string getLaneID(const std::string &detID)
virtual std::string readString()
static double getPosition(const std::string &detID)
static double getLength(const std::string &detID)
TraCI server used to control sumo by a remote TraCI client.
void writeResponseWithLength(tcpip::Storage &outputStorage, tcpip::Storage &tempMsg)
#define LAST_STEP_VEHICLE_NUMBER
static std::vector< std::string > getIDList()
virtual void writeString(const std::string &s)
#define LAST_STEP_VEHICLE_ID_LIST
static double getLastStepOccupancy(const std::string &detID)
std::string toHex(const T i, std::streamsize numDigits=0)
virtual void writeDouble(double)
#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