SUMOReal getAvgDuration() const
Boundary myBoundary
The networks boundary.
The class responsible for building and deletion of vehicles (gui-version)
std::vector< GUIJunctionWrapper * > myJunctionWrapper
Wrapped MS-junctions.
static SUMOReal getAvgDepartDelay()
SUMOReal getMeanRTFactor(int duration) const
Returns the simulation speed as a factor to real time.
void unlock()
release exclusive access to the simulation state
std::map< MSLink *, std::string > Links2LogicMap
Definition of a link-to-logic-id map.
Stores the information about how to visualize structures.
SUMOReal getAvgWaitingTime() const
LayeredRTree myGrid
The visualization speed-up.
void initTLMap()
Initialises the tl-logic map and wrappers.
GUIMEVehicleControl * getGUIMEVehicleControl()
Returns the vehicle control.
The class responsible for building and deletion of vehicles (gui-version)
void initGUIStructures()
Initialises gui wrappers.
SUMOReal getAvgDepartDelay() const
void lock()
grant exclusive access to the simulation state
unsigned int getWholeDuration() const
Returns the duration of the last step (sim+visualisation+idle) (in ms)
Links2LogicMap myLinks2Logic
The link-to-logic-id map.
Position getJunctionPosition(const std::string &name) const
returns the position of a junction
std::vector< GUIDetectorWrapper * > myDetectorDict
A detector dictionary.
SUMORTree & getVisualisationSpeedUp()
Returns the RTree used for visualisation speed-up.
A RT-tree for efficient storing of SUMO's GL-objects.
long myOverallVehicleCount
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
const Boundary & getBoundary() const
returns the bounder of the network
A class that stores a 2D geometrical boundary.
void setIdleDuration(int val)
Sets the duration of the last step's idle part.
The simulated network and simulation perfomer.
Container for junctions; performs operations on all stored junctions.
SUMOReal getAvgRouteLength() const
A class that stores and controls tls and switching of their programs.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
Logics2WrapperMap myLogics2Wrapper
The traffic light-to-wrapper map.
static SUMOReal getAvgRouteLength()
accessors for GUINet-Parameters
A road/street connecting two junctions (gui-version)
SUMOReal getUPS() const
Returns the update per seconds rate.
static SUMOReal getAvgDuration()
GUIGlID createTLWrapper(MSTrafficLightLogic *tll)
creates a wrapper for the given logic and returns the GlID
std::vector< GUIGlID > getJunctionIDs(bool includeInternal) const
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
static GUINet * getGUIInstance()
Returns the pointer to the unique instance of GUINet (singleton).
static SUMOReal getAvgWaitingTime()
A point in 2D or 3D with translation and scaling methods.
Stores edges and lanes, performs moving of vehicle.
int getLinkTLIndex(MSLink *link) const
std::vector< MSTrafficLightLogic * > myTLLogicWrappers
Wrapped TL-Logics.
friend class GUIOSGBuilder
unsigned int myLastIdleDuration
unsigned int getSimDuration() const
Returns the duration of the last step's simulation part (in ms)
void setSimDuration(int val)
Sets the duration of the last step's simulation part.
std::vector< GUIEdge * > myEdgeWrapper
Wrapped MS-edges.
const SUMORTree & getVisualisationSpeedUp() const
Returns the RTree used for visualisation speed-up.
unsigned int getIdleDuration() const
Returns the duration of the last step's idle part (in ms)
A MSNet extended by some values for usage within the gui.
SUMOReal getMeanUPS() const
Returns the update per seconds rate.
long myOverallSimDuration
GUIVehicleControl * getGUIVehicleControl()
Returns the vehicle control.
A RT-tree for efficient storing of SUMO's GL-objects in layers.
std::vector< GUIGlID > getTLSIDs() const
Returns the gl-ids of all traffic light logics within the net.
bool vehicleExists(const std::string &name) const
returns the information whether the vehicle still exists
unsigned int myLastSimDuration
The step durations (simulation, /*visualisation, */idle)
unsigned int getLinkTLID(MSLink *link) const
static SUMOReal getAvgTimeLoss()
The parent class for traffic light logics.
Static storage of an output device and its base (abstract) implementation.
SUMOReal getRTFactor() const
Returns the simulation speed as a factor to real time.
void simulationStep()
Performs a single simulation step (locking the simulation)
The class responsible for building and deletion of vehicles.
GUINet(MSVehicleControl *vc, MSEventControl *beginOfTimestepEvents, MSEventControl *endOfTimestepEvents, MSEventControl *insertionEvents)
Constructor.
void guiSimulationStep()
Some further steps needed for gui processing.
std::map< MSTrafficLightLogic *, GUITrafficLightLogicWrapper * > Logics2WrapperMap
Definition of a traffic light-to-wrapper map.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
MSContainerControl & getContainerControl()
Returns the container control.
A window containing a gl-object's parameter.
Stores time-dependant events and executes them at the proper time.
long myLastVehicleMovementCount
SUMOReal getAvgTimeLoss() const
MFXMutex myLock
The mutex used to avoid concurrent updates of the vehicle buffer.
MSPersonControl & getPersonControl()
Returns the person control.
A MSVehicle extended by some values for usage within the gui.