30typedef Domain<libsumo::CMD_GET_POLYGON_VARIABLE, libsumo::CMD_SET_POLYGON_VARIABLE>
Dom;
35std::vector<std::string>
42Polygon::getIDCount() {
48Polygon::getType(
const std::string& polygonID) {
54Polygon::getShape(
const std::string& polygonID) {
60Polygon::getFilled(
const std::string& polygonID) {
66Polygon::getLineWidth(
const std::string& polygonID) {
72Polygon::getColor(
const std::string& polygonID) {
81Polygon::setType(
const std::string& polygonID,
const std::string& polygonType) {
120Polygon::addDynamics(
const std::string& polygonID,
const std::string& trackedObjectID,
const std::vector<double>& timeSpan,
const std::vector<double>& alphaSpan,
bool looped,
bool rotate) {
125 content.
writeInt((
int)timeSpan.size());
126 for (
const double d : timeSpan) {
130 content.
writeInt((
int)alphaSpan.size());
131 for (
const double d : alphaSpan) {
143Polygon::remove(
const std::string& polygonID,
int layer) {
149Polygon::setFilled(std::string polygonID,
bool filled) {
155Polygon::setLineWidth(std::string polygonID,
double lineWidth) {
#define LIBTRACI_SUBSCRIPTION_IMPLEMENTATION(CLASS, DOMAIN)
#define LIBTRACI_PARAMETER_IMPLEMENTATION(CLASS, DOMAIN)
static void writeTypedDouble(tcpip::Storage &content, double value)
static void writePolygon(tcpip::Storage &content, const libsumo::TraCIPositionVector &shape)
static void writeCompound(tcpip::Storage &content, int size)
static void writeTypedInt(tcpip::Storage &content, int value)
static void writeTypedString(tcpip::Storage &content, const std::string &value)
static void setDouble(int var, const std::string &id, double value)
static void setCol(int var, const std::string &id, const libsumo::TraCIColor value)
static std::vector< std::string > getStringVector(int var, const std::string &id, tcpip::Storage *add=nullptr)
static libsumo::TraCIColor getCol(int var, const std::string &id, tcpip::Storage *add=nullptr)
static std::string getString(int var, const std::string &id, tcpip::Storage *add=nullptr)
static int getInt(int var, const std::string &id, tcpip::Storage *add=nullptr)
static libsumo::TraCIPositionVector getPolygon(int var, const std::string &id, tcpip::Storage *add=nullptr)
static void set(int var, const std::string &id, tcpip::Storage *add)
static double getDouble(int var, const std::string &id, tcpip::Storage *add=nullptr)
static void setInt(int var, const std::string &id, int value)
static void setString(int var, const std::string &id, const std::string &value)
virtual void writeInt(int)
virtual void writeDouble(double)
virtual void writeUnsignedByte(int)
TRACI_CONST int TYPE_COLOR
TRACI_CONST int TRACI_ID_LIST
TRACI_CONST int TYPE_UBYTE
TRACI_CONST int VAR_COLOR
TRACI_CONST int VAR_WIDTH
TRACI_CONST int VAR_SHAPE
TRACI_CONST int VAR_ADD_DYNAMICS
TRACI_CONST int TYPE_DOUBLELIST
Domain< libsumo::CMD_GET_BUSSTOP_VARIABLE, libsumo::CMD_SET_BUSSTOP_VARIABLE > Dom