84 GUILane(
const std::string&
id,
double maxSpeed,
85 double length,
MSEdge*
const edge,
int numericalID,
98 return getEdge().getID();
114 const VehCont& getVehiclesSecure()
const;
122 void releaseVehicles()
const;
132 void planMovements(
const SUMOTime t);
136 bool executeMovements(
SUMOTime t, std::vector<MSLane*>& into);
140 bool integrateNewVehicle(
SUMOTime t);
146 void detectCollisions(
SUMOTime timestep,
const std::string& stage);
163 double setPartialOccupation(
MSVehicle* v);
168 void resetPartialOccupation(
MSVehicle* v);
201 Boundary getCenteringBoundary()
const;
214 const std::vector<double>& getShapeRotations()
const;
215 const std::vector<double>& getShapeLengths()
const;
217 double firstWaitingTime()
const;
223 void drawBikeMarkings()
const;
226 void drawCrossties(
double length,
double spacing,
double halfWidth)
const;
229 void drawDirectionIndicators()
const;
232 void debugDrawFoeIntersections()
const;
234 double getEdgeLaneNumber()
const;
238 double getStoredEdgeTravelTime()
const;
242 double getLoadedEdgeWeight()
const;
245 void setGeometry(osg::Geometry* geom) {
254 void closeTraffic(
bool rebuildAllowed =
true);
261 double getColorValue(
int activeScheme)
const;
264 bool isSelected()
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()
const;
302 double getScaleValue(
int activeScheme)
const;
305 bool setFunctionalColor(
int activeScheme)
const;
308 bool setMultiColor(
const GUIColorer& c)
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.
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.
const 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.