22 #ifndef SUMO_TRACI_POLYGON_H 23 #define SUMO_TRACI_POLYGON_H 34 static std::vector<std::string>
getIDList();
35 static std::string
getType(
const std::string& polygonID);
38 static bool getFilled(
const std::string& polygonID);
39 static std::string
getParameter(
const std::string& polygonID,
const std::string& paramName);
40 static void setType(
const std::string& polygonID,
const std::string&
setType);
44 static void remove(
const std::string& polygonID,
int layer = 0);
50 static void setFilled(std::string polygonID,
bool filled);
51 static void setParameter(std::string& name, std::string& value, std::string&
string);
67 #endif //SUMO_TRACI_POLYGON_H static TraCIColor getColor(const std::string &polygonID)
static void add(const std::string &polygonID, const TraCIPositionVector &shape, const TraCIColor &c, bool fill, const std::string &type, int layer)
static std::string getParameter(const std::string &polygonID, const std::string ¶mName)
TraCI_Polygon()
invalidated standard constructor
static void subscribe(const std::string &objID, SUMOTime beginTime, SUMOTime endTime, const std::vector< int > &vars)
static void setParameter(std::string &name, std::string &value, std::string &string)
static void setColor(const std::string &polygonID, const TraCIColor &c)
static bool getFilled(const std::string &polygonID)
static std::string getType(const std::string &polygonID)
static void setFilled(std::string polygonID, bool filled)
static std::vector< std::string > getIDList()
TraCI_Polygon & operator=(const TraCI_Polygon &src)
invalidated assignment operator
static void subscribeContext(const std::string &objID, SUMOTime beginTime, SUMOTime endTime, int domain, double range, const std::vector< int > &vars)
static TraCIPositionVector getShape(const std::string &polygonID)
static void setType(const std::string &polygonID, const std::string &setType)
static void setShape(const std::string &polygonID, const TraCIPositionVector &shape)
static SUMO::Polygon * getPolygon(const std::string &id)