48 static std::string
getType(
const std::string& poiID);
51 static double getWidth(
const std::string& poiID);
52 static double getHeight(
const std::string& poiID);
53 static double getAngle(
const std::string& poiID);
54 static std::string
getImageFile(
const std::string& poiID);
59 static void setType(
const std::string& poiID,
const std::string&
setType);
61 static void setPosition(
const std::string& poiID,
double x,
double y);
62 static void setWidth(
const std::string& poiID,
double width);
63 static void setHeight(
const std::string& poiID,
double height);
64 static void setAngle(
const std::string& poiID,
double angle);
65 static void setImageFile(
const std::string& poiID,
const std::string& imageFile);
66 static bool add(
const std::string& poiID,
double x,
double y,
const libsumo::TraCIColor& color,
const std::string& poiType =
"",
int layer = 0,
const std::string& imgFile =
"",
double width = 1,
double height = 1,
double angle = 0);
67 static bool remove(
const std::string& poiID,
int layer = 0);
85 static std::shared_ptr<VariableWrapper>
makeWrapper();
#define LIBSUMO_ID_PARAMETER_API
#define LIBSUMO_SUBSCRIPTION_API
static bool remove(const std::string &poiID, int layer=0)
static void setPosition(const std::string &poiID, double x, double y)
static void setHeight(const std::string &poiID, double height)
static std::string getImageFile(const std::string &poiID)
static SubscriptionResults mySubscriptionResults
static NamedRTree * getTree()
Returns a tree filled with PoI instances.
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API void setType(const std::string &poiID, const std::string &setType)
static void setColor(const std::string &poiID, const libsumo::TraCIColor &color)
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
static void setImageFile(const std::string &poiID, const std::string &imageFile)
static void highlight(const std::string &poiID, const libsumo::TraCIColor &col=libsumo::TraCIColor(255, 0, 0, 255), double size=-1, const int alphaMax=-1, const double duration=-1, const int type=0)
static double getWidth(const std::string &poiID)
static libsumo::TraCIPosition getPosition(const std::string &poiID, const bool includeZ=false)
static double getHeight(const std::string &poiID)
static void setWidth(const std::string &poiID, double width)
static double getAngle(const std::string &poiID)
POI()=delete
invalidated standard constructor
static PointOfInterest * getPoI(const std::string &id)
static void setAngle(const std::string &poiID, double angle)
static ContextSubscriptionResults myContextSubscriptionResults
static std::shared_ptr< VariableWrapper > makeWrapper()
static void storeShape(const std::string &id, PositionVector &shape)
Saves the shape of the requested object in the given container.
static std::string getType(const std::string &poiID)
static bool add(const std::string &poiID, double x, double y, const libsumo::TraCIColor &color, const std::string &poiType="", int layer=0, const std::string &imgFile="", double width=1, double height=1, double angle=0)
static libsumo::TraCIColor getColor(const std::string &poiID)
static NamedRTree * myTree
A RT-tree for efficient storing of SUMO's Named objects.
std::map< std::string, libsumo::SubscriptionResults > ContextSubscriptionResults
std::map< std::string, libsumo::TraCIResults > SubscriptionResults
{object->{variable->value}}