29 typedef Domain<libsumo::CMD_GET_GUI_VARIABLE, libsumo::CMD_SET_GUI_VARIABLE>
Dom;
34 std::vector<std::string>
47 GUI::getZoom(
const std::string& viewID) {
53 GUI::getAngle(
const std::string& viewID) {
59 GUI::getOffset(
const std::string& viewID) {
65 GUI::getSchema(
const std::string& viewID) {
71 GUI::getBoundary(
const std::string& viewID) {
80 GUI::setZoom(
const std::string& viewID,
double zoom) {
86 GUI::setAngle(
const std::string& viewID,
double angle) {
92 GUI::setOffset(
const std::string& viewID,
double x,
double y) {
102 GUI::setSchema(
const std::string& viewID,
const std::string& schemeName) {
107 GUI::addView(
const std::string& viewID,
const std::string& schemeName,
bool in3D) {
116 GUI::removeView(
const std::string& viewID) {
122 GUI::setBoundary(
const std::string& viewID,
double xmin,
double ymin,
double xmax,
double ymax) {
135 GUI::screenshot(
const std::string& viewID,
const std::string& filename,
const int width,
const int height) {
146 GUI::trackVehicle(
const std::string& viewID,
const std::string& vehID) {
152 GUI::hasView(
const std::string& viewID) {
158 GUI::getTrackedVehicle(
const std::string& viewID) {
164 GUI::track(
const std::string& objID,
const std::string& viewID) {
170 GUI::isSelected(
const std::string& objID,
const std::string& objType) {
178 GUI::toggleSelection(
const std::string& objID,
const std::string& objType) {
#define LIBTRACI_SUBSCRIPTION_IMPLEMENTATION(CLASS, DOMAIN)
#define LIBTRACI_PARAMETER_IMPLEMENTATION(CLASS, DOMAIN)
C++ TraCI client API implementation.
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 libsumo::TraCIPosition getPos(int var, const std::string &id, tcpip::Storage *add=nullptr, const bool isGeo=false)
static std::vector< std::string > getStringVector(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 setString(int var, const std::string &id, const std::string &value)
virtual void writeDouble(double)
virtual void writeUnsignedByte(int)
TRACI_CONST int TRACI_ID_LIST
TRACI_CONST int VAR_VIEW_BOUNDARY
TRACI_CONST int VAR_SCREENSHOT
TRACI_CONST int VAR_ANGLE
TRACI_CONST int VAR_VIEW_OFFSET
TRACI_CONST int VAR_VIEW_SCHEMA
TRACI_CONST int POSITION_2D
TRACI_CONST int TYPE_POLYGON
TRACI_CONST int VAR_VIEW_ZOOM
TRACI_CONST int VAR_TRACK_VEHICLE
TRACI_CONST int VAR_HAS_VIEW
TRACI_CONST int VAR_SELECT
Domain< libsumo::CMD_GET_BUSSTOP_VARIABLE, libsumo::CMD_SET_BUSSTOP_VARIABLE > Dom
A 2D or 3D-position, for 2D positions z == INVALID_DOUBLE_VALUE.