![]() |
SUMO - Simulation of Urban MObility
|
#include <TraCI_Polygon.h>
Static Public Member Functions | |
static void | add (const std::string &polygonID, const TraCIPositionVector &shape, const TraCIColor &c, bool fill, const std::string &type, int layer) |
static TraCIColor | getColor (const std::string &polygonID) |
static bool | getFilled (const std::string &polygonID) |
static std::vector< std::string > | getIDList () |
static std::string | getParameter (const std::string &polygonID, const std::string ¶mName) |
static TraCIPositionVector | getShape (const std::string &polygonID) |
static std::string | getType (const std::string &polygonID) |
static void | remove (const std::string &polygonID, int layer=0) |
static void | setColor (const std::string &polygonID, const TraCIColor &c) |
static void | setFilled (std::string polygonID, bool filled) |
static void | setParameter (std::string &name, std::string &value, std::string &string) |
static void | setShape (const std::string &polygonID, const TraCIPositionVector &shape) |
static void | setType (const std::string &polygonID, 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_Polygon & | operator= (const TraCI_Polygon &src) |
invalidated assignment operator More... | |
TraCI_Polygon () | |
invalidated standard constructor More... | |
TraCI_Polygon (const TraCI_Polygon &src) | |
invalidated copy constructor More... | |
Static Private Member Functions | |
static SUMO::Polygon * | getPolygon (const std::string &id) |
Definition at line 29 of file TraCI_Polygon.h.
|
private |
invalidated standard constructor
|
private |
invalidated copy constructor
|
static |
Definition at line 67 of file TraCI_Polygon.cpp.
References ShapeContainer::addPolygon(), Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, MSNet::getInstance(), MSNet::getShapeContainer(), TraCI::makePositionVector(), and TraCI::makeRGBColor().
Referenced by TraCIServerAPI_Polygon::processSet().
|
static |
Definition at line 46 of file TraCI_Polygon.cpp.
References Shape::getColor(), getPolygon(), and TraCI::makeTraCIColor().
Referenced by TraCIServerAPI_Polygon::processGet().
|
static |
Definition at line 43 of file TraCI_Polygon.cpp.
References SUMO::Polygon::getFill(), and getPolygon().
Referenced by TraCIServerAPI_Polygon::processGet().
|
static |
Definition at line 30 of file TraCI_Polygon.cpp.
References MSNet::getInstance(), ShapeContainer::getPolygons(), and MSNet::getShapeContainer().
Referenced by TraCIServerAPI_Polygon::processGet().
|
static |
Definition at line 50 of file TraCI_Polygon.cpp.
References Parameterised::getParameter(), and getPolygon().
Referenced by TraCIServerAPI_Polygon::processGet().
|
staticprivate |
Definition at line 88 of file TraCI_Polygon.cpp.
References MSNet::getInstance(), ShapeContainer::getPolygons(), and MSNet::getShapeContainer().
Referenced by getColor(), getFilled(), getParameter(), getShape(), getType(), setColor(), setFilled(), setParameter(), setShape(), and setType().
|
static |
Definition at line 39 of file TraCI_Polygon.cpp.
References getPolygon(), SUMO::Polygon::getShape(), and TraCI::makeTraCIPositionVector().
Referenced by TraCIServerAPI_Polygon::processGet().
|
static |
Definition at line 36 of file TraCI_Polygon.cpp.
References getPolygon(), and Shape::getType().
Referenced by TraCIServerAPI_Polygon::processGet().
|
private |
invalidated assignment operator
|
static |
Definition at line 75 of file TraCI_Polygon.cpp.
References MSNet::getInstance(), MSNet::getShapeContainer(), and ShapeContainer::removePolygon().
Referenced by TraCIServerAPI_Polygon::processSet().
|
static |
Definition at line 63 of file TraCI_Polygon.cpp.
References getPolygon(), TraCI::makeRGBColor(), and Shape::setColor().
Referenced by TraCIServerAPI_Polygon::processSet().
|
static |
Definition at line 83 of file TraCI_Polygon.cpp.
References getPolygon(), and SUMO::Polygon::setFill().
Referenced by TraCIServerAPI_Polygon::processSet().
|
static |
Definition at line 95 of file TraCI_Polygon.cpp.
References Parameterised::addParameter(), and getPolygon().
Referenced by TraCIServerAPI_Polygon::processSet().
|
static |
Definition at line 57 of file TraCI_Polygon.cpp.
References MSNet::getInstance(), getPolygon(), MSNet::getShapeContainer(), TraCI::makePositionVector(), and ShapeContainer::reshapePolygon().
Referenced by TraCIServerAPI_Polygon::processSet().
|
static |
Definition at line 53 of file TraCI_Polygon.cpp.
References getPolygon(), and Shape::setType().
Referenced by TraCIServerAPI_Polygon::processSet().
|
static |
|
static |