85 GUILane(
const std::string&
id,
double maxSpeed,
86 double length,
MSEdge*
const edge,
int numericalID,
99 return getEdge().getID();
115 const VehCont& getVehiclesSecure()
const;
123 void releaseVehicles()
const;
133 void planMovements(
const SUMOTime t);
137 bool executeMovements(
SUMOTime t, std::vector<MSLane*>& into);
141 bool integrateNewVehicle(
SUMOTime t);
147 void detectCollisions(
SUMOTime timestep,
const std::string& stage);
162 double setPartialOccupation(
MSVehicle* v);
167 void resetPartialOccupation(
MSVehicle* v);
200 Boundary getCenteringBoundary()
const;
213 const std::vector<double>& getShapeRotations()
const;
214 const std::vector<double>& getShapeLengths()
const;
216 double firstWaitingTime()
const;
222 void drawBikeMarkings()
const;
225 void drawCrossties(
double length,
double spacing,
double halfWidth)
const;
228 void drawDirectionIndicators()
const;
230 double getEdgeLaneNumber()
const;
234 double getStoredEdgeTravelTime()
const;
238 double getLoadedEdgeWeight()
const;
241 void setGeometry(osg::Geometry* geom) {
250 void closeTraffic(
bool rebuildAllowed =
true);
258 void swapAfterLaneChange(
SUMOTime t);
272 virtual void incorporateVehicle(
MSVehicle* veh,
double pos,
double speed,
double posLat,
273 const MSLane::VehCont::iterator& at,
282 void drawArrows()
const;
283 void drawLane2LaneConnections()
const;
291 double getColorValue(
int activeScheme)
const;
294 double getScaleValue(
int activeScheme)
const;
297 bool setFunctionalColor(
int activeScheme)
const;
300 bool setMultiColor(
const GUIColorer& c)
const;
330 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.