41 const std::string
id = inputStorage.
readString();
TRACI_CONST int RESPONSE_GET_JUNCTION_VARIABLE
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xa9: Get Junction Variable)
bool writeErrorStatusCmd(int commandId, const std::string &description, tcpip::Storage &outputStorage)
Writes a status command to the given storage with status = RTYPE_ERR.
virtual int readUnsignedByte()
static TraCIPositionVector getShape(const std::string &junctionID)
TRACI_CONST int VAR_SHAPE
tcpip::Storage & getWrapperStorage()
virtual std::string readString()
TraCI server used to control sumo by a remote TraCI client.
void writeResponseWithLength(tcpip::Storage &outputStorage, tcpip::Storage &tempMsg)
void writePositionVector(tcpip::Storage &outputStorage, const libsumo::TraCIPositionVector &shape)
std::string toHex(const T i, std::streamsize numDigits=0)
TRACI_CONST int CMD_GET_JUNCTION_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)
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper)