SUMO - Simulation of Urban MObility

TraCIServerAPI_Edge Class Reference

APIs for getting/setting edge values via TraCI. More...

#include <TraCIServerAPI_Edge.h>

Static Public Member Functions

static bool processGet (traci::TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a get value command (Command 0xaa: Get Edge Variable)
static bool processSet (traci::TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
 Processes a set value command (Command 0xca: Change Edge State)

Private Member Functions

TraCIServerAPI_Edge & operator= (const TraCIServerAPI_Edge &s)
 invalidated assignment operator
 TraCIServerAPI_Edge (const TraCIServerAPI_Edge &s)
 invalidated copy constructor

Detailed Description

APIs for getting/setting edge values via TraCI.

Definition at line 47 of file TraCIServerAPI_Edge.h.


Constructor & Destructor Documentation

TraCIServerAPI_Edge::TraCIServerAPI_Edge ( const TraCIServerAPI_Edge &  s) [private]

invalidated copy constructor


Member Function Documentation

TraCIServerAPI_Edge& TraCIServerAPI_Edge::operator= ( const TraCIServerAPI_Edge &  s) [private]

invalidated assignment operator

bool TraCIServerAPI_Edge::processGet ( traci::TraCIServer &  server,
tcpip::Storage &  inputStorage,
tcpip::Storage &  outputStorage 
) [static]
bool TraCIServerAPI_Edge::processSet ( traci::TraCIServer &  server,
tcpip::Storage &  inputStorage,
tcpip::Storage &  outputStorage 
) [static]

Processes a set value command (Command 0xca: Change Edge State)

Parameters:
[in]serverThe TraCI-server-instance which schedules this request
[in]inputStorageThe storage to read the command from
[out]outputStorageThe storage to write the result to

Definition at line 303 of file TraCIServerAPI_Edge.cpp.

References MSEdgeWeightsStorage::addEffort(), MSEdgeWeightsStorage::addTravelTime(), CMD_GET_EDGE_VARIABLE, CMD_SET_EDGE_VARIABLE, CMD_SET_VEHICLE_VARIABLE, MSEdge::dictionary(), MSNet::getInstance(), MSEdge::getLanes(), MSNet::getWeightsStorage(), LANE_ALLOWED, LANE_DISALLOWED, parseVehicleClasses(), MSEdge::rebuildAllowedLanes(), RTYPE_ERR, RTYPE_OK, SUMOReal, SUMOTime_MAX, TYPE_COMPOUND, TYPE_DOUBLE, TYPE_INTEGER, TYPE_STRINGLIST, VAR_EDGE_EFFORT, VAR_EDGE_TRAVELTIME, VAR_MAXSPEED, and traci::TraCIServer::writeStatusCmd().


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines