![]() |
SUMO - Simulation of Urban MObility
|
Scope for interaction with vehicles. More...
#include <TraCIAPI.h>


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 | |
| TraCIAPI & | myParent |
| The parent TraCI client which offers the connection. More... | |
Private Member Functions | |
| PersonScope & | operator= (const PersonScope &src) |
| invalidated assignment operator More... | |
| PersonScope (const PersonScope &src) | |
| invalidated copy constructor More... | |
|
inline |
Definition at line 813 of file TraCIAPI.h.
|
inlinevirtual |
Definition at line 814 of file TraCIAPI.h.
References TraCIAPI::getPosition(), and SUMOReal.
|
private |
invalidated copy constructor
| int TraCIAPI::PersonScope::getIDCount | ( | ) | const |
Definition at line 2151 of file TraCIAPI.cpp.
References CMD_GET_PERSON_VARIABLE, ID_COUNT, and SUMOReal.
| 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, SUMOReal, 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().
|
private |
invalidated assignment operator
|
protectedinherited |
The parent TraCI client which offers the connection.
Definition at line 208 of file TraCIAPI.h.