68 GUIEdge(
const std::string&
id,
int numericalID,
70 const std::string& streetName,
const std::string& edgeType,
int priority);
80 static std::vector<GUIGlID>
getIDs(
bool includeInternal);
102 static void fill(std::vector<GUIEdge*>& netsWrappers);
169 unsigned int getVehicleNo()
const;
170 std::string getVehicleIDs()
const;
171 SUMOReal getBruttoOccupancy()
const;
183 SUMOReal getColorValue(
size_t activeScheme)
const;
186 SUMOReal getScaleValue(
size_t activeScheme)
const;
189 MESegment* getSegmentAtPosition(
const Position& pos);
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
virtual void addContainer(MSContainer *container) const
Add a container to myContainers.
static std::pair< SUMOReal, SUMOReal > getLaneOffsets(SUMOReal x1, SUMOReal y1, SUMOReal x2, SUMOReal y2, SUMOReal prev, SUMOReal wanted)
virtual GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
void addContainer(MSContainer *c) const
Add a container to myContainers.
Stores the information about how to visualize structures.
The base class for microscopic and mesoscopic vehicles.
EdgeBasicFunction
Defines possible edge types.
static SUMOReal getTotalLength(bool includeInternal, bool eachLane)
void removePerson(MSPerson *p) const
A class that stores a 2D geometrical boundary.
virtual void removeContainer(MSContainer *container) const
Remove container from myContainers.
A road/street connecting two junctions (gui-version)
A road/street connecting two junctions.
GUIEdge & operator=(const GUIEdge &s)
invalidated assignment operator
A point in 2D or 3D with translation and scaling methods.
virtual GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
virtual void removePerson(MSPerson *p) const
MSLane & getLane(size_t laneNo)
returns the enumerated lane (!!! why not private with a friend?)
virtual void addPerson(MSPerson *p) const
GUIEdge(const std::string &id, int numericalID, const EdgeBasicFunction function, const std::string &streetName, const std::string &edgeType, int priority)
Constructor.
static std::vector< GUIGlID > getIDs(bool includeInternal)
MFXMutex myLock
The mutex used to avoid concurrent updates of myPersons/ myContainers.
A mutex encapsulator which locks/unlocks the given mutex on construction/destruction, respectively.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void removeContainer(MSContainer *c) const
Remove container from myContainers.
Boundary getBoundary() const
Returns the street's geometry.
void addPerson(MSPerson *p) const
Representation of a lane in the micro simulation.
A window containing a gl-object's parameter.
static void fill(std::vector< GUIEdge * > &netsWrappers)