int myLastSimDuration
The step durations (simulation, /*visualisation, */idle)
Boundary myBoundary
The networks boundary.
Position getJunctionPosition(const std::string &name) const
returns the position of a junction
double getAvgWaitingTime() const
The class responsible for building and deletion of vehicles (gui-version)
std::vector< GUIJunctionWrapper * > myJunctionWrapper
Wrapped MS-junctions.
double getAvgDuration() const
void unlock()
release exclusive access to the simulation state
int getLinkTLID(MSLink *link) const
void createTLWrapper(MSTrafficLightLogic *tll)
creates a wrapper for the given logic
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.
const SUMORTree & getVisualisationSpeedUp() const
Returns the RTree used for visualisation speed-up.
double getAvgWalkDuration() const
double getMeanUPS() const
Returns the update per seconds rate.
GUIMEVehicleControl * getGUIMEVehicleControl()
Returns the vehicle control.
The class responsible for building and deletion of vehicles (gui-version)
void initGUIStructures()
Initialises gui wrappers.
void lock()
grant exclusive access to the simulation state
Links2LogicMap myLinks2Logic
The link-to-logic-id map.
SUMORTree & getVisualisationSpeedUp()
Returns the RTree used for visualisation speed-up.
A RT-tree for efficient storing of SUMO's GL-objects.
long myOverallVehicleCount
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.
static double getAvgWalkTimeLoss()
A road/street connecting two junctions (gui-version)
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
std::vector< GUIDetectorWrapper * > myDetectorWrapper
A detector dictionary.
double getAvgDepartDelay() const
static GUINet * getGUIInstance()
Returns the pointer to the unique instance of GUINet (singleton).
static double getAvgWalkRouteLength()
std::vector< GUIGlID > getTLSIDs() const
Returns the gl-ids of all traffic light logics within the net.
A point in 2D or 3D with translation and scaling methods.
Stores edges and lanes, performs moving of vehicle.
friend class GUIOSGBuilder
std::vector< GUIGlID > getJunctionIDs(bool includeInternal) const
static double getAvgWalkDuration()
double getAvgTripSpeed() const
int getSimDuration() const
Returns the duration of the last step's simulation part (in ms)
double getAvgWalkTimeLoss() const
MSTransportableControl & getPersonControl()
Returns the person control.
double getAvgTimeLoss() const
int getWholeDuration() const
Returns the duration of the last step (sim+visualisation+idle) (in ms)
void setSimDuration(int val)
Sets the duration of the last step's simulation part.
static double getAvgWaitingTime()
std::vector< GUIEdge * > myEdgeWrapper
Wrapped MS-edges.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
A MSNet extended by some values for usage within the gui.
double getAvgRouteLength() const
const Boundary & getBoundary() const
returns the bounder of the network
bool vehicleExists(const std::string &name) const
returns the information whether the vehicle still exists
long myOverallSimDuration
GUIVehicleControl * getGUIVehicleControl()
Returns the vehicle control.
A RT-tree for efficient storing of SUMO's GL-objects in layers.
static double getAvgRouteLength()
accessors for GUINet-Parameters
std::vector< MSTrafficLightLogic * > myTLLogicWrapper
Wrapped TL-Logics.
double getMeanRTFactor(int duration) const
Returns the simulation speed as a factor to real time.
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)
double getRTFactor() const
Returns the simulation speed as a factor to real time.
The class responsible for building and deletion of vehicles.
double getUPS() const
Returns the update per seconds rate.
GUINet(MSVehicleControl *vc, MSEventControl *beginOfTimestepEvents, MSEventControl *endOfTimestepEvents, MSEventControl *insertionEvents)
Constructor.
void guiSimulationStep()
Some further steps needed for gui processing.
double getAvgWalkRouteLength() const
std::map< MSTrafficLightLogic *, GUITrafficLightLogicWrapper * > Logics2WrapperMap
Definition of a traffic light-to-wrapper map.
int getLinkTLIndex(MSLink *link) const
A window containing a gl-object's parameter.
Stores time-dependant events and executes them at the proper time.
long myLastVehicleMovementCount
int getIdleDuration() const
Returns the duration of the last step's idle part (in ms)
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.