41 const std::string
id = inputStorage.
readString();
52 tempContent.
writeInt((
int)vd.size());
77 "Get Induction Loop Variable: unsupported variable " +
toHex(variable, 2)
78 +
" specified", outputStorage);
mirrors MSInductLoop::VehicleData
#define CMD_GET_INDUCTIONLOOP_VARIABLE
#define LAST_STEP_VEHICLE_DATA
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)
virtual int readUnsignedByte()
tcpip::Storage & getWrapperStorage()
virtual std::string readString()
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper)
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xa0: Get Induction Loop Variable)
TraCI server used to control sumo by a remote TraCI client.
#define RESPONSE_GET_INDUCTIONLOOP_VARIABLE
virtual void writeStorage(tcpip::Storage &store)
void writeResponseWithLength(tcpip::Storage &outputStorage, tcpip::Storage &tempMsg)
static std::vector< libsumo::TraCIVehicleData > getVehicleData(const std::string &detID)
virtual void writeString(const std::string &s)
std::string toHex(const T i, std::streamsize numDigits=0)
virtual void writeDouble(double)
void writeStatusCmd(int commandId, int status, const std::string &description, tcpip::Storage &outputStorage)
Writes a status command to the given storage.
void initWrapper(const int domainID, const int variable, const std::string &objID)