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

Scope for interaction with junctions. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::JunctionScope:
Inheritance graph
Collaboration diagram for TraCIAPI::JunctionScope:
Collaboration graph

Public Member Functions

std::vector< std::string > getIDList () const
 
TraCIPosition getPosition (const std::string &junctionID) const
 
 JunctionScope (TraCIAPI &parent)
 
virtual ~JunctionScope ()
 

Protected Attributes

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

Private Member Functions

 JunctionScope (const JunctionScope &src)
 invalidated copy constructor More...
 
JunctionScopeoperator= (const JunctionScope &src)
 invalidated assignment operator More...
 

Detailed Description

Scope for interaction with junctions.

Definition at line 354 of file TraCIAPI.h.

Constructor & Destructor Documentation

§ JunctionScope() [1/2]

TraCIAPI::JunctionScope::JunctionScope ( TraCIAPI parent)
inline

Definition at line 356 of file TraCIAPI.h.

§ ~JunctionScope()

virtual TraCIAPI::JunctionScope::~JunctionScope ( )
inlinevirtual

Definition at line 357 of file TraCIAPI.h.

References TraCIAPI::getPosition().

§ JunctionScope() [2/2]

TraCIAPI::JunctionScope::JunctionScope ( const JunctionScope src)
private

invalidated copy constructor

Member Function Documentation

§ getIDList()

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

Definition at line 874 of file TraCIAPI.cpp.

References CMD_GET_JUNCTION_VARIABLE, and ID_LIST.

§ getPosition()

TraCIAPI::TraCIPosition TraCIAPI::JunctionScope::getPosition ( const std::string &  junctionID) const

Definition at line 879 of file TraCIAPI.cpp.

References CMD_GET_JUNCTION_VARIABLE, and VAR_POSITION.

§ operator=()

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

invalidated assignment operator

Field Documentation

§ myParent

TraCIAPI& TraCIAPI::TraCIScopeWrapper::myParent
protectedinherited

The parent TraCI client which offers the connection.

Definition at line 208 of file TraCIAPI.h.


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