31typedef Domain<libsumo::CMD_GET_EDGE_VARIABLE, libsumo::CMD_SET_EDGE_VARIABLE>
Dom;
37std::vector<std::string>
50Edge::getAdaptedTraveltime(
const std::string& edgeID,
double time) {
59Edge::getEffort(
const std::string& edgeID,
double time) {
68Edge::getTraveltime(
const std::string& edgeID) {
74Edge::getWaitingTime(
const std::string& edgeID) {
79const std::vector<std::string>
80Edge::getLastStepPersonIDs(
const std::string& edgeID) {
85const std::vector<std::string>
86Edge::getLastStepVehicleIDs(
const std::string& edgeID) {
92Edge::getCO2Emission(
const std::string& edgeID) {
98Edge::getCOEmission(
const std::string& edgeID) {
104Edge::getHCEmission(
const std::string& edgeID) {
110Edge::getPMxEmission(
const std::string& edgeID) {
116Edge::getNOxEmission(
const std::string& edgeID) {
122Edge::getFuelConsumption(
const std::string& edgeID) {
128Edge::getNoiseEmission(
const std::string& edgeID) {
134Edge::getElectricityConsumption(
const std::string& edgeID) {
140Edge::getLastStepVehicleNumber(
const std::string& edgeID) {
146Edge::getLastStepMeanSpeed(
const std::string& edgeID) {
152Edge::getMeanFriction(
const std::string& edgeID) {
158Edge::getLastStepOccupancy(
const std::string& edgeID) {
164Edge::getLastStepHaltingNumber(
const std::string& edgeID) {
170Edge::getLastStepLength(
const std::string& edgeID) {
176Edge::getLaneNumber(
const std::string& edgeID) {
182Edge::getStreetName(
const std::string& edgeID) {
187const std::vector<std::string>
188Edge::getPendingVehicles(
const std::string& edgeID) {
194Edge::getAngle(
const std::string& edgeID,
double relativePosition) {
203Edge::getFromJunction(
const std::string& edgeID) {
209Edge::getToJunction(
const std::string& edgeID) {
214Edge::getBidiEdge(
const std::string& edgeID) {
223Edge::setAllowed(
const std::string& edgeID, std::string allowedClasses) {
224 setAllowed(edgeID, std::vector<std::string>({allowedClasses}));
229Edge::setAllowed(
const std::string& edgeID, std::vector<std::string> allowedClasses) {
235Edge::setDisallowed(
const std::string& edgeID, std::string disallowedClasses) {
236 setDisallowed(edgeID, std::vector<std::string>({disallowedClasses}));
241Edge::setDisallowed(
const std::string& edgeID, std::vector<std::string> disallowedClasses) {
247Edge::adaptTraveltime(
const std::string& edgeID,
double time,
double beginSeconds,
double endSeconds) {
250 if (endSeconds != std::numeric_limits<double>::max()) {
266Edge::setEffort(
const std::string& edgeID,
double effort,
double beginSeconds,
double endSeconds) {
269 if (endSeconds != std::numeric_limits<double>::max()) {
285Edge::setMaxSpeed(
const std::string& edgeID,
double speed) {
291Edge::setFriction(
const std::string& edgeID,
double friction) {
#define LIBTRACI_SUBSCRIPTION_IMPLEMENTATION(CLASS, DOMAIN)
#define LIBTRACI_PARAMETER_IMPLEMENTATION(CLASS, DOMAIN)
C++ TraCI client API implementation.
static void setDouble(int var, const std::string &id, double value)
static std::vector< std::string > getStringVector(int var, const std::string &id, tcpip::Storage *add=nullptr)
static void setStringVector(int var, const std::string &id, const std::vector< std::string > &value)
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 void set(int var, const std::string &id, tcpip::Storage *add)
static double getDouble(int var, const std::string &id, tcpip::Storage *add=nullptr)
virtual void writeInt(int)
virtual void writeDouble(double)
virtual void writeUnsignedByte(int)
virtual void writeByte(int)
TRACI_CONST int LAST_STEP_VEHICLE_ID_LIST
TRACI_CONST int LAST_STEP_VEHICLE_NUMBER
TRACI_CONST int VAR_NOXEMISSION
TRACI_CONST int LAST_STEP_PERSON_ID_LIST
TRACI_CONST int TRACI_ID_LIST
TRACI_CONST int VAR_WAITING_TIME
TRACI_CONST int VAR_EDGE_TRAVELTIME
TRACI_CONST int LAST_STEP_LENGTH
TRACI_CONST int VAR_ANGLE
TRACI_CONST int TYPE_COMPOUND
TRACI_CONST int VAR_EDGE_EFFORT
TRACI_CONST int VAR_LANE_INDEX
TRACI_CONST int VAR_PMXEMISSION
TRACI_CONST int VAR_COEMISSION
TRACI_CONST int VAR_MAXSPEED
TRACI_CONST int LAST_STEP_MEAN_SPEED
TRACI_CONST int VAR_CO2EMISSION
TRACI_CONST int VAR_PENDING_VEHICLES
TRACI_CONST int VAR_FUELCONSUMPTION
TRACI_CONST int LAST_STEP_VEHICLE_HALTING_NUMBER
TRACI_CONST int VAR_HCEMISSION
TRACI_CONST int LAST_STEP_OCCUPANCY
TRACI_CONST int VAR_NOISEEMISSION
TRACI_CONST int LANE_DISALLOWED
TRACI_CONST int VAR_FRICTION
TRACI_CONST int FROM_JUNCTION
TRACI_CONST int TYPE_DOUBLE
TRACI_CONST int VAR_CURRENT_TRAVELTIME
TRACI_CONST int LANE_ALLOWED
TRACI_CONST int VAR_ELECTRICITYCONSUMPTION
TRACI_CONST int TO_JUNCTION
Domain< libsumo::CMD_GET_BUSSTOP_VARIABLE, libsumo::CMD_SET_BUSSTOP_VARIABLE > Dom