77 GUILane(
const std::string&
id,
double maxSpeed,
78 double length,
MSEdge*
const edge,
int numericalID,
81 const std::string& type);
92 return getEdge().getID();
108 const VehCont& getVehiclesSecure()
const;
116 void releaseVehicles()
const;
126 void planMovements(
const SUMOTime t);
130 void setJunctionApproaches(
const SUMOTime t)
const;
134 void executeMovements(
const SUMOTime t);
138 void integrateNewVehicles();
144 void detectCollisions(
SUMOTime timestep,
const std::string& stage);
161 double setPartialOccupation(
MSVehicle* v);
166 void resetPartialOccupation(
MSVehicle* v);
199 Boundary getCenteringBoundary()
const;
212 const std::vector<double>& getShapeRotations()
const;
213 const std::vector<double>& getShapeLengths()
const;
215 double firstWaitingTime()
const;
221 void drawBikeMarkings()
const;
224 void drawDirectionIndicators(
double exaggeration,
bool spreadSuperposed)
const;
227 void debugDrawFoeIntersections()
const;
229 double getEdgeLaneNumber()
const;
233 double getStoredEdgeTravelTime()
const;
237 double getLoadedEdgeWeight()
const;
240 void setGeometry(osg::Geometry* geom) {
249 void closeTraffic(
bool rebuildAllowed =
true);
259 bool isSelected()
const;
264 bool setFunctionalColor(
const GUIColorer& c,
RGBColor& col,
int activeScheme = -1)
const;
272 void swapAfterLaneChange(
SUMOTime t);
286 virtual void incorporateVehicle(
MSVehicle* veh,
double pos,
double speed,
double posLat,
287 const MSLane::VehCont::iterator& at,
296 void drawArrows()
const;
297 void drawLane2LaneConnections(
double exaggeration)
const;
304 double getPendingEmits()
const;
309 double getScaleValue(
int activeScheme)
const;
321 bool isLaneOrEdgeSelected()
const;
342 osg::Geometry* myGeom;
std::vector< int > myShapeSegments
the meso segment index for each geometry segment
std::vector< RGBColor > myShapeColors
The color of the shape parts (cached)
Representation of a vehicle in the micro simulation.
static const RGBColor MESO_USE_LANE_COLOR
special color to signify alternative coloring scheme
Stores the information about how to visualize structures.
int SVCPermissions
bitset where each bit declares whether a certain SVC may use this edge/lane
Notification
Definition of a vehicle state.
A class that stores a 2D geometrical boundary.
std::vector< double > myShapeLengths
The lengths of the shape parts.
The simulated network and simulation perfomer.
Representation of a lane in the micro simulation (gui-version)
A road/street connecting two junctions.
std::string getParentName() const
Returns the name of the parent object (if any)
std::vector< MSVehicle * > VehCont
Container for vehicles.
The vehicle has departed (was inserted into the network)
A MSNet extended by some values for usage within the gui.
std::vector< double > myShapeRotations
The rotations of the shape parts.
bool myAmClosed
state for dynamic lane closings
FXMutex myLock
The mutex used to avoid concurrent updates of the vehicle buffer.
double myHalfLaneWidth
Half of lane width, for speed-up.
double myQuarterLaneWidth
Quarter of lane width, for speed-up.
Representation of a lane in the micro simulation.
A window containing a gl-object's parameter.