SUMO - Simulation of Urban MObility
|
Scope for interaction with routes. More...
#include <TraCIAPI.h>
Public Member Functions | |
void | add (const std::string &routeID, const std::vector< std::string > &edges) const |
std::vector< std::string > | getEdges (const std::string &routeID) const |
std::vector< std::string > | getIDList () const |
RouteScope (TraCIAPI &parent) | |
virtual | ~RouteScope () |
Protected Attributes | |
TraCIAPI & | myParent |
The parent TraCI client which offers the connection. More... | |
Private Member Functions | |
RouteScope & | operator= (const RouteScope &src) |
invalidated assignment operator More... | |
RouteScope (const RouteScope &src) | |
invalidated copy constructor More... | |
Scope for interaction with routes.
Definition at line 501 of file TraCIAPI.h.
|
inline |
Definition at line 503 of file TraCIAPI.h.
|
inlinevirtual |
Definition at line 504 of file TraCIAPI.h.
|
private |
invalidated copy constructor
void TraCIAPI::RouteScope::add | ( | const std::string & | routeID, |
const std::vector< std::string > & | edges | ||
) | const |
Definition at line 1094 of file TraCIAPI.cpp.
References CMD_SET_ROUTE_VARIABLE, TYPE_STRINGLIST, VAR_POSITION, tcpip::Storage::writeStringList(), and tcpip::Storage::writeUnsignedByte().
std::vector< std::string > TraCIAPI::RouteScope::getEdges | ( | const std::string & | routeID | ) | const |
Definition at line 1088 of file TraCIAPI.cpp.
References CMD_GET_ROUTE_VARIABLE, and VAR_EDGES.
std::vector< std::string > TraCIAPI::RouteScope::getIDList | ( | ) | const |
Definition at line 1083 of file TraCIAPI.cpp.
References CMD_GET_ROUTE_VARIABLE, and ID_LIST.
|
private |
invalidated assignment operator
|
protectedinherited |
The parent TraCI client which offers the connection.
Definition at line 190 of file TraCIAPI.h.
Referenced by TraCIAPI::EdgeScope::getIDList().