 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
40 const std::string
id = inputStorage.
readString();
51 tempContent.
writeInt((
int)vd.size());
76 "Get Induction Loop Variable: unsupported variable " +
toHex(variable, 2)
77 +
" specified", outputStorage);
virtual void writeUnsignedByte(int)
static std::vector< libsumo::TraCIVehicleData > getVehicleData(const std::string &detID)
void writeResponseWithLength(tcpip::Storage &outputStorage, tcpip::Storage &tempMsg)
mirrors MSInductLoop::VehicleData
tcpip::Storage & getWrapperStorage()
TRACI_CONST int LAST_STEP_VEHICLE_DATA
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)
virtual int readUnsignedByte()
virtual void writeInt(int)
TRACI_CONST int TYPE_DOUBLE
virtual std::string readString()
TRACI_CONST int TYPE_INTEGER
virtual void writeStorage(tcpip::Storage &store)
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xa0: Get Induction Loop Variable)
std::string toHex(const T i, std::streamsize numDigits=0)
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper)
virtual void writeString(const std::string &s)
TRACI_CONST int CMD_GET_INDUCTIONLOOP_VARIABLE
TRACI_CONST int TYPE_STRING
virtual void writeDouble(double)
TRACI_CONST int RESPONSE_GET_INDUCTIONLOOP_VARIABLE
TraCI server used to control sumo by a remote TraCI client.
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.