![]() |
SUMO - Simulation of Urban MObility
|
C++ TraCI client API implementation. More...
#include <TraCI_POI.h>

Static Public Member Functions | |
| static bool | add (const std::string &poiID, const TraCIPosition &pos, const TraCIColor &c, const std::string &type, int layer) |
| static TraCIColor | getColor (const std::string &poiID) |
| static int | getIDCount () |
| static std::vector< std::string > | getIDList () |
| static std::string | getParameter (const std::string &poiID, const std::string ¶m) |
| static TraCIPosition | getPosition (const std::string &poiID) |
| static std::string | getType (const std::string &poiID) |
| static bool | remove (const std::string &poiID, int layer=0) |
| static void | setColor (const std::string &poiID, const TraCIColor &c) |
| static void | setParameter (const std::string &poiID, const std::string ¶m, const std::string &value) |
| static void | setPosition (const std::string &poiID, const TraCIPosition &pos) |
| static void | setType (const std::string &poiID, const std::string &setType) |
| static void | subscribe (const std::string &objID, SUMOTime beginTime, SUMOTime endTime, const std::vector< int > &vars) |
| static void | subscribeContext (const std::string &objID, SUMOTime beginTime, SUMOTime endTime, int domain, double range, const std::vector< int > &vars) |
Private Member Functions | |
| TraCI_POI & | operator= (const TraCI_POI &src) |
| invalidated assignment operator More... | |
| TraCI_POI () | |
| invalidated standard constructor More... | |
| TraCI_POI (const TraCI_POI &src) | |
| invalidated copy constructor More... | |
Static Private Member Functions | |
| static PointOfInterest * | getPoI (const std::string &id) |
C++ TraCI client API implementation.
Definition at line 52 of file TraCI_POI.h.
|
private |
invalidated standard constructor
|
private |
invalidated copy constructor
|
static |
Definition at line 106 of file TraCI_POI.cpp.
References ShapeContainer::addPOI(), Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, Shape::DEFAULT_IMG_HEIGHT, Shape::DEFAULT_IMG_WIDTH, MSNet::getInstance(), MSNet::getShapeContainer(), TraCI::makePosition(), and TraCI::makeRGBColor().
Referenced by TraCIServerAPI_POI::processSet().
|
static |
Definition at line 65 of file TraCI_POI.cpp.
References Shape::getColor(), getPoI(), and TraCI::makeTraCIColor().
Referenced by TraCIServerAPI_POI::processGet().
|
static |
Definition at line 55 of file TraCI_POI.cpp.
References getIDList().
Referenced by TraCIServerAPI_POI::processGet().
|
static |
Definition at line 47 of file TraCI_POI.cpp.
References MSNet::getInstance(), ShapeContainer::getPOIs(), MSNet::getShapeContainer(), and NamedObjectCont< T >::insertIDs().
Referenced by getIDCount(), and TraCIServerAPI_POI::processGet().
|
static |
Definition at line 82 of file TraCI_POI.cpp.
References Parameterised::getParameter(), and getPoI().
Referenced by TraCIServerAPI_POI::processGet().
|
staticprivate |
Definition at line 129 of file TraCI_POI.cpp.
References NamedObjectCont< T >::get(), MSNet::getInstance(), ShapeContainer::getPOIs(), and MSNet::getShapeContainer().
Referenced by getColor(), getParameter(), getPosition(), getType(), setColor(), setParameter(), setPosition(), and setType().
|
static |
Definition at line 72 of file TraCI_POI.cpp.
References getPoI(), Position::x(), TraCIPosition::x, Position::y(), TraCIPosition::y, TraCIPosition::z, and Position::z().
Referenced by TraCIServerAPI_POI::processGet().
|
static |
Definition at line 60 of file TraCI_POI.cpp.
References getPoI(), and Shape::getType().
Referenced by TraCIServerAPI_POI::processGet().
|
static |
Definition at line 116 of file TraCI_POI.cpp.
References MSNet::getInstance(), MSNet::getShapeContainer(), and ShapeContainer::removePOI().
Referenced by TraCIServerAPI_POI::processSet().
|
static |
Definition at line 100 of file TraCI_POI.cpp.
References getPoI(), TraCI::makeRGBColor(), and Shape::setColor().
Referenced by TraCIServerAPI_POI::processSet().
|
static |
Definition at line 122 of file TraCI_POI.cpp.
References getPoI(), and Parameterised::setParameter().
Referenced by TraCIServerAPI_POI::processSet().
|
static |
Definition at line 94 of file TraCI_POI.cpp.
References getPoI(), TraCI::makePosition(), and Position::set().
Referenced by TraCIServerAPI_POI::processSet().
|
static |
Definition at line 88 of file TraCI_POI.cpp.
References getPoI(), and Shape::setType().
Referenced by TraCIServerAPI_POI::processSet().
|
static |
|
static |