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

Scope for interaction with the simulation. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::SimulationScope:
Inheritance graph
Collaboration diagram for TraCIAPI::SimulationScope:
Collaboration graph

Public Member Functions

std::vector< std::string > getArrivedIDList () const
 
unsigned int getArrivedNumber () const
 
SUMOTime getCurrentTime () const
 
SUMOTime getDeltaT () const
 
std::vector< std::string > getDepartedIDList () const
 
unsigned int getDepartedNumber () const
 
std::vector< std::string > getEndingTeleportIDList () const
 
unsigned int getEndingTeleportNumber () const
 
std::vector< std::string > getLoadedIDList () const
 
unsigned int getLoadedNumber () const
 
unsigned int getMinExpectedNumber () const
 
TraCIBoundary getNetBoundary () const
 
std::vector< std::string > getStartingTeleportIDList () const
 
unsigned int getStartingTeleportNumber () const
 
 SimulationScope (TraCIAPI &parent)
 
virtual ~SimulationScope ()
 

Protected Attributes

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

Private Member Functions

SimulationScopeoperator= (const SimulationScope &src)
 invalidated assignment operator More...
 
 SimulationScope (const SimulationScope &src)
 invalidated copy constructor More...
 

Detailed Description

Scope for interaction with the simulation.

Definition at line 529 of file TraCIAPI.h.

Constructor & Destructor Documentation

TraCIAPI::SimulationScope::SimulationScope ( TraCIAPI parent)
inline

Definition at line 531 of file TraCIAPI.h.

virtual TraCIAPI::SimulationScope::~SimulationScope ( )
inlinevirtual

Definition at line 532 of file TraCIAPI.h.

TraCIAPI::SimulationScope::SimulationScope ( const SimulationScope src)
private

invalidated copy constructor

Member Function Documentation

std::vector< std::string > TraCIAPI::SimulationScope::getArrivedIDList ( ) const

Definition at line 1150 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_ARRIVED_VEHICLES_IDS.

unsigned int TraCIAPI::SimulationScope::getArrivedNumber ( ) const

Definition at line 1145 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_ARRIVED_VEHICLES_NUMBER.

SUMOTime TraCIAPI::SimulationScope::getCurrentTime ( ) const

Definition at line 1120 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_TIME_STEP.

Referenced by TraCITestClient::testAPI().

SUMOTime TraCIAPI::SimulationScope::getDeltaT ( ) const

Definition at line 1175 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_DELTA_T.

std::vector< std::string > TraCIAPI::SimulationScope::getDepartedIDList ( ) const

Definition at line 1140 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_DEPARTED_VEHICLES_IDS.

unsigned int TraCIAPI::SimulationScope::getDepartedNumber ( ) const

Definition at line 1135 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_DEPARTED_VEHICLES_NUMBER.

std::vector< std::string > TraCIAPI::SimulationScope::getEndingTeleportIDList ( ) const

Definition at line 1170 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_TELEPORT_ENDING_VEHICLES_IDS.

unsigned int TraCIAPI::SimulationScope::getEndingTeleportNumber ( ) const

Definition at line 1165 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_TELEPORT_ENDING_VEHICLES_NUMBER.

std::vector< std::string > TraCIAPI::SimulationScope::getLoadedIDList ( ) const

Definition at line 1130 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_LOADED_VEHICLES_IDS.

unsigned int TraCIAPI::SimulationScope::getLoadedNumber ( ) const

Definition at line 1125 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_LOADED_VEHICLES_NUMBER.

unsigned int TraCIAPI::SimulationScope::getMinExpectedNumber ( ) const

Definition at line 1185 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_MIN_EXPECTED_VEHICLES.

TraCIAPI::TraCIBoundary TraCIAPI::SimulationScope::getNetBoundary ( ) const

Definition at line 1180 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_NET_BOUNDING_BOX.

std::vector< std::string > TraCIAPI::SimulationScope::getStartingTeleportIDList ( ) const

Definition at line 1160 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_TELEPORT_STARTING_VEHICLES_IDS.

unsigned int TraCIAPI::SimulationScope::getStartingTeleportNumber ( ) const

Definition at line 1155 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_TELEPORT_STARTING_VEHICLES_NUMBER.

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

invalidated assignment operator

Field Documentation

TraCIAPI& TraCIAPI::TraCIScopeWrapper::myParent
protectedinherited

The parent TraCI client which offers the connection.

Definition at line 192 of file TraCIAPI.h.


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