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 bool executeMovements(
SUMOTime t, std::vector<MSLane*>& into);
134 bool integrateNewVehicle(
SUMOTime t);
140 void detectCollisions(
SUMOTime timestep,
const std::string& stage);
157 double setPartialOccupation(
MSVehicle* v);
162 void resetPartialOccupation(
MSVehicle* v);
195 Boundary getCenteringBoundary()
const;
208 const std::vector<double>& getShapeRotations()
const;
209 const std::vector<double>& getShapeLengths()
const;
211 double firstWaitingTime()
const;
217 void drawBikeMarkings()
const;
220 void drawDirectionIndicators(
double exaggeration)
const;
223 void debugDrawFoeIntersections()
const;
225 double getEdgeLaneNumber()
const;
229 double getStoredEdgeTravelTime()
const;
233 double getLoadedEdgeWeight()
const;
236 void setGeometry(osg::Geometry* geom) {
245 void closeTraffic(
bool rebuildAllowed =
true);
252 double getColorValue(
int activeScheme)
const;
255 bool isSelected()
const;
259 void swapAfterLaneChange(
SUMOTime t);
273 virtual void incorporateVehicle(
MSVehicle* veh,
double pos,
double speed,
double posLat,
274 const MSLane::VehCont::iterator& at,
283 void drawArrows()
const;
284 void drawLane2LaneConnections(
double exaggeration)
const;
291 double getPendingEmits()
const;
296 double getScaleValue(
int activeScheme)
const;
299 bool setFunctionalColor(
int activeScheme,
RGBColor& col)
const;
314 bool isLaneOrEdgeSelected()
const;
335 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.