40 class VariableWrapper;
54 static std::vector<std::string>
getIDList();
56 static std::string
getType(
const std::string& poiID);
59 static std::string
getParameter(
const std::string& poiID,
const std::string& key);
61 static void setType(
const std::string& poiID,
const std::string&
setType);
63 static void setPosition(
const std::string& poiID,
double x,
double y);
64 static bool add(
const std::string& poiID,
double x,
double y,
const TraCIColor& color,
const std::string& poiType =
"",
int layer = 0);
65 static bool remove(
const std::string& poiID,
int layer = 0);
67 static void setParameter(
const std::string& poiID,
const std::string& key,
const std::string& value);
82 static std::shared_ptr<VariableWrapper>
makeWrapper();
std::map< std::string, TraCIResults > SubscriptionResults
{object->{variable->value}}
#define LIBSUMO_SUBSCRIPTION_API
static LIBSUMO_SUBSCRIPTION_API NamedRTree * getTree()
Returns a tree filled with PoI instances.
static void setParameter(const std::string &poiID, const std::string &key, const std::string &value)
static void setColor(const std::string &poiID, const TraCIColor &c)
A RT-tree for efficient storing of SUMO's Named objects.
std::map< std::string, SubscriptionResults > ContextSubscriptionResults
static bool add(const std::string &poiID, double x, double y, const TraCIColor &color, const std::string &poiType="", int layer=0)
static std::shared_ptr< VariableWrapper > makeWrapper()
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper)
POI()=delete
invalidated standard constructor
static SubscriptionResults mySubscriptionResults
static void setType(const std::string &poiID, const std::string &setType)
static std::vector< std::string > getIDList()
static std::string getParameter(const std::string &poiID, const std::string &key)
static ContextSubscriptionResults myContextSubscriptionResults
static TraCIPosition getPosition(const std::string &poiID, const bool includeZ=false)
static std::string getType(const std::string &poiID)
static PointOfInterest * getPoI(const std::string &id)
static TraCIColor getColor(const std::string &poiID)
static void storeShape(const std::string &id, PositionVector &shape)
Saves the shape of the requested object in the given container.
static void setPosition(const std::string &poiID, double x, double y)