SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraCIAPI::SimulationScope Class Reference

Scope for interaction with the simulation. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::SimulationScope:
TraCIAPI::TraCIScopeWrapper

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.

Private Member Functions

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

Detailed Description

Scope for interaction with the simulation.

Definition at line 506 of file TraCIAPI.h.

Constructor & Destructor Documentation

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

Definition at line 508 of file TraCIAPI.h.

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

Definition at line 509 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 1126 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_ARRIVED_VEHICLES_IDS.

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

Definition at line 1121 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_ARRIVED_VEHICLES_NUMBER.

SUMOTime TraCIAPI::SimulationScope::getCurrentTime ( ) const

Definition at line 1096 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_TIME_STEP.

SUMOTime TraCIAPI::SimulationScope::getDeltaT ( ) const

Definition at line 1151 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_DELTA_T.

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

Definition at line 1116 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_DEPARTED_VEHICLES_IDS.

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

Definition at line 1111 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 1146 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_TELEPORT_ENDING_VEHICLES_IDS.

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

Definition at line 1141 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 1106 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_LOADED_VEHICLES_IDS.

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

Definition at line 1101 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_LOADED_VEHICLES_NUMBER.

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

Definition at line 1161 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_MIN_EXPECTED_VEHICLES.

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

Definition at line 1156 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 1136 of file TraCIAPI.cpp.

References CMD_GET_SIM_VARIABLE, and VAR_TELEPORT_STARTING_VEHICLES_IDS.

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

Definition at line 1131 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 188 of file TraCIAPI.h.

Referenced by TraCIAPI::EdgeScope::getIDList().


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