 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
39 class VariableWrapper;
54 static std::vector<std::string>
getIDList();
57 static std::string
getEdgeID(std::string laneID);
58 static double getLength(std::string laneID);
60 static std::vector<std::string>
getAllowed(std::string laneID);
61 static std::vector<std::string>
getDisallowed(std::string laneID);
62 static std::vector<TraCIConnection>
getLinks(std::string laneID);
64 static double getWidth(std::string laneID);
81 static std::vector<std::string>
getFoes(
const std::string& laneID,
const std::string& toLaneID);
82 static std::vector<std::string>
getInternalFoes(
const std::string& laneID);
85 static void setAllowed(std::string laneID, std::vector<std::string> allowedClasses);
86 static void setDisallowed(std::string laneID, std::vector<std::string> disallowedClasses);
87 static void setMaxSpeed(std::string laneID,
double speed);
88 static void setLength(std::string laneID,
double length);
91 static std::string
getParameter(
const std::string& laneID,
const std::string& param);
92 static void setParameter(
const std::string& routeID,
const std::string& key,
const std::string& value);
102 static std::shared_ptr<VariableWrapper>
makeWrapper();
static std::vector< std::string > getInternalFoes(const std::string &laneID)
static void setMaxSpeed(std::string laneID, double speed)
#define LIBSUMO_SUBSCRIPTION_API
static int getLastStepHaltingNumber(std::string laneID)
static double getCOEmission(std::string laneID)
Representation of a lane in the micro simulation.
static double getTraveltime(std::string laneID)
static double getCO2Emission(std::string laneID)
static double getLastStepMeanSpeed(std::string laneID)
static double getLastStepLength(std::string laneID)
static LIBSUMO_SUBSCRIPTION_API void storeShape(const std::string &id, PositionVector &shape)
Saves the shape of the requested object in the given container.
static std::vector< std::string > getFoes(const std::string &laneID, const std::string &toLaneID)
std::map< std::string, SubscriptionResults > ContextSubscriptionResults
static void setParameter(const std::string &routeID, const std::string &key, const std::string &value)
static void setLength(std::string laneID, double length)
static void setAllowed(std::string laneID, std::vector< std::string > allowedClasses)
static TraCIPositionVector getShape(std::string laneID)
static std::vector< std::string > getLastStepVehicleIDs(std::string laneID)
static std::string getParameter(const std::string &laneID, const std::string ¶m)
static double getElectricityConsumption(std::string laneID)
static double getNOxEmission(std::string laneID)
static double getFuelConsumption(std::string laneID)
static int getLastStepVehicleNumber(std::string laneID)
static double getMaxSpeed(std::string laneID)
static std::shared_ptr< VariableWrapper > makeWrapper()
static ContextSubscriptionResults myContextSubscriptionResults
static std::string getEdgeID(std::string laneID)
static SubscriptionResults mySubscriptionResults
static double getWaitingTime(std::string laneID)
static bool handleVariable(const std::string &objID, const int variable, VariableWrapper *wrapper)
static std::vector< TraCIConnection > getLinks(std::string laneID)
static int getLinkNumber(std::string laneID)
static std::vector< std::string > getAllowed(std::string laneID)
static double getLength(std::string laneID)
static double getNoiseEmission(std::string laneID)
Lane()=delete
invalidated standard constructor
static double getHCEmission(std::string laneID)
static std::vector< std::string > getDisallowed(std::string laneID)
static double getWidth(std::string laneID)
static std::vector< std::string > getIDList()
static const MSLane * getLane(const std::string &id)
static double getLastStepOccupancy(std::string laneID)
static double getPMxEmission(std::string laneID)
std::map< std::string, TraCIResults > SubscriptionResults
{object->{variable->value}}
static void setDisallowed(std::string laneID, std::vector< std::string > disallowedClasses)