78 GUILane(
const std::string&
id,
double maxSpeed,
79 double length,
MSEdge*
const edge,
int numericalID,
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);
134 bool executeMovements(
SUMOTime t, std::vector<MSLane*>& into);
138 bool integrateNewVehicle(
SUMOTime t);
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)
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;
268 void swapAfterLaneChange(
SUMOTime t);
282 virtual void incorporateVehicle(
MSVehicle* veh,
double pos,
double speed,
double posLat,
283 const MSLane::VehCont::iterator& at,
292 void drawArrows()
const;
293 void drawLane2LaneConnections(
double exaggeration)
const;
300 double getPendingEmits()
const;
305 double getScaleValue(
int activeScheme)
const;
320 bool isLaneOrEdgeSelected()
const;
341 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)
MFXMutex myLock
The mutex used to avoid concurrent updates of the vehicle buffer.
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
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.