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

Scope for interaction with vehicles. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::PersonScope:
Inheritance graph
Collaboration diagram for TraCIAPI::PersonScope:
Collaboration graph

Public Member Functions

int getIDCount () const
 
std::vector< std::string > getIDList () const
 
std::string getNextEdge (const std::string &typeID) const
 
TraCIPosition getPosition (const std::string &typeID) const
 
std::string getRoadID (const std::string &typeID) const
 
SUMOReal getSpeed (const std::string &typeID) const
 
std::string getTypeID (const std::string &typeID) const
 
SUMOReal getWaitingTime (const std::string &typeID) const
 
 PersonScope (TraCIAPI &parent)
 
virtual ~PersonScope ()
 

Protected Attributes

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

Private Member Functions

PersonScopeoperator= (const PersonScope &src)
 invalidated assignment operator More...
 
 PersonScope (const PersonScope &src)
 invalidated copy constructor More...
 

Detailed Description

Scope for interaction with vehicles.

Definition at line 811 of file TraCIAPI.h.

Constructor & Destructor Documentation

TraCIAPI::PersonScope::PersonScope ( TraCIAPI parent)
inline

Definition at line 813 of file TraCIAPI.h.

virtual TraCIAPI::PersonScope::~PersonScope ( )
inlinevirtual

Definition at line 814 of file TraCIAPI.h.

TraCIAPI::PersonScope::PersonScope ( const PersonScope src)
private

invalidated copy constructor

Member Function Documentation

int TraCIAPI::PersonScope::getIDCount ( ) const

Definition at line 2151 of file TraCIAPI.cpp.

References CMD_GET_PERSON_VARIABLE, and ID_COUNT.

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

Definition at line 2146 of file TraCIAPI.cpp.

References CMD_GET_PERSON_VARIABLE, and ID_LIST.

Referenced by TraCITestClient::testAPI().

std::string TraCIAPI::PersonScope::getNextEdge ( const std::string &  typeID) const

Definition at line 2181 of file TraCIAPI.cpp.

References CMD_GET_PERSON_VARIABLE, and VAR_NEXT_EDGE.

Referenced by TraCITestClient::testAPI().

TraCIAPI::TraCIPosition TraCIAPI::PersonScope::getPosition ( const std::string &  typeID) const

Definition at line 2161 of file TraCIAPI.cpp.

References CMD_GET_PERSON_VARIABLE, and VAR_POSITION.

std::string TraCIAPI::PersonScope::getRoadID ( const std::string &  typeID) const

Definition at line 2166 of file TraCIAPI.cpp.

References CMD_GET_PERSON_VARIABLE, and VAR_ROAD_ID.

Referenced by TraCITestClient::testAPI().

SUMOReal TraCIAPI::PersonScope::getSpeed ( const std::string &  typeID) const

Definition at line 2156 of file TraCIAPI.cpp.

References CMD_GET_PERSON_VARIABLE, and VAR_SPEED.

std::string TraCIAPI::PersonScope::getTypeID ( const std::string &  typeID) const

Definition at line 2171 of file TraCIAPI.cpp.

References CMD_GET_PERSON_VARIABLE, and VAR_TYPE.

Referenced by TraCITestClient::testAPI().

SUMOReal TraCIAPI::PersonScope::getWaitingTime ( const std::string &  typeID) const

Definition at line 2176 of file TraCIAPI.cpp.

References CMD_GET_PERSON_VARIABLE, and VAR_WAITING_TIME.

Referenced by TraCITestClient::testAPI().

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

invalidated assignment operator

Field Documentation

TraCIAPI& TraCIAPI::TraCIScopeWrapper::myParent
protectedinherited

The parent TraCI client which offers the connection.

Definition at line 208 of file TraCIAPI.h.

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


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