int getIdleDuration() const
Returns the duration of the last step's idle part (in ms)
int myLastSimDuration
The step durations (simulation, /*visualisation, */idle)
Boundary myBoundary
The networks boundary.
The class responsible for building and deletion of vehicles (gui-version)
std::vector< GUIJunctionWrapper * > myJunctionWrapper
Wrapped MS-junctions.
void unlock()
release exclusive access to the simulation state
int getLinkTLID(MSLink *link) const
static double getAvgTimeLoss()
std::map< MSLink *, std::string > Links2LogicMap
Definition of a link-to-logic-id map.
Stores the information about how to visualize structures.
LayeredRTree myGrid
The visualization speed-up.
void initTLMap()
Initialises the tl-logic map and wrappers.
double getMeanRTFactor(int duration) const
Returns the simulation speed as a factor to real time.
GUIMEVehicleControl * getGUIMEVehicleControl()
Returns the vehicle control.
The class responsible for building and deletion of vehicles (gui-version)
double getAvgDepartDelay() const
double getAvgDuration() const
void initGUIStructures()
Initialises gui wrappers.
double getMeanUPS() const
Returns the update per seconds rate.
void lock()
grant exclusive access to the simulation state
Links2LogicMap myLinks2Logic
The link-to-logic-id map.
Position getJunctionPosition(const std::string &name) const
returns the position of a junction
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.
static double getAvgDuration()
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.
double getUPS() const
Returns the update per seconds rate.
A road/street connecting two junctions (gui-version)
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.
std::vector< GUIDetectorWrapper * > myDetectorWrapper
A detector dictionary.
static GUINet * getGUIInstance()
Returns the pointer to the unique instance of GUINet (singleton).
A point in 2D or 3D with translation and scaling methods.
Stores edges and lanes, performs moving of vehicle.
double getAvgWaitingTime() const
int getLinkTLIndex(MSLink *link) const
friend class GUIOSGBuilder
double getRTFactor() const
Returns the simulation speed as a factor to real time.
double getAvgRouteLength() const
MSTransportableControl & getPersonControl()
Returns the person control.
void setSimDuration(int val)
Sets the duration of the last step's simulation part.
static double getAvgWaitingTime()
std::vector< GUIEdge * > myEdgeWrapper
Wrapped MS-edges.
const SUMORTree & getVisualisationSpeedUp() const
Returns the RTree used for visualisation speed-up.
double getAvgTimeLoss() const
A MSNet extended by some values for usage within the gui.
long myOverallSimDuration
int getSimDuration() const
Returns the duration of the last step's simulation part (in ms)
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
static double getAvgRouteLength()
accessors for GUINet-Parameters
std::vector< MSTrafficLightLogic * > myTLLogicWrapper
Wrapped TL-Logics.
static double getAvgDepartDelay()
The parent class for traffic light logics.
Static storage of an output device and its base (abstract) implementation.
void simulationStep()
Performs a single simulation step (locking the simulation)
The class responsible for building and deletion of vehicles.
double getAvgTripSpeed() const
GUINet(MSVehicleControl *vc, MSEventControl *beginOfTimestepEvents, MSEventControl *endOfTimestepEvents, MSEventControl *insertionEvents)
Constructor.
void guiSimulationStep()
Some further steps needed for gui processing.
int getWholeDuration() const
Returns the duration of the last step (sim+visualisation+idle) (in ms)
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.
A window containing a gl-object's parameter.
Stores time-dependant events and executes them at the proper time.
long myLastVehicleMovementCount
MFXMutex myLock
The mutex used to avoid concurrent updates of the vehicle buffer.
MSTransportableControl & getContainerControl()
Returns the container control.
A MSVehicle extended by some values for usage within the gui.