 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef MSSOTLSensors_h
19 #define MSSOTLSensors_h
117 virtual double getMaxSpeed(std::string laneId) = 0;
Representation of a lane in the micro simulation.
const MSTrafficLightLogic::Phases * myPhases
virtual void buildSensorForLane(MSLane *lane, NLDetectorBuilder &nb)=0
This function member has to be extended to properly build a sensor for a specific input lane Sensors ...
virtual void stepChanged(int newStep)
std::vector< MSPhaseDefinition * > Phases
Definition of a list of phases, being the junction logic.
virtual void buildSensors(MSTrafficLightLogic::LaneVectorVector controlledLanes, NLDetectorBuilder &nb)=0
This function member has to be extended to properly build sensors for the input lanes Sensors has to ...
virtual int countVehicles(MSLane *lane)=0
virtual double meanVehiclesSpeed(MSLane *lane)=0
MSSOTLSensors(std::string tlLogicID, const MSTrafficLightLogic::Phases *phases)
virtual void buildOutSensors(MSTrafficLightLogic::LaneVectorVector controlledLanes, NLDetectorBuilder &nb)=0
This function member has to be extended to properly build sensors for the output lanes Sensors has to...
virtual double getMaxSpeed(std::string laneId)=0
std::vector< LaneVector > LaneVectorVector
Definition of a list that holds lists of lanes that do have the same attribute.
Builds detectors for microsim.
virtual void buildSensorForOutLane(MSLane *lane, NLDetectorBuilder &nb)=0
This function member has to be extended to properly build a sensor for a specific output lane Sensors...