37 const std::string
id = inputStorage.
readString();
40 if (!libsumo::MeanData::handleVariable(
id, variable, &server, &inputStorage)) {
std::string toHex(const T i, std::streamsize numDigits=0)
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xa6: Get MeanData Variable)
TraCI server used to control sumo by a remote TraCI client.
void writeStatusCmd(int commandId, int status, const std::string &description, tcpip::Storage &outputStorage)
Writes a status command to the given storage.
tcpip::Storage & getWrapperStorage()
void initWrapper(const int domainID, const int variable, const std::string &objID)
bool writeErrorStatusCmd(int commandId, const std::string &description, tcpip::Storage &outputStorage)
Writes a status command to the given storage with status = RTYPE_ERR.
void writeResponseWithLength(tcpip::Storage &outputStorage, tcpip::Storage &tempMsg)
An error which allows to continue.
virtual std::string readString()
virtual int readUnsignedByte()
TRACI_CONST int RESPONSE_GET_MEANDATA_VARIABLE
TRACI_CONST int CMD_GET_MEANDATA_VARIABLE