Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
libtraci::Domain< GET, SET > Class Template Reference

#include <Domain.h>

Static Public Member Functions

static tcpip::Storageget (int var, const std::string &id, tcpip::Storage *add=nullptr, int expectedType=libsumo::TYPE_COMPOUND)
 
static int getByte (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 double getDouble (int var, const std::string &id, tcpip::Storage *add=nullptr)
 
static std::vector< double > getDoubleVector (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 libsumo::TraCIPosition getPos (int var, const std::string &id, tcpip::Storage *add=nullptr, const bool isGeo=false)
 
static libsumo::TraCIPosition getPos3D (int var, const std::string &id, tcpip::Storage *add=nullptr, const bool isGeo=false)
 
static std::string getString (int var, const std::string &id, tcpip::Storage *add=nullptr)
 
static std::vector< std::string > getStringVector (int var, const std::string &id, tcpip::Storage *add=nullptr)
 
static libsumo::TraCIStage getTraCIStage (int var, const std::string &id, tcpip::Storage *add=nullptr)
 
static int getUnsignedByte (int var, const std::string &id, tcpip::Storage *add=nullptr)
 
static void set (int var, const std::string &id, tcpip::Storage *add)
 
static void setCol (int var, const std::string &id, const libsumo::TraCIColor value)
 
static void setDouble (int var, const std::string &id, double value)
 
static void setInt (int var, const std::string &id, int value)
 
static void setString (int var, const std::string &id, const std::string &value)
 
static void setStringVector (int var, const std::string &id, const std::vector< std::string > &value)
 

Detailed Description

template<int GET, int SET>
class libtraci::Domain< GET, SET >

Definition at line 109 of file Domain.h.

Member Function Documentation

◆ get()

◆ getByte()

template<int GET, int SET>
static int libtraci::Domain< GET, SET >::getByte ( int  var,
const std::string &  id,
tcpip::Storage add = nullptr 
)
inlinestatic

◆ getCol()

◆ getDouble()

template<int GET, int SET>
static double libtraci::Domain< GET, SET >::getDouble ( int  var,
const std::string &  id,
tcpip::Storage add = nullptr 
)
inlinestatic

◆ getDoubleVector()

template<int GET, int SET>
static std::vector< double > libtraci::Domain< GET, SET >::getDoubleVector ( int  var,
const std::string &  id,
tcpip::Storage add = nullptr 
)
inlinestatic

◆ getInt()

template<int GET, int SET>
static int libtraci::Domain< GET, SET >::getInt ( int  var,
const std::string &  id,
tcpip::Storage add = nullptr 
)
inlinestatic

◆ getPolygon()

◆ getPos()

template<int GET, int SET>
static libsumo::TraCIPosition libtraci::Domain< GET, SET >::getPos ( int  var,
const std::string &  id,
tcpip::Storage add = nullptr,
const bool  isGeo = false 
)
inlinestatic

◆ getPos3D()

template<int GET, int SET>
static libsumo::TraCIPosition libtraci::Domain< GET, SET >::getPos3D ( int  var,
const std::string &  id,
tcpip::Storage add = nullptr,
const bool  isGeo = false 
)
inlinestatic

◆ getString()

template<int GET, int SET>
static std::string libtraci::Domain< GET, SET >::getString ( int  var,
const std::string &  id,
tcpip::Storage add = nullptr 
)
inlinestatic

◆ getStringVector()

template<int GET, int SET>
static std::vector< std::string > libtraci::Domain< GET, SET >::getStringVector ( int  var,
const std::string &  id,
tcpip::Storage add = nullptr 
)
inlinestatic

◆ getTraCIStage()

◆ getUnsignedByte()

template<int GET, int SET>
static int libtraci::Domain< GET, SET >::getUnsignedByte ( int  var,
const std::string &  id,
tcpip::Storage add = nullptr 
)
inlinestatic

◆ set()

template<int GET, int SET>
static void libtraci::Domain< GET, SET >::set ( int  var,
const std::string &  id,
tcpip::Storage add 
)
inlinestatic

Definition at line 219 of file Domain.h.

References libtraci::Connection::doCommand(), libtraci::Connection::getActive(), and libtraci::Connection::getMutex().

Referenced by libtraci::Domain< GET, SET >::setCol(), libtraci::Domain< GET, SET >::setDouble(), libtraci::Domain< GET, SET >::setInt(), libtraci::Domain< GET, SET >::setString(), and libtraci::Domain< GET, SET >::setStringVector().

Here is the caller graph for this function:

◆ setCol()

template<int GET, int SET>
static void libtraci::Domain< GET, SET >::setCol ( int  var,
const std::string &  id,
const libsumo::TraCIColor  value 
)
inlinestatic

◆ setDouble()

template<int GET, int SET>
static void libtraci::Domain< GET, SET >::setDouble ( int  var,
const std::string &  id,
double  value 
)
inlinestatic

◆ setInt()

template<int GET, int SET>
static void libtraci::Domain< GET, SET >::setInt ( int  var,
const std::string &  id,
int  value 
)
inlinestatic

◆ setString()

template<int GET, int SET>
static void libtraci::Domain< GET, SET >::setString ( int  var,
const std::string &  id,
const std::string &  value 
)
inlinestatic

◆ setStringVector()

template<int GET, int SET>
static void libtraci::Domain< GET, SET >::setStringVector ( int  var,
const std::string &  id,
const std::vector< std::string > &  value 
)
inlinestatic

The documentation for this class was generated from the following file: