 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
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 bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper)
virtual void writeUnsignedByte(int)
bool readTypeCheckingString(tcpip::Storage &inputStorage, std::string &into)
Reads the value type and a string, verifying the type.
void writeResponseWithLength(tcpip::Storage &outputStorage, tcpip::Storage &tempMsg)
TRACI_CONST int VAR_PARAMETER
tcpip::Storage & getWrapperStorage()
void writeStatusCmd(int commandId, int status, const std::string &description, tcpip::Storage &outputStorage)
Writes a status command to the given storage.
static void add(const std::string &routeID, const std::vector< std::string > &edgeIDs)
void initWrapper(const int domainID, const int variable, const std::string &objID)
virtual int readUnsignedByte()
virtual std::string readString()
static void setParameter(const std::string &routeID, const std::string &key, const std::string &value)
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 Route Variable)
bool readTypeCheckingStringList(tcpip::Storage &inputStorage, std::vector< std::string > &into)
Reads the value type and a string list, verifying the type.
virtual void writeString(const std::string &s)
TRACI_CONST int RESPONSE_GET_ROUTE_VARIABLE
TRACI_CONST int TYPE_STRING
TraCI server used to control sumo by a remote TraCI client.
TRACI_CONST int CMD_SET_ROUTE_VARIABLE
static std::string getParameter(const std::string &routeID, const std::string ¶m)
TRACI_CONST int CMD_GET_ROUTE_VARIABLE
TRACI_CONST int TYPE_COMPOUND
bool writeErrorStatusCmd(int commandId, const std::string &description, tcpip::Storage &outputStorage)
Writes a status command to the given storage with status = RTYPE_ERR.