SUMO - Simulation of Urban MObility
TraCIAPI::RouteScope Class Reference

Scope for interaction with routes. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::RouteScope:
Inheritance graph
Collaboration diagram for TraCIAPI::RouteScope:
Collaboration graph

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

TraCIAPImyParent
 The parent TraCI client which offers the connection. More...
 

Private Member Functions

RouteScopeoperator= (const RouteScope &src)
 invalidated assignment operator More...
 
 RouteScope (const RouteScope &src)
 invalidated copy constructor More...
 

Detailed Description

Scope for interaction with routes.

Definition at line 536 of file TraCIAPI.h.

Constructor & Destructor Documentation

TraCIAPI::RouteScope::RouteScope ( TraCIAPI parent)
inline

Definition at line 538 of file TraCIAPI.h.

virtual TraCIAPI::RouteScope::~RouteScope ( )
inlinevirtual

Definition at line 539 of file TraCIAPI.h.

TraCIAPI::RouteScope::RouteScope ( const RouteScope src)
private

invalidated copy constructor

Member Function Documentation

void TraCIAPI::RouteScope::add ( const std::string &  routeID,
const std::vector< std::string > &  edges 
) const
std::vector< std::string > TraCIAPI::RouteScope::getEdges ( const std::string &  routeID) const

Definition at line 1283 of file TraCIAPI.cpp.

References CMD_GET_ROUTE_VARIABLE, and VAR_EDGES.

std::vector< std::string > TraCIAPI::RouteScope::getIDList ( ) const

Definition at line 1278 of file TraCIAPI.cpp.

References CMD_GET_ROUTE_VARIABLE, and ID_LIST.

Referenced by TraCITestClient::testAPI().

RouteScope& TraCIAPI::RouteScope::operator= ( const RouteScope src)
private

invalidated assignment operator

Field Documentation

TraCIAPI& TraCIAPI::TraCIScopeWrapper::myParent
protectedinherited

The parent TraCI client which offers the connection.

Definition at line 206 of file TraCIAPI.h.


The documentation for this class was generated from the following files: