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

Scope for interaction with POIs. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::POIScope:
TraCIAPI::TraCIScopeWrapper

Public Member Functions

void add (const std::string &poiID, SUMOReal x, SUMOReal y, const TraCIColor &c, const std::string &type, int layer) const
TraCIColor getColor (const std::string &poiID) const
std::vector< std::string > getIDList () const
TraCIPosition getPosition (const std::string &poiID) const
std::string getType (const std::string &poiID) const
 POIScope (TraCIAPI &parent)
void remove (const std::string &poiID, int layer=0) const
void setColor (const std::string &poiID, const TraCIColor &c) const
void setPosition (const std::string &poiID, SUMOReal x, SUMOReal y) const
void setType (const std::string &poiID, const std::string &setType) const
virtual ~POIScope ()

Protected Attributes

TraCIAPImyParent
 The parent TraCI client which offers the connection.

Private Member Functions

POIScopeoperator= (const POIScope &src)
 invalidated assignment operator
 POIScope (const POIScope &src)
 invalidated copy constructor

Detailed Description

Scope for interaction with POIs.

Definition at line 417 of file TraCIAPI.h.

Constructor & Destructor Documentation

TraCIAPI::POIScope::POIScope ( TraCIAPI parent)
inline

Definition at line 419 of file TraCIAPI.h.

virtual TraCIAPI::POIScope::~POIScope ( )
inlinevirtual

Definition at line 420 of file TraCIAPI.h.

TraCIAPI::POIScope::POIScope ( const POIScope src)
private

invalidated copy constructor

Member Function Documentation

TraCIAPI::TraCIColor TraCIAPI::POIScope::getColor ( const std::string &  poiID) const

Definition at line 912 of file TraCIAPI.cpp.

References CMD_GET_POI_VARIABLE, and VAR_COLOR.

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

Definition at line 897 of file TraCIAPI.cpp.

References CMD_GET_POI_VARIABLE, and ID_LIST.

TraCIAPI::TraCIPosition TraCIAPI::POIScope::getPosition ( const std::string &  poiID) const

Definition at line 907 of file TraCIAPI.cpp.

References CMD_GET_POI_VARIABLE, and VAR_POSITION.

std::string TraCIAPI::POIScope::getType ( const std::string &  poiID) const

Definition at line 902 of file TraCIAPI.cpp.

References CMD_GET_POI_VARIABLE, and VAR_TYPE.

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

invalidated assignment operator

void TraCIAPI::POIScope::remove ( const std::string &  poiID,
int  layer = 0 
) const
void TraCIAPI::POIScope::setColor ( const std::string &  poiID,
const TraCIColor c 
) const
void TraCIAPI::POIScope::setPosition ( const std::string &  poiID,
SUMOReal  x,
SUMOReal  y 
) const
void TraCIAPI::POIScope::setType ( const std::string &  poiID,
const std::string &  setType 
) const

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: