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

Scope for interaction with POIs. More...

#include <TraCIAPI.h>

Inheritance diagram for TraCIAPI::POIScope:
Inheritance graph
Collaboration diagram for TraCIAPI::POIScope:
Collaboration graph

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. More...
 

Private Member Functions

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

Detailed Description

Scope for interaction with POIs.

Definition at line 475 of file TraCIAPI.h.

Constructor & Destructor Documentation

§ POIScope() [1/2]

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

Definition at line 477 of file TraCIAPI.h.

§ ~POIScope()

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

§ POIScope() [2/2]

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

invalidated copy constructor

Member Function Documentation

§ add()

§ getColor()

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

Definition at line 1117 of file TraCIAPI.cpp.

References CMD_GET_POI_VARIABLE, and VAR_COLOR.

§ getIDList()

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

Definition at line 1102 of file TraCIAPI.cpp.

References CMD_GET_POI_VARIABLE, and ID_LIST.

§ getPosition()

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

Definition at line 1112 of file TraCIAPI.cpp.

References CMD_GET_POI_VARIABLE, and VAR_POSITION.

§ getType()

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

Definition at line 1107 of file TraCIAPI.cpp.

References CMD_GET_POI_VARIABLE, and VAR_TYPE.

§ operator=()

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

invalidated assignment operator

§ remove()

void TraCIAPI::POIScope::remove ( const std::string &  poiID,
int  layer = 0 
) const

§ setColor()

void TraCIAPI::POIScope::setColor ( const std::string &  poiID,
const TraCIColor c 
) const

§ setPosition()

void TraCIAPI::POIScope::setPosition ( const std::string &  poiID,
SUMOReal  x,
SUMOReal  y 
) const

§ setType()

void TraCIAPI::POIScope::setType ( const std::string &  poiID,
const std::string &  setType 
) const

Field Documentation

§ myParent

TraCIAPI& TraCIAPI::TraCIScopeWrapper::myParent
protectedinherited

The parent TraCI client which offers the connection.

Definition at line 208 of file TraCIAPI.h.


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