49 static std::string
getEdgeID(
const std::string& laneID);
50 static double getLength(
const std::string& laneID);
51 static double getMaxSpeed(
const std::string& laneID);
52 static double getFriction(
const std::string& laneID);
53 static std::vector<std::string>
getAllowed(
const std::string& laneID);
54 static std::vector<std::string>
getDisallowed(
const std::string& laneID);
55 static std::vector<std::string>
getChangePermissions(
const std::string& laneID,
const int direction);
56 static std::vector<libsumo::TraCIConnection>
getLinks(
const std::string& laneID);
58 static double getWidth(
const std::string& laneID);
75 static std::vector<std::string>
getFoes(
const std::string& laneID,
const std::string& toLaneID);
76 static std::vector<std::string>
getInternalFoes(
const std::string& laneID);
79 static std::string
getBidiLane(
const std::string& laneID);
85 static void setAllowed(
const std::string& laneID, std::string allowedClasses);
86 static void setAllowed(
const std::string& laneID, std::vector<std::string> allowedClasses);
87 static void setDisallowed(
const std::string& laneID, std::string disallowedClasses);
88 static void setDisallowed(
const std::string& laneID, std::vector<std::string> disallowedClasses);
89 static void setChangePermissions(
const std::string& laneID, std::vector<std::string> allowedClasses,
const int direction);
90 static void setMaxSpeed(
const std::string& laneID,
double speed);
91 static void setLength(
const std::string& laneID,
double length);
92 static void setFriction(
const std::string& laneID,
double friction);
106 static std::shared_ptr<VariableWrapper>
makeWrapper();
#define LIBSUMO_ID_PARAMETER_API
#define LIBSUMO_SUBSCRIPTION_API
static libsumo::TraCIPositionVector getShape(const std::string &laneID)
static int getLinkNumber(const std::string &laneID)
static int getLastStepVehicleNumber(const std::string &laneID)
static double getCOEmission(const std::string &laneID)
LIBSUMO_ID_PARAMETER_API static LIBSUMO_SUBSCRIPTION_API void setAllowed(const std::string &laneID, std::string allowedClasses)
static std::vector< std::string > getChangePermissions(const std::string &laneID, const int direction)
static double getWaitingTime(const std::string &laneID)
static double getFuelConsumption(const std::string &laneID)
static ContextSubscriptionResults myContextSubscriptionResults
static double getLastStepOccupancy(const std::string &laneID)
static double getNoiseEmission(const std::string &laneID)
static double getElectricityConsumption(const std::string &laneID)
static std::vector< std::string > getInternalFoes(const std::string &laneID)
static std::string getBidiLane(const std::string &laneID)
static std::vector< std::string > getFoes(const std::string &laneID, const std::string &toLaneID)
static SubscriptionResults mySubscriptionResults
static double getHCEmission(const std::string &laneID)
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper, tcpip::Storage *paramData)
static void setLength(const std::string &laneID, double length)
static double getCO2Emission(const std::string &laneID)
static std::shared_ptr< VariableWrapper > makeWrapper()
static void setDisallowed(const std::string &laneID, std::string disallowedClasses)
static void storeShape(const std::string &id, PositionVector &shape)
Saves the shape of the requested object in the given container.
static double getMaxSpeed(const std::string &laneID)
static void setFriction(const std::string &laneID, double friction)
static double getPMxEmission(const std::string &laneID)
static const std::vector< std::string > getPendingVehicles(const std::string &laneID)
static double getLastStepLength(const std::string &laneID)
static int getLastStepHaltingNumber(const std::string &laneID)
static MSLane * getLane(const std::string &id)
static std::vector< libsumo::TraCIConnection > getLinks(const std::string &laneID)
static double getLength(const std::string &laneID)
static double getAngle(const std::string &laneID, double relativePosition=libsumo::INVALID_DOUBLE_VALUE)
static double getTraveltime(const std::string &laneID)
static double getWidth(const std::string &laneID)
static void setChangePermissions(const std::string &laneID, std::vector< std::string > allowedClasses, const int direction)
static double getNOxEmission(const std::string &laneID)
static std::vector< std::string > getLastStepVehicleIDs(const std::string &laneID)
Lane()=delete
invalidated standard constructor
static std::vector< std::string > getAllowed(const std::string &laneID)
static double getLastStepMeanSpeed(const std::string &laneID)
static void setMaxSpeed(const std::string &laneID, double speed)
static std::string getEdgeID(const std::string &laneID)
static std::vector< std::string > getDisallowed(const std::string &laneID)
static double getFriction(const std::string &laneID)
Representation of a lane in the micro simulation.
TRACI_CONST double INVALID_DOUBLE_VALUE