41 const std::string
id = inputStorage.
readString();
47 std::string paramName =
"";
71 std::string warning =
"";
84 std::vector<std::string> edgeIDs;
static bool processSet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a set value command (Command 0xc6: Change Route State)
static void add(const std::string &routeID, const std::vector< std::string > &edgeIDs)
bool readTypeCheckingString(tcpip::Storage &inputStorage, std::string &into)
Reads the value type and a string, verifying the type.
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.
#define CMD_GET_ROUTE_VARIABLE
virtual int readUnsignedByte()
#define CMD_SET_ROUTE_VARIABLE
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper)
bool readTypeCheckingStringList(tcpip::Storage &inputStorage, std::vector< std::string > &into)
Reads the value type and a string list, verifying the type.
tcpip::Storage & getWrapperStorage()
virtual std::string readString()
TraCI server used to control sumo by a remote TraCI client.
static std::string getParameter(const std::string &routeID, const std::string ¶m)
void writeResponseWithLength(tcpip::Storage &outputStorage, tcpip::Storage &tempMsg)
virtual void writeString(const std::string &s)
std::string toHex(const T i, std::streamsize numDigits=0)
#define RESPONSE_GET_ROUTE_VARIABLE
static void setParameter(const std::string &routeID, const std::string &key, const std::string &value)
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xa6: Get Route Variable)
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)