![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A MSNet extended by some values for usage within the gui. More...
#include <GUINet.h>
Data Structures | |
class | DiscoverAttributes |
class for discovering edge attributes More... | |
class | EdgeFloatTimeLineRetriever_GUI |
Public Types | |
typedef IntermodalRouter< MSEdge, MSLane, MSJunction, SUMOVehicle > | MSIntermodalRouter |
typedef PedestrianRouter< MSEdge, MSLane, MSJunction, MSVehicle > | MSPedestrianRouter |
enum | SimulationState { SIMSTATE_LOADING , SIMSTATE_RUNNING , SIMSTATE_END_STEP_REACHED , SIMSTATE_NO_FURTHER_VEHICLES , SIMSTATE_CONNECTION_CLOSED , SIMSTATE_ERROR_IN_SIM , SIMSTATE_INTERRUPTED , SIMSTATE_TOO_MANY_TELEPORTS } |
Possible states of a simulation - running or stopped with different reasons. More... | |
Public Member Functions | ||||
SimulationState | adaptToState (const SimulationState state) const | |||
Called after a simulation step, this method adapts the current simulation state if necessary. More... | ||||
void | addMesoType (const std::string &typeID, const MesoEdgeType &edgeType) | |||
Adds edge type specific meso parameters. More... | ||||
void | addRestriction (const std::string &id, const SUMOVehicleClass svc, const double speed) | |||
Adds a restriction for an edge type. More... | ||||
void | clearState (const SUMOTime step) | |||
Resets events when quick-loading state. More... | ||||
void | closeBuilding (const OptionsCont &oc, MSEdgeControl *edges, MSJunctionControl *junctions, SUMORouteLoaderControl *routeLoaders, MSTLLogicControl *tlc, std::vector< SUMOTime > stateDumpTimes, std::vector< std::string > stateDumpFiles, bool hasInternalLinks, bool hasNeighs, double version) | |||
Closes the network's building process. More... | ||||
void | closeSimulation (SUMOTime start, const std::string &reason="") | |||
Closes the simulation (all files, connections, etc.) More... | ||||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const | |||
Draws additional, user-triggered visualisations. More... | ||||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const | |||
draw name of item More... | ||||
bool | existTractionSubstation (const std::string &substationId) | |||
return whether given electrical substation exists in the network More... | ||||
MSTractionSubstation * | findTractionSubstation (const std::string &substationId) | |||
find electrical substation by its id More... | ||||
const std::string | generateStatistics (SUMOTime start) | |||
Writes performance output and running vehicle stats. More... | ||||
SUMOTime | getCurrentTimeStep () const | |||
Returns the current simulation step. More... | ||||
MSIntermodalRouter & | getIntermodalRouter (const int rngIndex, const int routingMode=0, const MSEdgeVector &prohibited=MSEdgeVector()) const | |||
const MesoEdgeType & | getMesoType (const std::string &typeID) | |||
Returns edge type specific meso parameters if no type specific parameters have been loaded, default values are returned. More... | ||||
double | getNetworkVersion () const | |||
return the network version More... | ||||
MSPedestrianRouter & | getPedestrianRouter (const int rngIndex, const MSEdgeVector &prohibited=MSEdgeVector()) const | |||
const std::map< SUMOVehicleClass, double > * | getRestrictions (const std::string &id) const | |||
Returns the restrictions for an edge type If no restrictions are present, 0 is returned. More... | ||||
SUMOAbstractRouter< MSEdge, SUMOVehicle > & | getRouterEffort (const int rngIndex, const MSEdgeVector &prohibited=MSEdgeVector()) const | |||
SUMOAbstractRouter< MSEdge, SUMOVehicle > & | getRouterTT (const int rngIndex, const MSEdgeVector &prohibited=MSEdgeVector()) const | |||
const NamedObjectCont< MSStoppingPlace * > & | getStoppingPlaces (SumoXMLTag category) const | |||
GUINet (MSVehicleControl *vc, MSEventControl *beginOfTimestepEvents, MSEventControl *endOfTimestepEvents, MSEventControl *insertionEvents) | ||||
Constructor. More... | ||||
bool | hasBidiEdges () const | |||
return whether the network contains bidirectional rail edges More... | ||||
bool | hasElevation () const | |||
return whether the network contains elevation data More... | ||||
bool | hasInternalLinks () const | |||
return whether the network contains internal links More... | ||||
bool | hasPedestrianNetwork () const | |||
return whether the network contains walkingareas and crossings More... | ||||
bool | hasPermissions () const | |||
Returns whether the network has specific vehicle class permissions. More... | ||||
void | interrupt () | |||
bool | isGUINet () const override | |||
Returns whether this is a GUI Net. More... | ||||
bool | isInterrupted () const | |||
void | loadRoutes () | |||
loads routes for the next few steps More... | ||||
bool | logSimulationDuration () const | |||
Returns whether duration shall be logged. More... | ||||
virtual void | onLeftBtnPress (void *) | |||
notify object about left click More... | ||||
virtual void | removeActiveAddVisualisation (GUISUMOAbstractView *const, int) | |||
remove additional user-griggered visualisations More... | ||||
void | setCurrentTimeStep (const SUMOTime step) | |||
Sets the current simulation step (used by state loading) More... | ||||
void | setPermissionsFound () | |||
Labels the network to contain vehicle class permissions. More... | ||||
SimulationState | simulate (SUMOTime start, SUMOTime stop) | |||
Simulates from timestep start to stop. More... | ||||
SimulationState | simulationState (SUMOTime stopTime) const | |||
This method returns the current simulation state. It should not modify status. More... | ||||
bool | warnOnce (const std::string &typeAndID) | |||
return whether a warning regarding the given object shall be issued More... | ||||
void | writeChargingStationOutput () const | |||
write charging station output More... | ||||
void | writeOutput () | |||
Write netstate, summary and detector output. More... | ||||
void | writeOverheadWireSegmentOutput () const | |||
write the output generated by an overhead wire segment More... | ||||
void | writeRailSignalBlocks () const | |||
write rail signal block output More... | ||||
void | writeStatistics () const | |||
write statistic output to (xml) file More... | ||||
void | writeSubstationOutput () const | |||
write electrical substation output More... | ||||
~GUINet () | ||||
Destructor. More... | ||||
inherited from GUIGlObject | ||||
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) override | |||
Returns an own popup-menu. More... | ||||
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override | |||
Returns an own parameter window. More... | ||||
Boundary | getCenteringBoundary () const override | |||
Returns the boundary to which the view shall be centered in order to show the object. More... | ||||
void | drawGL (const GUIVisualizationSettings &s) const override | |||
Draws the object. More... | ||||
const Boundary & | getBoundary () const | |||
returns the bounder of the network More... | ||||
Position | getJunctionPosition (const std::string &name) const | |||
returns the position of a junction More... | ||||
bool | vehicleExists (const std::string &name) const | |||
returns the information whether the vehicle still exists More... | ||||
void | guiSimulationStep () | |||
Some further steps needed for gui processing. More... | ||||
void | simulationStep () | |||
Performs a single simulation step (locking the simulation) More... | ||||
functions for performance measurements | ||||
int | getWholeDuration () const | |||
Returns the duration of the last step (sim+visualisation+idle) (in ms) More... | ||||
int | getSimDuration () const | |||
Returns the duration of the last step's simulation part (in ms) More... | ||||
double | getRTFactor () const | |||
Returns the simulation speed as a factor to real time. More... | ||||
double | getUPS () const | |||
Returns the update per seconds rate. More... | ||||
double | getMeanRTFactor (int duration) const | |||
Returns the simulation speed as a factor to real time. More... | ||||
double | getMeanUPS () const | |||
Returns the update per seconds rate. More... | ||||
int | getIdleDuration () const | |||
Returns the duration of the last step's idle part (in ms) More... | ||||
void | setSimDuration (int val) | |||
Sets the duration of the last step's simulation part. More... | ||||
void | setIdleDuration (int val) | |||
Sets the duration of the last step's idle part. More... | ||||
double | getAvgRouteLength () const | |||
double | getAvgDuration () const | |||
double | getAvgWaitingTime () const | |||
double | getAvgTimeLoss () const | |||
double | getAvgDepartDelay () const | |||
double | getAvgTripSpeed () const | |||
double | getAvgWalkRouteLength () const | |||
double | getAvgWalkDuration () const | |||
double | getAvgWalkTimeLoss () const | |||
MSTransportableControl & | getPersonControl () override | |||
Returns the person control. More... | ||||
MSTransportableControl & | getContainerControl () override | |||
Returns the container control. More... | ||||
int | getLinkTLID (const MSLink *const link) const | |||
int | getLinkTLIndex (const MSLink *const link) const | |||
Output during the simulation | ||||
void | preSimStepOutput () const | |||
Prints the current step number. More... | ||||
void | postSimStepOutput () const | |||
Prints the statistics of the step at its end. More... | ||||
Retrieval of references to substructures | ||||
MSVehicleControl & | getVehicleControl () | |||
Returns the vehicle control. More... | ||||
bool | hasPersons () const | |||
Returns whether persons are simulated. More... | ||||
bool | hasContainers () const | |||
Returns whether containers are simulated. More... | ||||
MSEdgeControl & | getEdgeControl () | |||
Returns the edge control. More... | ||||
MSInsertionControl & | getInsertionControl () | |||
Returns the insertion control. More... | ||||
MSDetectorControl & | getDetectorControl () | |||
Returns the detector control. More... | ||||
MSTLLogicControl & | getTLSControl () | |||
Returns the tls logics control. More... | ||||
MSJunctionControl & | getJunctionControl () | |||
Returns the junctions control. More... | ||||
MSEventControl * | getBeginOfTimestepEvents () | |||
Returns the event control for events executed at the begin of a time step. More... | ||||
MSEventControl * | getEndOfTimestepEvents () | |||
Returns the event control for events executed at the end of a time step. More... | ||||
MSEventControl * | getInsertionEvents () | |||
Returns the event control for insertion events. More... | ||||
ShapeContainer & | getShapeContainer () | |||
Returns the shapes container. More... | ||||
MSDynamicShapeUpdater * | getDynamicShapeUpdater () | |||
Returns the dynamic shapes updater. More... | ||||
MSDynamicShapeUpdater * | makeDynamicShapeUpdater () | |||
Creates and returns a dynamic shapes updater. More... | ||||
MSEdgeWeightsStorage & | getWeightsStorage () | |||
Returns the net's internal edge travel times/efforts container. More... | ||||
Insertion and retrieval of stopping places | ||||
bool | addStoppingPlace (const SumoXMLTag category, MSStoppingPlace *stop) | |||
Adds a stopping place. More... | ||||
bool | addTractionSubstation (MSTractionSubstation *substation) | |||
Adds a traction substation. More... | ||||
MSStoppingPlace * | getStoppingPlace (const std::string &id, const SumoXMLTag category) const | |||
Returns the named stopping place of the given category. More... | ||||
std::string | getStoppingPlaceID (const MSLane *lane, const double pos, const SumoXMLTag category) const | |||
Returns the stop of the given category close to the given position. More... | ||||
Atomar getter methods | ||||
Returns the full name appearing in the tool tip
| ||||
const std::string & | getFullName () const | |||
virtual std::string | getParentName () const | |||
Returns the name of the parent object (if any) More... | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. More... | ||||
interfaces to be implemented by derived classes | ||||
virtual void | removedPopupMenu () | |||
notify object about popup menu removal More... | ||||
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own type parameter window (optional) More... | ||||
virtual const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. More... | ||||
virtual const std::string | getOptionalName () const | |||
Returns the name of the object (default "") More... | ||||
virtual void | setMicrosimID (const std::string &newID) | |||
Changes the microsimID of the object. More... | ||||
GUIGlObjectType | getType () const | |||
Returns the type of the object as coded in GUIGlObjectType. More... | ||||
virtual double | getColorValue (const GUIVisualizationSettings &, int) const | |||
Parameter table window I/O | ||||
Lets this object know a parameter window showing the object's values was opened
| ||||
void | addParameterTable (GUIParameterTableWindow *w) | |||
void | removeParameterTable (GUIParameterTableWindow *w) | |||
Lets this object know a parameter window showing the object's values was closed. More... | ||||
Static Public Member Functions | |
static void | adaptIntermodalRouter (MSIntermodalRouter &router) |
static void | cleanupStatic () |
Place for static initializations of simulation components (called after successful net build) More... | |
static void | clearAll () |
Clears all dictionaries. More... | |
static double | getEffort (const MSEdge *const e, const SUMOVehicle *const v, double t) |
Returns the effort to pass an edge. More... | |
static MSNet * | getInstance () |
Returns the pointer to the unique instance of MSNet (singleton). More... | |
static std::string | getStateMessage (SimulationState state) |
Returns the message to show if a certain state occurs. More... | |
static double | getTravelTime (const MSEdge *const e, const SUMOVehicle *const v, double t) |
Returns the travel time to pass an edge. More... | |
static bool | hasInstance () |
Returns whether the network was already constructed. More... | |
static void | initStatic () |
Place for static initializations of simulation components (called after successful net build) More... | |
Static Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings More... | |
Protected Member Functions | |
void | buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More... | |
void | buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More... | |
bool | checkBidiEdges () |
check wether bidirectional edges occur in the network More... | |
bool | checkElevation () |
check all lanes for elevation data More... | |
bool | checkWalkingarea () |
check all lanes for type walkingArea More... | |
helper methods for building popup-menus | |
void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) |
Builds the header. More... | |
void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to center to the object. More... | |
void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds entries which allow to copy the name / typed name into the clipboard. More... | |
void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to (de)select the object. More... | |
void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the parameter window. More... | |
void | buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the type parameter window. More... | |
void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More... | |
void | buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the manipulator window. More... | |
Protected Attributes | |
bool | myAmInterrupted |
whether an interrupt occured More... | |
std::unique_ptr< MSDynamicShapeUpdater > | myDynamicShapeUpdater |
Updater for dynamic shapes that are tracking traffic objects (ensures removal of shape dynamics when the objects are removed) More... | |
SUMOTime | myEdgeDataEndTime |
end of loaded edgeData More... | |
bool | myHasBidiEdges |
Whether the network contains bidirectional rail edges. More... | |
bool | myHasElevation |
Whether the network contains elevation data. More... | |
bool | myHasInternalLinks |
Whether the network contains internal links/lanes/edges. More... | |
bool | myHasPedestrianNetwork |
Whether the network contains pedestrian network elements. More... | |
bool | myHavePermissions |
Whether the network contains edges which not all vehicles may pass. More... | |
std::map< int, MSIntermodalRouter * > | myIntermodalRouter |
std::pair< bool, NamedRTree > | myLanesRTree |
An RTree structure holding lane IDs. More... | |
bool | myLefthand |
Whether the network was built for left-hand traffic. More... | |
int | myMaxTeleports |
Maximum number of teleports. More... | |
std::map< std::string, MesoEdgeType > | myMesoEdgeTypes |
The edge type specific meso parameters. More... | |
std::map< int, MSPedestrianRouter * > | myPedestrianRouter |
std::map< std::string, std::map< SUMOVehicleClass, double > > | myRestrictions |
The vehicle class specific speed restrictions. More... | |
SUMORouteLoaderControl * | myRouteLoaders |
Route loader for dynamic loading of routes. More... | |
std::map< int, SUMOAbstractRouter< MSEdge, SUMOVehicle > * > | myRouterEffort |
std::map< int, SUMOAbstractRouter< MSEdge, SUMOVehicle > * > | myRouterTT |
SUMOTime | myStep |
Current time step. More... | |
std::map< SumoXMLTag, NamedObjectCont< MSStoppingPlace * > > | myStoppingPlaces |
Dictionary of bus / container stops. More... | |
std::vector< MSTractionSubstation * > | myTractionSubstations |
Dictionary of traction substations. More... | |
std::vector< VehicleStateListener * > | myVehicleStateListeners |
Container for vehicle state listener. More... | |
double | myVersion |
the network version More... | |
std::map< std::string, bool > | myWarnedOnce |
container to record warnings that shall only be issued once More... | |
Substructures | |
MSVehicleControl * | myVehicleControl |
Controls vehicle building and deletion;. More... | |
MSTransportableControl * | myPersonControl |
Controls person building and deletion;. More... | |
MSTransportableControl * | myContainerControl |
Controls container building and deletion;. More... | |
MSEdgeControl * | myEdges |
Controls edges, performs vehicle movement;. More... | |
MSJunctionControl * | myJunctions |
Controls junctions, realizes right-of-way rules;. More... | |
MSTLLogicControl * | myLogics |
Controls tls logics, realizes waiting on tls rules;. More... | |
MSInsertionControl * | myInserter |
Controls vehicle insertion;. More... | |
MSDetectorControl * | myDetectorControl |
Controls detectors;. More... | |
MSEventControl * | myBeginOfTimestepEvents |
Controls events executed at the begin of a time step;. More... | |
MSEventControl * | myEndOfTimestepEvents |
Controls events executed at the end of a time step;. More... | |
MSEventControl * | myInsertionEvents |
Controls insertion events;. More... | |
ShapeContainer * | myShapeContainer |
A container for geometrical shapes;. More... | |
MSEdgeWeightsStorage * | myEdgeWeights |
The net's knowledge about edge efforts/travel times;. More... | |
data needed for computing performance values | |
bool | myLogExecutionTime |
Information whether the simulation duration shall be logged. More... | |
bool | myLogStepNumber |
Information whether the number of the simulation step shall be logged. More... | |
int | myLogStepPeriod |
Period between successive step-log outputs. More... | |
long | myTraCIStepDuration = 0 |
The last simulation step duration. More... | |
long | mySimStepDuration = 0 |
long | mySimBeginMillis |
The overall simulation duration. More... | |
long long int | myVehiclesMoved |
The overall number of vehicle movements. More... | |
long long int | myPersonsMoved |
State output variables | |
std::vector< SUMOTime > | myStateDumpTimes |
Times at which a state shall be written. More... | |
std::vector< std::string > | myStateDumpFiles |
The names for the state files. More... | |
SUMOTime | myStateDumpPeriod |
The period for writing state. More... | |
std::string | myStateDumpPrefix |
name components for periodic state More... | |
std::string | myStateDumpSuffix |
Static Protected Attributes | |
static MSNet * | myInstance = nullptr |
Unique instance of MSNet. More... | |
static const std::string | STAGE_EVENTS |
string constants for simstep stages More... | |
static const std::string | STAGE_INSERTIONS |
static const std::string | STAGE_LANECHANGE |
static const std::string | STAGE_MOVEMENTS |
Private Member Functions | |
std::string | createFullName () const |
create full name More... | |
Private Attributes | |
std::string | myFullName |
full name of GL Object More... | |
GUIGlID | myGlID |
The numerical id of the object. More... | |
const GUIGlObjectType | myGLObjectType |
The type of the object. More... | |
std::string | myMicrosimID |
ID of GL object. More... | |
std::set< GUIParameterTableWindow * > | myParamWindows |
Parameter table windows which refer to this object. More... | |
Static Private Attributes | |
static StringBijection< GUIGlObjectType >::Entry | GUIGlObjectTypeNamesInitializer [] |
LinkStates (Currently unused) More... | |
Friends | |
class | GUITrafficLightLogicWrapper |
locator-methods | |
typedef std::map< const MSLink *, std::string > | Links2LogicMap |
Definition of a link-to-logic-id map. More... | |
typedef std::map< MSTrafficLightLogic *, GUITrafficLightLogicWrapper * > | Logics2WrapperMap |
Definition of a traffic light-to-wrapper map. More... | |
class | GUIOSGBuilder |
LayeredRTree | myGrid |
The visualization speed-up. More... | |
Boundary | myBoundary |
The networks boundary. More... | |
std::vector< GUIEdge * > | myEdgeWrapper |
Wrapped MS-edges. More... | |
std::vector< GUIJunctionWrapper * > | myJunctionWrapper |
Wrapped MS-junctions. More... | |
std::vector< GUIDetectorWrapper * > | myDetectorWrapper |
A detector dictionary. More... | |
std::vector< GUICalibrator * > | myCalibratorWrapper |
A calibrator dictionary. More... | |
Links2LogicMap | myLinks2Logic |
The link-to-logic-id map. More... | |
Logics2WrapperMap | myLogics2Wrapper |
The traffic light-to-wrapper map. More... | |
int | myLastSimDuration |
The step durations (simulation, /*visualisation, */idle) More... | |
int | myLastIdleDuration |
long | myLastVehicleMovementCount |
long | myOverallVehicleCount |
long | myOverallSimDuration |
std::map< std::string, MSEdgeWeightsStorage * > | myLoadedEdgeData |
loaded edge data for visualization More... | |
FXMutex | myLock |
The mutex used to avoid concurrent updates of the vehicle buffer. More... | |
std::vector< GUIGlID > | getJunctionIDs (bool includeInternal) const |
std::vector< GUIGlID > | getTLSIDs () const |
Returns the gl-ids of all traffic light logics within the net. More... | |
void | initGUIStructures () |
Initialises gui wrappers. More... | |
SUMORTree & | getVisualisationSpeedUp () |
Returns the RTree used for visualisation speed-up. More... | |
const SUMORTree & | getVisualisationSpeedUp () const |
Returns the RTree used for visualisation speed-up. More... | |
GUIVehicleControl * | getGUIVehicleControl () |
Returns the vehicle control. More... | |
GUIMEVehicleControl * | getGUIMEVehicleControl () |
Returns the vehicle control. More... | |
double | getEdgeData (const MSEdge *edge, const std::string &attr) |
retrieve loaded edged weight for the given attribute and the current simulation time More... | |
bool | loadEdgeData (const std::string &file) |
load edgeData from file More... | |
std::vector< std::string > | getEdgeDataAttrs () const |
return list of loaded edgeData attributes More... | |
void | lock () |
grant exclusive access to the simulation state More... | |
void | unlock () |
release exclusive access to the simulation state More... | |
void | createTLWrapper (MSTrafficLightLogic *tll) override |
creates a wrapper for the given logic More... | |
bool | isSelected (const MSTrafficLightLogic *tll) const override |
return wheter the given logic (or rather it's wrapper) is selected in the GUI More... | |
static GUINet * | getGUIInstance () |
Returns the pointer to the unique instance of GUINet (singleton). More... | |
void | initTLMap () |
Initialises the tl-logic map and wrappers. More... | |
Notification about vehicle state changes | |
void | addVehicleStateListener (VehicleStateListener *listener) |
Adds a vehicle states listener. More... | |
void | removeVehicleStateListener (VehicleStateListener *listener) |
Removes a vehicle states listener. More... | |
void | informVehicleStateListener (const SUMOVehicle *const vehicle, VehicleState to, const std::string &info="") |
Informs all added listeners about a vehicle's state change. More... | |
enum | VehicleState { VEHICLE_STATE_BUILT , VEHICLE_STATE_DEPARTED , VEHICLE_STATE_STARTING_TELEPORT , VEHICLE_STATE_ENDING_TELEPORT , VEHICLE_STATE_ARRIVED , VEHICLE_STATE_NEWROUTE , VEHICLE_STATE_STARTING_PARKING , VEHICLE_STATE_ENDING_PARKING , VEHICLE_STATE_STARTING_STOP , VEHICLE_STATE_ENDING_STOP , VEHICLE_STATE_COLLISION , VEHICLE_STATE_EMERGENCYSTOP , VEHICLE_STATE_MANEUVERING } |
Definition of a vehicle state. More... | |
A MSNet extended by some values for usage within the gui.
This gui version of the network allows the retrieval of some more information than the normal network version does. Due to this, not only these retrieval, but also some further initialisation methods must have been implemented. Nonethenless, this class has almost the same functions as the MSNet-class.
Some microsimulation items are wrapped in certain classes to allow their drawing and their enumerated access. This enumeration is realised by inserting the wrapped items into vectors and is needed to fasten the network's drawing as only visible items are being drawn.
|
protected |
|
protected |
|
inherited |
|
inherited |
|
inherited |
Possible states of a simulation - running or stopped with different reasons.
|
inherited |
Definition of a vehicle state.
Enumerator | |
---|---|
VEHICLE_STATE_BUILT | The vehicle was built, but has not yet departed. |
VEHICLE_STATE_DEPARTED | The vehicle has departed (was inserted into the network) |
VEHICLE_STATE_STARTING_TELEPORT | The vehicle started to teleport. |
VEHICLE_STATE_ENDING_TELEPORT | The vehicle ended being teleported. |
VEHICLE_STATE_ARRIVED | The vehicle arrived at his destination (is deleted) |
VEHICLE_STATE_NEWROUTE | The vehicle got a new route. |
VEHICLE_STATE_STARTING_PARKING | The vehicles starts to park. |
VEHICLE_STATE_ENDING_PARKING | The vehicle ends to park. |
VEHICLE_STATE_STARTING_STOP | The vehicles starts to stop. |
VEHICLE_STATE_ENDING_STOP | The vehicle ends to stop. |
VEHICLE_STATE_COLLISION | The vehicle is involved in a collision. |
VEHICLE_STATE_EMERGENCYSTOP | The vehicle had to brake harder than permitted. |
VEHICLE_STATE_MANEUVERING | Vehicle maneuvering either entering or exiting a parking space. |
GUINet::GUINet | ( | MSVehicleControl * | vc, |
MSEventControl * | beginOfTimestepEvents, | ||
MSEventControl * | endOfTimestepEvents, | ||
MSEventControl * | insertionEvents | ||
) |
Constructor.
[in] | vc | The vehicle control to use |
[in] | beginOfTimestepEvents | The event control to use for simulation step begin events |
[in] | endOfTimestepEvents | The event control to use for simulation step end events |
[in] | insertionEvents | The event control to use for insertion events |
ProcessError | If a network was already constructed |
Definition at line 78 of file GUINet.cpp.
References GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::setNetObject().
GUINet::~GUINet | ( | ) |
Destructor.
Definition at line 89 of file GUINet.cpp.
References GUIGlObject_AbstractAdd::clearDictionary(), myCalibratorWrapper, myDetectorWrapper, myJunctionWrapper, myLoadedEdgeData, myLock, and myLogics2Wrapper.
|
staticinherited |
Definition at line 1286 of file MSNet.cpp.
References MSInsertionControl::adaptIntermodalRouter(), MSVehicleControl::adaptIntermodalRouter(), IntermodalNetwork< E, L, N, V >::addAccess(), IntermodalNetwork< E, L, N, V >::addCarAccess(), EffortCalculator::addStop(), IntermodalRouter< E, L, N, V >::getCarWalkTransfer(), MSNet::getEdgeControl(), MSEdgeControl::getEdges(), IntermodalRouter< E, L, N, V >::getExternalEffort(), MSNet::getInsertionControl(), IntermodalRouter< E, L, N, V >::getNetwork(), IntermodalEdge< E, L, N, V >::getNumericalID(), OptionsCont::getOptions(), IntermodalNetwork< E, L, N, V >::getStopEdge(), MSNet::getVehicleControl(), MSNet::myInstance, MSNet::myStoppingPlaces, STEPS2TIME, string2time(), SUMO_TAG_BUS_STOP, SUMO_TAG_PARKING_AREA, SVC_PEDESTRIAN, SVC_TAXI, and IntermodalNetwork< E, L, N, V >::TAXI_PICKUP_ANYWHERE.
Referenced by MSNet::getIntermodalRouter().
|
inherited |
Called after a simulation step, this method adapts the current simulation state if necessary.
[in] | state | The current simulation state |
Definition at line 697 of file MSNet.cpp.
References MSTransportableControl::abortAnyWaitingForVehicle(), MSVehicleControl::abortWaiting(), TraCIServer::getInstance(), TraCIServer::getLoadArgs(), MSNet::myContainerControl, MSNet::myPersonControl, MSNet::myVehicleControl, OptionsIO::setArgs(), MSNet::SIMSTATE_LOADING, MSNet::SIMSTATE_NO_FURTHER_VEHICLES, MSNet::SIMSTATE_RUNNING, and TraCIServer::wasClosed().
Referenced by GUIRunThread::makeStep(), and MSNet::simulate().
|
inherited |
Adds edge type specific meso parameters.
[in] | id | The id of the type |
[in] | edgeType | The parameter object |
Definition at line 342 of file MSNet.cpp.
References MSNet::myMesoEdgeTypes.
Referenced by NLHandler::addMesoEdgeType().
|
inherited |
Definition at line 309 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
inherited |
Adds a restriction for an edge type.
[in] | id | The id of the type |
[in] | svc | The vehicle class the restriction refers to |
[in] | speed | The restricted speed |
Definition at line 327 of file MSNet.cpp.
References MSNet::myRestrictions.
Referenced by NLHandler::myStartElement().
|
inherited |
Adds a stopping place.
If another stop with the same id and category exists, false is returned. Otherwise, the stop is added to the internal stopping place container.
This control gets responsible for deletion of the added stop.
[in] | stop | The stop to add |
Definition at line 1082 of file MSNet.cpp.
References Named::getID(), MSNet::myStoppingPlaces, SUMO_TAG_BUS_STOP, and SUMO_TAG_TRAIN_STOP.
Referenced by GUITriggerBuilder::beginParkingArea(), NLTriggerBuilder::beginParkingArea(), GUITriggerBuilder::buildChargingStation(), NLTriggerBuilder::buildChargingStation(), GUITriggerBuilder::buildOverheadWireSegment(), NLTriggerBuilder::buildOverheadWireSegment(), GUITriggerBuilder::buildStoppingPlace(), and NLTriggerBuilder::buildStoppingPlace().
|
inherited |
Adds a traction substation.
If another traction substation with the same id and category exists, false is returned. Otherwise, the traction substation is added to the internal substations container.
[in] | substation | The traction substation to add |
Definition at line 1088 of file MSNet.cpp.
References MSNet::myTractionSubstations.
Referenced by NLTriggerBuilder::buildTractionSubstation().
|
inherited |
Adds a vehicle states listener.
[in] | listener | The listener to add |
Definition at line 1054 of file MSNet.cpp.
References MSNet::myVehicleStateListeners.
Referenced by libsumo::Polygon::addDynamics(), MSRailSignalControl::getInstance(), MSDevice_Vehroutes::init(), MSVehicle::Influencer::GapControlState::init(), TraCIServer::openSocket(), and libsumo::Helper::registerVehicleStateListener().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 347 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
protectedinherited |
Builds an entry which allows to center to the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 238 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_CENTER, and RECENTERVIEW.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNETAZElement::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIPolygon::getPopUpMenu(), getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 247 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
Builds the header.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 229 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNETAZElement::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIPolygon::getPopUpMenu(), getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 288 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GUIPolygon::getPopUpMenu(), getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 257 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), FLAG_MINUS, FLAG_PLUS, GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, GUISelectedStorage::isSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 324 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
Referenced by GNEPOI::getPopUpMenu(), and GUIPointOfInterest::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 300 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MANIP, and MID_MANIP.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 270 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), and MID_SHOWPARS.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GUIPolygon::getPopUpMenu(), getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 279 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), and MID_SHOWTYPEPARS.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), and GUIPerson::getPopUpMenu().
|
protectedinherited |
check wether bidirectional edges occur in the network
Definition at line 1345 of file MSNet.cpp.
References MSEdgeControl::getEdges(), and MSNet::myEdges.
Referenced by MSNet::closeBuilding().
|
protectedinherited |
check all lanes for elevation data
Definition at line 1320 of file MSNet.cpp.
References MSEdgeControl::getEdges(), and MSNet::myEdges.
Referenced by MSNet::closeBuilding().
|
protectedinherited |
check all lanes for type walkingArea
Definition at line 1334 of file MSNet.cpp.
References MSEdgeControl::getEdges(), MSNet::myEdges, and WALKINGAREA.
Referenced by MSNet::closeBuilding().
|
staticinherited |
Place for static initializations of simulation components (called after successful net build)
Definition at line 186 of file MSNet.cpp.
References MSVehicle::Influencer::cleanup(), and MSGlobals::gUseMesoSim.
Referenced by MSNet::~MSNet().
|
staticinherited |
Clears all dictionaries.
Definition at line 743 of file MSNet.cpp.
References libsumo::Helper::cleanup(), MSDevice_BTsender::cleanup(), MSDevice_SSM::cleanup(), MSDevice_ToC::cleanup(), MSStopOut::cleanup(), MSRailSignalConstraint::cleanup(), MSRailSignalControl::cleanup(), MSCalibrator::cleanup(), MSTrigger::cleanup(), TraCIServer::cleanup(), MSDevice::cleanupAll(), MSEdge::clear(), MSLane::clear(), MSRoute::clear(), OutputDevice::closeAll(), MSVehicleTransfer::getInstance(), and TraCIServer::getInstance().
Referenced by GUILoadThread::run(), and MSNet::~MSNet().
|
inherited |
Resets events when quick-loading state.
step | The new simulation step |
Definition at line 768 of file MSNet.cpp.
References MELoop::clearState(), MSInsertionControl::clearState(), MSVehicleControl::clearState(), MSVehicleTransfer::clearState(), MSDetectorControl::clearState(), MSTLLogicControl::clearState(), MSEventControl::clearState(), MSRoute::dict_clearState(), MSEdge::dictSize(), MSEdge::getAllEdges(), MSVehicleTransfer::getInstance(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSNet::myBeginOfTimestepEvents, MSNet::myDetectorControl, MSNet::myEndOfTimestepEvents, MSNet::myInserter, MSNet::myInsertionEvents, MSNet::myLogics, MSNet::myStep, MSNet::myStoppingPlaces, MSNet::myVehicleControl, MSDetectorControl::updateDetectors(), and MSDetectorControl::writeOutput().
Referenced by LIBSUMO_NAMESPACE::Simulation::loadState().
|
inherited |
Closes the network's building process.
Assigns the structures built while loading to this network.
[in] | oc | The options to use |
[in] | edges | The control of edges which belong to this network |
[in] | junctions | The control of junctions which belong to this network |
[in] | routeLoaders | The route loaders used |
[in] | tlc | The control of traffic lights which belong to this network |
[in] | stateDumpTimes | List of time steps at which state shall be written |
[in] | stateDumpFiles | Filenames for states |
[in] | hasInternalLinks | Whether the network actually contains internal links |
[in] | version | The network version |
Definition at line 243 of file MSNet.cpp.
References MSNet::checkBidiEdges(), MSNet::checkElevation(), MSNet::checkWalkingarea(), SysUtils::getCurrentMillis(), OptionsCont::getString(), MSGlobals::gLateralResolution, MSNet::hasInternalLinks(), MSNet::myEdges, MSNet::myHasBidiEdges, MSNet::myHasElevation, MSNet::myHasInternalLinks, MSNet::myHasPedestrianNetwork, MSNet::myJunctions, MSNet::myLogics, MSNet::myRouteLoaders, MSNet::mySimBeginMillis, MSNet::myStateDumpFiles, MSNet::myStateDumpPeriod, MSNet::myStateDumpPrefix, MSNet::myStateDumpSuffix, MSNet::myStateDumpTimes, MSNet::myVersion, and string2time().
Referenced by NLBuilder::buildNet().
|
inherited |
Closes the simulation (all files, connections, etc.)
Writes also performance output
[in] | start | The step the simulation was started with |
Definition at line 505 of file MSNet.cpp.
References MSDetectorControl::close(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSDevice_Vehroutes::generateOutputForUnfinished(), MSNet::generateStatistics(), MSNet::getCurrentTimeStep(), OptionsCont::getOptions(), MSNet::myDetectorControl, MSNet::myLogExecutionTime, MSNet::myStep, time2string(), WRITE_MESSAGE, MSNet::writeChargingStationOutput(), MSNet::writeOverheadWireSegmentOutput(), MSNet::writeRailSignalBlocks(), MSNet::writeStatistics(), and MSNet::writeSubstationOutput().
Referenced by LIBSUMO_NAMESPACE::Simulation::close(), GUIRunThread::deleteSim(), and MSNet::simulate().
|
privateinherited |
create full name
Definition at line 370 of file GUIGlObject.cpp.
References GUIGlObject::getMicrosimID(), StringBijection< T >::getString(), GUIGlObject::myGLObjectType, and GUIGlObject::TypeNames.
Referenced by GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
overridevirtual |
creates a wrapper for the given logic
Reimplemented from MSNet.
Definition at line 154 of file GUINet.cpp.
References SUMORTree::addAdditionalGLObject(), Named::getID(), MSTrafficLightLogic::getLinks(), GUITrafficLightLogicWrapper, myGrid, myLinks2Logic, MSNet::myLogics, and myLogics2Wrapper.
Referenced by initTLMap(), and GUITrafficLightLogicWrapper::switchTLSLogic().
|
overridevirtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 516 of file GUINet.cpp.
|
virtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIPerson, GUIContainer, and GUIBaseVehicle.
Definition at line 208 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
|
inherited |
draw name of item
Definition at line 376 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show.
Referenced by GNEEdge::drawEdgeName(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIEdge::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GUIBaseVehicle::drawOnPos(), GNEAdditional::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), and GNEDemandElement::drawPersonPlanPartialLane().
|
inherited |
return whether given electrical substation exists in the network
Definition at line 1188 of file MSNet.cpp.
References MSNet::myTractionSubstations.
|
inherited |
find electrical substation by its id
Definition at line 1177 of file MSNet.cpp.
References MSNet::myTractionSubstations.
Referenced by NLTriggerBuilder::parseAndBuildOverheadWireClamp(), and NLTriggerBuilder::parseAndBuildOverheadWireSection().
|
inherited |
Writes performance output and running vehicle stats.
[in] | start | The step the simulation was started with |
Definition at line 416 of file MSNet.cpp.
References elapsedMs2string(), MSVehicleControl::getCollisionCount(), SysUtils::getCurrentMillis(), MSVehicleControl::getDepartedVehicleNo(), MSVehicleControl::getEmergencyStops(), MSTransportableControl::getJammedNumber(), MSTransportableControl::getLoadedNumber(), MSVehicleControl::getLoadedVehicleNo(), OptionsCont::getOptions(), MSTransportableControl::getRunningNumber(), MSVehicleControl::getRunningVehicleNo(), MSVehicleControl::getTeleportCount(), MSVehicleControl::getTeleportsJam(), MSVehicleControl::getTeleportsWrongLane(), MSVehicleControl::getTeleportsYield(), MSInsertionControl::getWaitingVehicleNo(), joinToString(), MSNet::myInserter, MSNet::myLogExecutionTime, MSNet::myPersonControl, MSNet::myPersonsMoved, MSNet::mySimBeginMillis, MSNet::myStep, MSNet::myVehicleControl, MSNet::myVehiclesMoved, MSDevice_Tripinfo::printStatistics(), STEPS2TIME, and toString().
Referenced by MSNet::closeSimulation(), and signalHandler().
|
inline |
Definition at line 220 of file GUINet.h.
References MSDevice_Tripinfo::getAvgDepartDelay().
Referenced by getParameterWindow().
|
inline |
Definition at line 211 of file GUINet.h.
References MSDevice_Tripinfo::getAvgDuration().
Referenced by getParameterWindow().
|
inline |
Definition at line 208 of file GUINet.h.
References MSDevice_Tripinfo::getAvgRouteLength().
Referenced by getParameterWindow().
|
inline |
Definition at line 217 of file GUINet.h.
References MSDevice_Tripinfo::getAvgTimeLoss().
Referenced by getParameterWindow().
|
inline |
Definition at line 223 of file GUINet.h.
References MSDevice_Tripinfo::getAvgDuration(), and MSDevice_Tripinfo::getAvgRouteLength().
Referenced by getParameterWindow().
|
inline |
Definition at line 214 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWaitingTime().
Referenced by getParameterWindow().
|
inline |
Definition at line 229 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWalkDuration().
Referenced by getParameterWindow().
|
inline |
Definition at line 226 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWalkRouteLength().
Referenced by getParameterWindow().
|
inline |
Definition at line 232 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWalkTimeLoss().
Referenced by getParameterWindow().
|
inlineinherited |
Returns the event control for events executed at the begin of a time step.
Definition at line 464 of file MSNet.h.
References MSNet::myBeginOfTimestepEvents.
Referenced by MSPModel_NonInteracting::add(), MSPModel_Striping::add(), NLTriggerBuilder::buildVaporizer(), MSPhasedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSTLLogicControl::closeWAUT(), MSLaneSpeedTrigger::init(), MSPModel_NonInteracting::loadState(), MSPModel_Remote::MSPModel_Remote(), MSTrafficLightLogic::MSTrafficLightLogic(), MSTriggeredRerouter::myEndElement(), MSDevice_Routing::notifyEnter(), MSPerson::MSPersonStage_Access::proceed(), MSDevice_ToC::requestToC(), MSTriggeredRerouter::setPermissions(), MSDevice_ToC::triggerDownwardToC(), and MSDevice_ToC::triggerMRM().
const Boundary & GUINet::getBoundary | ( | ) | const |
returns the bounder of the network
Definition at line 119 of file GUINet.cpp.
References myBoundary.
Referenced by getCenteringBoundary().
|
overridevirtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 520 of file GUINet.cpp.
References getBoundary().
|
inlinevirtualinherited |
Reimplemented in GUIBaseVehicle, GNELane, GNEJunction, GUIMEVehicle, GUIVehicle, GUIPerson, GUILane, GUIJunctionWrapper, GUIEdge, and GUIContainer.
Definition at line 148 of file GUIGlObject.h.
Referenced by GNEPerson::drawGL(), GNEPerson::setColor(), and GUISUMOAbstractView::showToolTipFor().
|
overridevirtual |
Returns the container control.
If the container control does not exist, yet, it is created.
Reimplemented from MSNet.
Definition at line 134 of file GUINet.cpp.
References MSNet::myContainerControl.
Referenced by GUIApplicationWindow::handleEvent_SimulationStep().
|
inlineinherited |
Returns the current simulation step.
Definition at line 313 of file MSNet.h.
References MSNet::myStep.
Referenced by MSRoutingEngine::_initEdgeWeights(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSPModel_Striping::add(), GUIEdge::addRerouter(), MSDevice_Vehroutes::addRoute(), MSBaseVehicle::addTransportable(), MSTLLogicControl::addWAUTJunction(), MSTransportableControl::boardAnyWaiting(), MSVehicle::boardTransportables(), NLDetectorBuilder::buildE2Detector(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSNet::closeSimulation(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSTLLogicControl::closeWAUT(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), TraCIServer::dispatchCommand(), MSDevice_Taxi::dispatchShared(), MSActuatedTrafficLightLogic::duration(), MSVehicle::enterLaneAtInsertion(), Command_SaveTLCoupledDet::execute(), Command_SaveTLCoupledLaneDet::execute(), MSVehicle::executeFractionalMove(), MSCFModel_CC::finalizeSpeed(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), MSActuatedTrafficLightLogic::gapControl(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSTransportable::getAngle(), MSLane::getCriticalLeader(), MSSOTLTrafficLightLogic::getCurrentPhaseElapsed(), GUIApplicationWindow::getCurrentSimTime(), MSLaneSpeedTrigger::getCurrentSpeed(), LIBSUMO_NAMESPACE::Simulation::getCurrentTime(), GUIViewTraffic::getCurrentTimeStep(), MSActuatedTrafficLightLogic::getDetectorPriority(), getEdgeData(), MSTransportable::getEdgePos(), MSLane::getFirstVehicleInformation(), MSInductLoop::getLastDetectionTime(), MSLane::getLastVehicleInformation(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), LIBSUMO_NAMESPACE::Lane::getLinks(), MESegment::getMeanSpeed(), MSInsertionControl::getPendingEmits(), MSTransportable::getPosition(), MSVehicle::getPosition(), MSVehicle::getStopDelay(), MSTransportable::getWaitingSeconds(), MSTransportable::getWaitingTime(), MSLink::getZipperSpeed(), GUIApplicationWindow::handleEvent_SimulationStep(), MSLaneSpeedTrigger::init(), MSSwarmTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), TraCIServer::initialiseSubscription(), MSTLLogicControl::initWautSwitch(), MSLane::isInsertionSuccess(), MSVehicle::Influencer::isRemoteControlled(), MSPerson::Influencer::isRemoteControlled(), MSTransportableControl::loadAnyWaiting(), GUIRunThread::makeStep(), MSDevice_Taxi::MSDevice_Taxi(), MSPModel_Remote::MSPModel_Remote(), MSDevice_Routing::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Vehroutes::notifyLeave(), MSDevice_Taxi::notifyMove(), MSDevice_Transportable::notifyMove(), GUIApplicationWindow::onCmdTimeToggle(), MSBaseVehicle::onDepart(), GUIViewTraffic::onGamingClick(), TraCIServer::postProcessSimulationStep(), MESegment::prepareDetectorForWriting(), MSVehicle::processLaneAdvances(), MSVehicle::processNextStop(), MEVehicle::processStop(), MSRailSignal::recheckGreen(), MSVehicle::replaceStop(), MSRailSignal::LinkInfo::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::resetActionOffset(), MSSOTLTrafficLightLogic::resetCTS(), MSTrafficLightLogic::resetLinkStates(), MSVehicle::resumeFromStopping(), GUIRunThread::run(), TraCIServer::sendOutputToAll(), MSStageTrip::setArrived(), LIBSUMO_NAMESPACE::TrafficLight::setPhase(), LIBSUMO_NAMESPACE::TrafficLight::setPhaseDuration(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSPhasedTrafficLightLogic::setStep(), MSSOTLTrafficLightLogic::setupCTS(), MSStageDriving::tripInfoOutput(), MSActuatedTrafficLightLogic::trySwitch(), MSDelayBasedTrafficLightLogic::trySwitch(), MSSimpleTrafficLightLogic::trySwitch(), MSSOTLTrafficLightLogic::trySwitch(), MSVehicle::updateActionOffset(), MSSOTLTrafficLightLogic::updateCTS(), MSRailCrossing::updateCurrentPhase(), MSDevice_Tripinfo::updateParkingStopTime(), MSSwarmTrafficLightLogic::updateSensitivities(), and MSVehicle::wasRemoteControlled().
|
inlineinherited |
Returns the detector control.
Definition at line 434 of file MSNet.h.
References MSNet::myDetectorControl.
Referenced by MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildInductLoop(), NLDetectorBuilder::buildInstantInductLoop(), NLDetectorBuilder::buildRouteProbe(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NLDetectorBuilder::createEdgeLaneMeanData(), NLDetectorBuilder::endE3Detector(), LIBSUMO_NAMESPACE::InductionLoop::getDetector(), LIBSUMO_NAMESPACE::LaneArea::getDetector(), LIBSUMO_NAMESPACE::MultiEntryExit::getDetector(), LIBSUMO_NAMESPACE::MeanData::getMeanData(), LIBSUMO_NAMESPACE::RouteProbe::getRouteProbe(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), and NLTriggerBuilder::parseAndBuildCalibrator().
|
inlineinherited |
Returns the dynamic shapes updater.
Definition at line 501 of file MSNet.h.
References MSNet::myDynamicShapeUpdater.
|
inlineinherited |
Returns the edge control.
Definition at line 414 of file MSNet.h.
References MSNet::myEdges.
Referenced by MSRoutingEngine::adaptEdgeEfforts(), MSNet::adaptIntermodalRouter(), NLBuilder::build(), MSLane::executeMovements(), MSRoutingEngine::getRouterTT(), MSLane::incorporateVehicle(), MSRoutingEngine::initRouter(), MSVehicle::processLaneAdvances(), MSRoutingEngine::reroute(), MSFCDExport::write(), MSFullExport::writeEdge(), and MSQueueExport::writeEdge().
double GUINet::getEdgeData | ( | const MSEdge * | edge, |
const std::string & | attr | ||
) |
retrieve loaded edged weight for the given attribute and the current simulation time
Definition at line 559 of file GUINet.cpp.
References MSNet::getCurrentTimeStep(), GUIVisualizationSettings::MISSING_DATA, myLoadedEdgeData, and STEPS2TIME.
Referenced by GUILane::getColorValue().
std::vector< std::string > GUINet::getEdgeDataAttrs | ( | ) | const |
return list of loaded edgeData attributes
Definition at line 657 of file GUINet.cpp.
References myLoadedEdgeData.
Referenced by GUIViewTraffic::getEdgeDataAttrs().
|
staticinherited |
Returns the effort to pass an edge.
[in] | e | The edge for which the effort to be passed shall be returned |
[in] | v | The vehicle that is rerouted |
[in] | t | The time for which the effort shall be returned [s] |
Definition at line 140 of file MSNet.cpp.
References MSNet::getInstance(), MSNet::getWeightsStorage(), MSBaseVehicle::getWeightsStorage(), and MSEdgeWeightsStorage::retrieveExistingEffort().
Referenced by MSNet::getRouterEffort().
|
inlineinherited |
Returns the event control for events executed at the end of a time step.
Definition at line 474 of file MSNet.h.
References MSNet::myEndOfTimestepEvents.
Referenced by libsumo::Polygon::addDynamics(), MSTractionSubstation::addSolvingCirucitToEndOfTimestepEvents(), MSDevice_BTreceiver::BTreceiverUpdate::BTreceiverUpdate(), Command_SaveTLSProgram::Command_SaveTLSProgram(), Command_SaveTLSState::Command_SaveTLSState(), Command_SaveTLSSwitches::Command_SaveTLSSwitches(), Command_SaveTLSSwitchStates::Command_SaveTLSSwitchStates(), MSParkingArea::enter(), MSCalibrator::init(), MSDevice_Taxi::initDispatch(), MSRoutingEngine::initWeightUpdate(), MSParkingArea::leaveFrom(), and MSVTypeProbe::MSVTypeProbe().
|
inherited |
Definition at line 154 of file GUIGlObject.cpp.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUIParameterTableWindow::onLeftBtnPress(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObjectStorage::remove(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inherited |
Returns the numerical id of the object.
Definition at line 166 of file GUIGlObject.cpp.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIEdge::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GNEAdditional::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIPerson::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIEdge::getScaleValue(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUIVehicle::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIViewTraffic::onCmdShowReachability(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), TraCIServerAPI_GUI::processGet(), TraCIServerAPI_GUI::processSet(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
|
static |
Returns the pointer to the unique instance of GUINet (singleton).
ProcessError | If a network was not yet constructed |
Definition at line 526 of file GUINet.cpp.
References MSNet::getInstance().
Referenced by GUIEdge::addRerouter(), GUIViewTraffic::doPaintGL(), GUIEdge::drawMesoVehicles(), GUILane::getColorValue(), GUIViewTraffic::getEdgeDataAttrs(), GUIViewTraffic::getVehicleParamKeys(), GUIApplicationWindow::onCmdOpenEdgeData(), GUIApplicationWindow::onCmdShowStats(), and GUITrafficLightLogicWrapper::switchTLSLogic().
GUIMEVehicleControl * GUINet::getGUIMEVehicleControl | ( | ) |
Returns the vehicle control.
Definition at line 553 of file GUINet.cpp.
References MSNet::myVehicleControl.
Referenced by GUIEdge::drawMesoVehicles().
GUIVehicleControl * GUINet::getGUIVehicleControl | ( | ) |
Returns the vehicle control.
Definition at line 536 of file GUINet.cpp.
References MSNet::myVehicleControl.
Referenced by GUIViewTraffic::getVehicleParamKeys().
int GUINet::getIdleDuration | ( | ) | const |
Returns the duration of the last step's idle part (in ms)
Definition at line 394 of file GUINet.cpp.
References myLastIdleDuration.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the insertion control.
Definition at line 424 of file MSNet.h.
References MSNet::myInserter.
Referenced by MSNet::adaptIntermodalRouter(), LIBSUMO_NAMESPACE::Vehicle::add(), MSRouteHandler::addFlowPerson(), MSLane::checkFailure(), LIBSUMO_NAMESPACE::Simulation::clearPending(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), GUIEdge::getColorValue(), LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), getParameterWindow(), GUILane::getPendingEmits(), GUIEdge::getScaleValue(), GUILane::getScaleValue(), GUIApplicationWindow::handleEvent_SimulationStep(), MSLane::isInsertionSuccess(), MSVehicleTransfer::loadState(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSStateHandler::myStartElement(), MSStageDriving::proceed(), MSVehicle::processNextStop(), LIBSUMO_NAMESPACE::Vehicle::remove(), MSBaseVehicle::reroute(), and MSStateHandler::saveState().
|
inlineinherited |
Returns the event control for insertion events.
Definition at line 484 of file MSNet.h.
References MSNet::myInsertionEvents.
Referenced by MSDevice_Routing::MSDevice_Routing(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), and MSTransportableDevice_Routing::setParameter().
|
staticinherited |
Returns the pointer to the unique instance of MSNet (singleton).
ProcessError | If a network was not yet constructed |
Definition at line 171 of file MSNet.cpp.
References MSNet::myInstance.
Referenced by MSRoutingEngine::_initEdgeWeights(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSCFModel_CC::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSPerson::MSPersonStage_Walking::abort(), MSStageWaiting::abort(), MSStageDriving::abort(), MSRoutingEngine::adaptEdgeEfforts(), LIBSUMO_NAMESPACE::Edge::adaptTraveltime(), LaneStoringVisitor::add(), LIBSUMO_NAMESPACE::Person::add(), libsumo::POI::add(), libsumo::Polygon::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSVehicleTransfer::add(), MSPModel_Striping::add(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), libsumo::Polygon::addDynamics(), MSRouteHandler::addFlowPerson(), libsumo::Polygon::addHighlightPolygon(), NLHandler::addInsertionPredecessorConstraint(), MSTrafficLightLogic::addLink(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSRouteHandler::addPersonTrip(), NLHandler::addPredecessorConstraint(), GUIEdge::addRerouter(), MSRouteHandler::addRide(), MSDevice_Vehroutes::addRoute(), MSTractionSubstation::addSolvingCirucitToEndOfTimestepEvents(), MSRouteHandler::addStop(), MSBaseVehicle::addStop(), MSRouteHandler::addTransport(), MSBaseVehicle::addTransportable(), MSTLLogicControl::addWAUTJunction(), LIBSUMO_NAMESPACE::Person::appendDrivingStage(), LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportableControl::boardAnyWaiting(), MSVehicle::boardTransportables(), MSDevice_BTreceiver::BTreceiverUpdate::BTreceiverUpdate(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), LIBSUMO_NAMESPACE::Vehicle::buildStopParameters(), NLTriggerBuilder::buildVaporizer(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), LIBSUMO_NAMESPACE::Vehicle::changeLane(), LIBSUMO_NAMESPACE::Vehicle::changeLaneRelative(), MELoop::changeSegment(), MSPhasedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSLane::checkFailure(), GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::checkGamingEventsDRT(), MSVehicleTransfer::checkInsertions(), MSVehicle::Influencer::GapControlState::cleanup(), LIBSUMO_NAMESPACE::Simulation::clearPending(), LIBSUMO_NAMESPACE::Simulation::close(), MSRouteHandler::closeContainer(), MSRouteHandler::closeFlow(), MSRouteHandler::closePerson(), MSRouteHandler::closePersonFlow(), MSRouteHandler::closeRoute(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), MSRouteHandler::closeVehicleTypeDistribution(), MSRouteHandler::closeVType(), MSTLLogicControl::closeWAUT(), Command_SaveTLSProgram::Command_SaveTLSProgram(), Command_SaveTLSState::Command_SaveTLSState(), Command_SaveTLSSwitches::Command_SaveTLSSwitches(), Command_SaveTLSSwitchStates::Command_SaveTLSSwitchStates(), MSDispatch_Greedy::computeDispatch(), MSDispatch_GreedyClosest::computeDispatch(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NLDetectorBuilder::createEdgeLaneMeanData(), MSCalibrator::currentFlow(), MSDevice_Taxi::customerArrived(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), MSInsertionControl::determineCandidates(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), TraCIServer::dispatchCommand(), MSDevice_Taxi::dispatchShared(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUITrafficLightLogicWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), MSVehicleType::duplicateType(), MSActuatedTrafficLightLogic::duration(), GUITriggerBuilder::endParkingArea(), GUITriggerBuilder::endStoppingPlace(), MSParkingArea::enter(), MSVehicle::enterLaneAtInsertion(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSDevice::equippedByDefaultAssignmentOptions(), Command_SaveTLCoupledDet::execute(), Command_SaveTLCoupledLaneDet::execute(), METriggeredCalibrator::execute(), MSVTypeProbe::execute(), MSPerson::MSPersonStage_Access::ProceedCmd::execute(), MSCalibrator::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), MSEdgeControl::executeMovements(), libsumo::Polygon::exists(), MSCFModel_CC::finalizeSpeed(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), MSActuatedTrafficLightLogic::gapControl(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSDevice_Vehroutes::generateOutputForUnfinished(), LIBSUMO_NAMESPACE::Edge::getAdaptedTraveltime(), MSTransportable::getAngle(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::BusStop::getBusStop(), LIBSUMO_NAMESPACE::Simulation::getBusStopIDList(), LIBSUMO_NAMESPACE::Simulation::getBusStopWaiting(), LIBSUMO_NAMESPACE::Simulation::getBusStopWaitingIDList(), LIBSUMO_NAMESPACE::ChargingStation::getChargingStation(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GUILane::getColorValue(), MSLane::getCriticalLeader(), MSSOTLTrafficLightLogic::getCurrentPhaseElapsed(), MSLaneSpeedTrigger::getCurrentSpeed(), LIBSUMO_NAMESPACE::Simulation::getCurrentTime(), GUIViewTraffic::getCurrentTimeStep(), LIBSUMO_NAMESPACE::InductionLoop::getDetector(), LIBSUMO_NAMESPACE::LaneArea::getDetector(), LIBSUMO_NAMESPACE::MultiEntryExit::getDetector(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), libsumo::Helper::getDrivingDistance(), MSTransportable::getEdgePos(), MSNet::getEffort(), LIBSUMO_NAMESPACE::Edge::getEffort(), MSLane::getFirstVehicleInformation(), LIBSUMO_NAMESPACE::Vehicle::getFollowSpeed(), getGUIInstance(), MSRailSignalControl::getInstance(), LIBSUMO_NAMESPACE::Junction::getJunction(), MSInductLoop::getLastDetectionTime(), LIBSUMO_NAMESPACE::Edge::getLastStepPersonIDs(), MSLane::getLastVehicleInformation(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), LIBSUMO_NAMESPACE::Lane::getLinks(), GUILane::getLoadedEdgeWeight(), MSLane::getMaximumBrakeDist(), LIBSUMO_NAMESPACE::MeanData::getMeanData(), MESegment::getMeanSpeed(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::OverheadWire::getOverheadWire(), MSCFModel_CC::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), LIBSUMO_NAMESPACE::ParkingArea::getParkingArea(), GUILane::getPendingEmits(), MSInsertionControl::getPendingEmits(), libsumo::Helper::getPerson(), MSTLLogicControl::getPhaseDef(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), libsumo::POI::getPoI(), GUIViewTraffic::getPOIParamKeys(), libsumo::Polygon::getPolygon(), MSTransportable::getPosition(), MSVehicle::getPosition(), MSVTKExport::getPositions(), GUIVehicle::getPreviousLane(), MSCFModel_CC::getRadarMeasurements(), LIBSUMO_NAMESPACE::RouteProbe::getRouteProbe(), MSBaseVehicle::BaseInfluencer::getRouterTT(), MSRoutingEngine::getRouterTT(), GUIEdge::getScaleValue(), GUILane::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getSecureGap(), MSVTKExport::getSpeed(), MSVehicle::getStopArrivalDelay(), MSVehicle::getStopDelay(), GUILane::getStoredEdgeTravelTime(), MSEdge::getSuccessors(), LIBSUMO_NAMESPACE::TrafficLight::getTLS(), libsumo::Polygon::getTrafficObject(), MSNet::getTravelTime(), MSEdge::getTravelTimeStatic(), LIBSUMO_NAMESPACE::InductionLoop::getTree(), LIBSUMO_NAMESPACE::Junction::getTree(), libsumo::POI::getTree(), libsumo::Polygon::getTree(), GUIEdge::getTypeParameterWindow(), libsumo::Helper::getVehicle(), MSCFModel_CC::getVehicleInformation(), MSRailSignalConstraint::getVehID(), MSEdge::getViaSuccessors(), LIBSUMO_NAMESPACE::VehicleType::getVType(), MSTransportable::getWaitingSeconds(), MSTransportable::getWaitingTime(), MSLink::getZipperSpeed(), MSLane::handleCollisionBetween(), libsumo::Helper::handleSubscriptions(), MSLane::hasPedestrians(), MSBaseVehicle::haveValidStopEdges(), libsumo::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSPModel_Striping::PState::ignoreRed(), MSVehicle::ignoreRed(), MSLane::incorporateVehicle(), MSVehicle::influenceChangeDecision(), MSDevice_Vehroutes::init(), MSVehicle::Influencer::GapControlState::init(), MSMeanData::init(), MSCalibrator::init(), MSLaneSpeedTrigger::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSRailCrossing::init(), MSRailSignal::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSDevice_ToC::initColorScheme(), MSDevice_Taxi::initDispatch(), TraCIServer::initialiseSubscription(), MSTrafficLightLogic::initMesoTLSPenalties(), MSStop::initPars(), MSLane::initRestrictions(), MSRoutingEngine::initRouter(), MSVehicleControl::initVehicle(), MSTLLogicControl::initWautSwitch(), MSRoutingEngine::initWeightUpdate(), MSEdge::insertVehicle(), MSLane::isInsertionSuccess(), LIBSUMO_NAMESPACE::Vehicle::isOnInit(), MSVehicle::Influencer::isRemoteControlled(), MSPerson::Influencer::isRemoteControlled(), MSTrafficLightLogic::isSelected(), MSSOTLTrafficLightLogic::isThresholdPassed(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSParkingArea::leaveFrom(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), LIBSUMO_NAMESPACE::Simulation::load(), MSTransportableControl::loadAnyWaiting(), LIBSUMO_NAMESPACE::Simulation::loadState(), MSVehicleTransfer::loadState(), MSPerson::MSPersonStage_Walking::loadState(), MSStageDriving::loadState(), MSVehicle::Manoeuvre::manoeuvreIsComplete(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSStageTranship::moveToNextEdge(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), MSDevice_ToC::MRMExecutionStep(), MSDevice_Routing::MSDevice_Routing(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSTrafficLightLogic::MSTrafficLightLogic(), MSTransportableControl::MSTransportableControl(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), MSVTypeProbe::MSVTypeProbe(), GUITriggeredRerouter::myEndElement(), MSStateHandler::myEndElement(), MSTriggeredRerouter::myEndElement(), MSRouteHandler::myStartElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSTriggeredRerouter::myStartElement(), NLHandler::myStartElement(), MSLane::nextBlocking(), MSDevice_Routing::notifyEnter(), MSDevice_Taxi::notifyEnter(), MSDevice_Transportable::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Vehroutes::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_Taxi::notifyMove(), MSDevice_Transportable::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), GUISUMOViewParent::onCmdLocate(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdRemoveObject(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), GUIApplicationWindow::onCmdSaveState(), MSBaseVehicle::onDepart(), GUIViewTraffic::onGamingClick(), MEVehicle::onRemovalFromNet(), MSRouteHandler::openRoute(), TraCIServer::openSocket(), MSRouteHandler::openVehicleTypeDistribution(), NLTriggerBuilder::parseAndBuildOverheadWireClamp(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), MSVehicle::planMoveInternal(), libsumo::Helper::postProcessRemoteControl(), MSPerson::Influencer::postProcessRemoteControl(), TraCIServer::postProcessSimulationStep(), MESegment::prepareDetectorForWriting(), MSPerson::MSPersonStage_Walking::proceed(), MSTransportable::proceed(), TraCIServer::processCommandsUntilSimStep(), MSDevice_SSM::processEncounters(), TraCIServerAPI_TrafficLight::processGet(), MSVehicle::processLaneAdvances(), MSVehicle::processNextStop(), TraCIServerAPI_GUI::processSet(), TraCIServerAPI_Person::processSet(), TraCIServerAPI_Vehicle::processSet(), MEVehicle::processStop(), MSVehicle::processTraCISpeedControl(), MSPModel_Striping::PState::PState(), MSEdge::recalcCache(), MESegment::receive(), MSRailSignal::recheckGreen(), libsumo::Helper::registerVehicleStateListener(), METriggeredCalibrator::remainingVehicleCapacity(), MSCalibrator::remainingVehicleCapacity(), libsumo::POI::remove(), libsumo::Polygon::remove(), LIBSUMO_NAMESPACE::Vehicle::remove(), MSVehicleControl::removePending(), MSCalibrator::removePending(), MSTransportable::removeStage(), MSBaseVehicle::replaceRoute(), MSVehicle::replaceStop(), MSBaseVehicle::replaceVehicleType(), MSTransportable::replaceVehicleType(), MSDevice_ToC::requestToC(), MSBaseVehicle::reroute(), MSRoutingEngine::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), LIBSUMO_NAMESPACE::Vehicle::rerouteEffort(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), LIBSUMO_NAMESPACE::Vehicle::rerouteTraveltime(), MSVehicle::resetActionOffset(), MSSOTLTrafficLightLogic::resetCTS(), MSTrafficLightLogic::resetLinkStates(), MSVehicle::resumeFromStopping(), MSTransportable::routeOutput(), MSStateHandler::saveRNGs(), MSStateHandler::saveState(), LIBSUMO_NAMESPACE::Simulation::saveState(), TraCIServer::sendOutputToAll(), MSVehicleType::setActionStepLength(), MSStageTrip::setArrived(), LIBSUMO_NAMESPACE::Edge::setEffort(), libsumo::Calibrator::setFlow(), GUIBaseVehicle::setFunctionalColor(), MSLaneSpeedTrigger::setOverriding(), MSLaneSpeedTrigger::setOverridingValue(), MSTransportableDevice_Routing::setParameter(), MSDevice_ToC::setParameter(), MSCFModel_CC::setParameter(), MSTriggeredRerouter::setPermissions(), LIBSUMO_NAMESPACE::TrafficLight::setPhase(), LIBSUMO_NAMESPACE::TrafficLight::setPhaseDuration(), libsumo::POI::setPosition(), LIBSUMO_NAMESPACE::TrafficLight::setProgram(), LIBSUMO_NAMESPACE::TrafficLight::setProgramLogic(), LIBSUMO_NAMESPACE::TrafficLight::setRedYellowGreenState(), libsumo::Polygon::setShape(), LIBSUMO_NAMESPACE::Vehicle::setSpeed(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSPhasedTrafficLightLogic::setStep(), LIBSUMO_NAMESPACE::Person::setType(), LIBSUMO_NAMESPACE::Vehicle::setType(), MSSOTLTrafficLightLogic::setupCTS(), GUITriggeredRerouter::shiftProbs(), signalHandler(), LIBSUMO_NAMESPACE::Vehicle::slowDown(), LIBSUMO_NAMESPACE::Simulation::step(), MSStopOut::stopEnded(), MSLane::succLinkSec(), MSDevice_ToC::switchHolderType(), MSTLLogicControl::TLSLogicVariants::switchTo(), MELoop::teleportVehicle(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSPerson::MSPersonStage_Walking::tripInfoOutput(), MSStageDriving::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSInsertionControl::tryInsert(), MSActuatedTrafficLightLogic::trySwitch(), MSDelayBasedTrafficLightLogic::trySwitch(), MSSimpleTrafficLightLogic::trySwitch(), MSSOTLTrafficLightLogic::trySwitch(), MSVehicle::updateActionOffset(), MSVehicle::updateBestLanes(), MSSOTLTrafficLightLogic::updateCTS(), MSRailCrossing::updateCurrentPhase(), MSSOTLTrafficLightLogic::updateDecayThreshold(), MSDevice_Tripinfo::updateParkingStopTime(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MELoop::updateSegementsForEdge(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSPModel_Remote::usingInternalLanes(), MSPModel_Striping::usingInternalLanesStatic(), MELoop::vaporizeCar(), MSDetectorFileOutput::vehicleApplies(), MSTriggeredRerouter::vehicleApplies(), MSVehicleControl::vehicleDeparted(), MSPModel_Striping::PState::walk(), MSPerson::MSPersonStage_Walking::walkDistance(), MSVehicle::wasRemoteControlled(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), MSAmitranTrajectories::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), MSFullExport::writeEdge(), MSQueueExport::writeEdge(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSFullExport::writeTLS(), MSFullExport::writeVehicles(), MSDevice_BTreceiver::BTreceiverUpdate::~BTreceiverUpdate(), MSDevice_Transportable::~MSDevice_Transportable(), MSTransportable::~MSTransportable(), and MSVehicle::~MSVehicle().
|
inherited |
Definition at line 1237 of file MSNet.cpp.
References MSNet::adaptIntermodalRouter(), IntermodalNetwork< E, L, N, V >::ALL_JUNCTIONS, OptionsCont::getInt(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), MSDevice_Taxi::getTaxi(), OptionsCont::getValueString(), MSNet::myIntermodalRouter, IntermodalNetwork< E, L, N, V >::PARKING_AREAS, IntermodalNetwork< E, L, N, V >::PT_STOPS, libsumo::ROUTING_MODE_COMBINED, STEPS2TIME, string2time(), IntermodalNetwork< E, L, N, V >::TAXI_DROPOFF_ANYWHERE, IntermodalNetwork< E, L, N, V >::TAXI_DROPOFF_PT, IntermodalNetwork< E, L, N, V >::TAXI_PICKUP_ANYWHERE, and IntermodalNetwork< E, L, N, V >::TAXI_PICKUP_PT.
Referenced by LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), and MSStageTrip::setArrived().
|
inlineinherited |
Returns the junctions control.
Definition at line 454 of file MSNet.h.
References MSNet::myJunctions.
Referenced by NLBuilder::build(), and LIBSUMO_NAMESPACE::Junction::getJunction().
std::vector< GUIGlID > GUINet::getJunctionIDs | ( | bool | includeInternal | ) | const |
Definition at line 236 of file GUINet.cpp.
References myJunctionWrapper.
Referenced by getParameterWindow().
Position GUINet::getJunctionPosition | ( | const std::string & | name | ) | const |
returns the position of a junction
Definition at line 181 of file GUINet.cpp.
References NamedObjectCont< T >::get(), MSJunction::getPosition(), and MSNet::myJunctions.
int GUINet::getLinkTLID | ( | const MSLink *const | link | ) | const |
Returns the gl-id of the traffic light that controls the given link valid only if the link is controlled by a tls
Definition at line 194 of file GUINet.cpp.
References MSTLLogicControl::getActive(), myLinks2Logic, MSNet::myLogics, and myLogics2Wrapper.
Referenced by GUILane::drawLinkRule().
int GUINet::getLinkTLIndex | ( | const MSLink *const | link | ) | const |
Returns the index of the link within the junction that controls the given link; Returns -1 if the link is not controlled by a tls
Definition at line 209 of file GUINet.cpp.
References MSTLLogicControl::getActive(), myLinks2Logic, MSNet::myLogics, and myLogics2Wrapper.
Referenced by GUILane::drawTLSLinkNo().
double GUINet::getMeanRTFactor | ( | int | duration | ) | const |
Returns the simulation speed as a factor to real time.
Definition at line 376 of file GUINet.cpp.
References myOverallSimDuration.
double GUINet::getMeanUPS | ( | ) | const |
Returns the update per seconds rate.
Definition at line 385 of file GUINet.cpp.
References myOverallSimDuration, and MSNet::myVehiclesMoved.
Referenced by getParameterWindow().
|
inherited |
Returns edge type specific meso parameters if no type specific parameters have been loaded, default values are returned.
Definition at line 347 of file MSNet.cpp.
References OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getOptions(), OptionsCont::getString(), MSNet::MesoEdgeType::jamThreshold, MSNet::MesoEdgeType::junctionControl, MSNet::MesoEdgeType::minorPenalty, MSNet::myMesoEdgeTypes, MSNet::MesoEdgeType::overtaking, string2time(), MSNet::MesoEdgeType::tauff, MSNet::MesoEdgeType::taufj, MSNet::MesoEdgeType::taujf, MSNet::MesoEdgeType::taujj, MSNet::MesoEdgeType::tlsFlowPenalty, and MSNet::MesoEdgeType::tlsPenalty.
Referenced by NLHandler::addMesoEdgeType(), MELoop::buildSegmentsFor(), GUIEdge::getTypeParameterWindow(), MSTrafficLightLogic::initMesoTLSPenalties(), MSEdge::recalcCache(), and MELoop::updateSegementsForEdge().
|
virtualinherited |
Returns the id of the object as known to microsim.
Definition at line 180 of file GUIGlObject.cpp.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), GUIGlObject::drawName(), GNEAdditional::getID(), GNEShape::getID(), GNETAZElement::getID(), GNEGenericData::getID(), GNEDemandElement::getID(), GNENetworkElement::getID(), GUIDialog_ChooserAbstract::getObjectName(), GNEDialogACChooser::getObjectName(), GNEDetectorE3::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNEVariableSpeedSign::getParentName(), GNEVehicleType::getParentName(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), TraCIServerAPI_GUI::processGet(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), SUMORTree::removeAdditionalGLObject(), and GNENet::splitEdge().
|
inlineinherited |
|
virtualinherited |
Returns the name of the object (default "")
Reimplemented in GNEEdge, GUITrafficLightLogicWrapper, GUIParkingArea, GUIJunctionWrapper, GUIEdge, GUIContainerStop, GUIChargingStation, GUIBusStop, and GUIBaseVehicle.
Definition at line 185 of file GUIGlObject.cpp.
Referenced by GUIDialog_ChooserAbstract::getObjectName().
|
overridevirtual |
Returns an own parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Implements GUIGlObject.
Definition at line 434 of file GUINet.cpp.
References GUIParameterTableWindow::closeBuilding(), MSVehicleControl::getArrivedVehicleNo(), getAvgDepartDelay(), getAvgDuration(), getAvgRouteLength(), getAvgTimeLoss(), getAvgTripSpeed(), getAvgWaitingTime(), getAvgWalkDuration(), getAvgWalkRouteLength(), getAvgWalkTimeLoss(), MSVehicleControl::getCollisionCount(), MSVehicleControl::getDepartedVehicleNo(), MSVehicleControl::getDiscardedVehicleNo(), GUISUMOAbstractView::getFPS(), MSVehicleControl::getHaltingVehicleNo(), getIdleDuration(), GUIEdge::getIDs(), MSNet::getInsertionControl(), MSTransportableControl::getJammedNumber(), getJunctionIDs(), MSTransportableControl::getLoadedNumber(), MSVehicleControl::getLoadedVehicleNo(), getMeanUPS(), OptionsCont::getOptions(), getPersonControl(), getRTFactor(), MSTransportableControl::getRunningNumber(), MSVehicleControl::getRunningVehicleNo(), getSimDuration(), MSVehicleControl::getTeleportCount(), GUIEdge::getTotalLength(), getUPS(), MSNet::getVehicleControl(), MSVehicleControl::getVehicleMeanSpeed(), MSVehicleControl::getVehicleMeanSpeedRelative(), MSInsertionControl::getWaitingVehicleNo(), getWholeDuration(), MSNet::logSimulationDuration(), GUIParameterTableWindow::mkItem(), MSNet::myPersonControl, MSNet::myVersion, and toString().
Referenced by GUIApplicationWindow::onCmdShowStats().
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNELane, GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, GNEPerson, GNEVariableSpeedSignSymbol, GNEVariableSpeedSignStep, GNEVariableSpeedSign, GNEVaporizer, GNETAZSourceSink, GNETAZ, GNEStoppingPlace, GNERouteProbReroute, GNERouteProbe, GNERerouterSymbol, GNERerouterInterval, GNERerouter, GNEPoly, GNEPOI, GNEParkingSpace, GNEParkingAreaReroute, GNEDetectorE3, GNEDetector, GNEDestProbReroute, GNEClosingReroute, GNEClosingLaneReroute, GNECalibratorFlow, GNECalibrator, GNEAccess, and GUILane.
Definition at line 160 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
inherited |
Definition at line 1227 of file MSNet.cpp.
References MSNet::myPedestrianRouter.
Referenced by MSPModel_Striping::getNextLane(), MSPModel_Striping::PState::PState(), and LIBSUMO_NAMESPACE::Person::rerouteTraveltime().
|
overridevirtual |
Returns the person control.
If the person control does not exist, yet, it is created.
Reimplemented from MSNet.
Definition at line 125 of file GUINet.cpp.
References MSNet::myPersonControl.
Referenced by GUIApplicationWindow::checkGamingEventsDRT(), getParameterWindow(), and GUIApplicationWindow::handleEvent_SimulationStep().
|
overridevirtual |
Returns an own popup-menu.
[in] | app | The application needed to build the popup-menu |
[in] | parent | The parent window needed to build the popup-menu |
Implements GUIGlObject.
Definition at line 422 of file GUINet.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
inherited |
Returns the restrictions for an edge type If no restrictions are present, 0 is returned.
[in] | id | The id of the type |
Definition at line 333 of file MSNet.cpp.
References MSNet::myRestrictions.
Referenced by MSLane::initRestrictions().
|
inherited |
Definition at line 1217 of file MSNet.cpp.
References MSEdge::getAllEdges(), MSNet::getEffort(), MSNet::getTravelTime(), and MSNet::myRouterEffort.
|
inherited |
Definition at line 1199 of file MSNet.cpp.
References MSEdge::getAllEdges(), OptionsCont::getOptions(), OptionsCont::getString(), MSNet::getTravelTime(), MSNet::myRouterTT, and WRITE_WARNING.
Referenced by MSDispatch_Greedy::computeDispatch(), MSDispatch_GreedyClosest::computeDispatch(), LIBSUMO_NAMESPACE::Simulation::findRoute(), libsumo::Helper::getDrivingDistance(), MSBaseVehicle::BaseInfluencer::getRouterTT(), MSTriggeredRerouter::notifyEnter(), GUIVehicle::rerouteDRTStop(), and MSTriggeredRerouter::rerouteParkingArea().
double GUINet::getRTFactor | ( | ) | const |
Returns the simulation speed as a factor to real time.
Definition at line 358 of file GUINet.cpp.
References DELTA_T, and myLastSimDuration.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the shapes container.
Definition at line 494 of file MSNet.h.
References MSNet::myShapeContainer.
Referenced by libsumo::POI::add(), libsumo::Polygon::add(), NLHandler::addDistrict(), libsumo::Polygon::addDynamics(), libsumo::Polygon::addHighlightPolygon(), NLBuilder::build(), libsumo::Polygon::exists(), libsumo::POI::getPoI(), GUIViewTraffic::getPOIParamKeys(), libsumo::Polygon::getPolygon(), libsumo::POI::getTree(), libsumo::Polygon::getTree(), GUIApplicationWindow::onCmdOpenShapes(), libsumo::POI::remove(), libsumo::Polygon::remove(), libsumo::POI::setPosition(), and libsumo::Polygon::setShape().
int GUINet::getSimDuration | ( | ) | const |
Returns the duration of the last step's simulation part (in ms)
Definition at line 344 of file GUINet.cpp.
References myLastSimDuration.
Referenced by getParameterWindow().
|
staticinherited |
Returns the message to show if a certain state occurs.
Definition at line 718 of file MSNet.cpp.
References MSNet::SIMSTATE_CONNECTION_CLOSED, MSNet::SIMSTATE_END_STEP_REACHED, MSNet::SIMSTATE_ERROR_IN_SIM, MSNet::SIMSTATE_INTERRUPTED, MSNet::SIMSTATE_LOADING, MSNet::SIMSTATE_NO_FURTHER_VEHICLES, MSNet::SIMSTATE_RUNNING, and MSNet::SIMSTATE_TOO_MANY_TELEPORTS.
Referenced by GUIRunThread::deleteSim(), GUIApplicationWindow::handleEvent_SimulationEnded(), and MSNet::simulate().
|
inherited |
Returns the named stopping place of the given category.
[in] | id | The id of the stop to return. |
[in] | category | The type of stop |
Definition at line 1098 of file MSNet.cpp.
References MSNet::myStoppingPlaces.
Referenced by MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSRouteHandler::addRide(), MSRouteHandler::addStop(), MSRouteHandler::addTransport(), LIBSUMO_NAMESPACE::Person::appendDrivingStage(), LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), LIBSUMO_NAMESPACE::Vehicle::buildStopParameters(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), LIBSUMO_NAMESPACE::BusStop::getBusStop(), LIBSUMO_NAMESPACE::Simulation::getBusStopWaiting(), LIBSUMO_NAMESPACE::Simulation::getBusStopWaitingIDList(), LIBSUMO_NAMESPACE::ChargingStation::getChargingStation(), LIBSUMO_NAMESPACE::OverheadWire::getOverheadWire(), LIBSUMO_NAMESPACE::Simulation::getParameter(), LIBSUMO_NAMESPACE::ParkingArea::getParkingArea(), MSStop::initPars(), MSRouteHandler::myStartElement(), MSTriggeredRerouter::myStartElement(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), NLTriggerBuilder::parseAndBuildOverheadWireClamp(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), MSVehicle::rerouteParkingArea(), MSStageTrip::setArrived(), and MSDevice_ToC::triggerMRM().
|
inherited |
Returns the stop of the given category close to the given position.
[in] | lane | the lane of the stop to return. |
[in] | pos | the position of the stop to return. |
[in] | category | The type of stop |
Definition at line 1107 of file MSNet.cpp.
References MSStoppingPlace::getBeginLanePosition(), Named::getID(), MSStoppingPlace::getLane(), and MSNet::myStoppingPlaces.
Referenced by MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), and MSVehicle::updateBestLanes().
|
inherited |
Definition at line 1121 of file MSNet.cpp.
References MSNet::myStoppingPlaces, and toString().
Referenced by GUIViewTraffic::onGamingClick().
|
inlineinherited |
Returns the tls logics control.
Definition at line 444 of file MSNet.h.
References MSNet::myLogics.
Referenced by NLHandler::addInsertionPredecessorConstraint(), NLHandler::addPredecessorConstraint(), NLBuilder::build(), NLDiscreteEventBuilder::buildSaveTLSProgramCommand(), NLDiscreteEventBuilder::buildSaveTLStateCommand(), NLDiscreteEventBuilder::buildSaveTLSwitchesCommand(), NLDiscreteEventBuilder::buildSaveTLSwitchStatesCommand(), GUIJunctionWrapper::drawGL(), NLJunctionControlBuilder::getTLLogicControlToUse(), LIBSUMO_NAMESPACE::TrafficLight::getTLS(), initGUIStructures(), initTLMap(), NLHandler::myStartElement(), GUIViewTraffic::onGamingClick(), TraCIServerAPI_TrafficLight::processGet(), MSStateHandler::saveState(), LIBSUMO_NAMESPACE::TrafficLight::setProgramLogic(), and MSFullExport::writeTLS().
std::vector< GUIGlID > GUINet::getTLSIDs | ( | ) | const |
Returns the gl-ids of all traffic light logics within the net.
Definition at line 248 of file GUINet.cpp.
References myLogics2Wrapper.
|
staticinherited |
Returns the travel time to pass an edge.
[in] | e | The edge for which the travel time to be passed shall be returned |
[in] | v | The vehicle that is rerouted |
[in] | t | The time for which the travel time shall be returned [s] |
Definition at line 154 of file MSNet.cpp.
References MSNet::getInstance(), MSEdge::getMinimumTravelTime(), MSNet::getWeightsStorage(), MSBaseVehicle::getWeightsStorage(), and MSEdgeWeightsStorage::retrieveExistingTravelTime().
Referenced by MSRoutingEngine::_initEdgeWeights(), MSNet::getRouterEffort(), MSNet::getRouterTT(), MSEdge::getTravelTimeStatic(), and MSRoutingEngine::initRouter().
|
inherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 202 of file GUIGlObject.cpp.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEVehicle::drawFlowLabel(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEDetectorEntryExit::drawGL(), GNEPOI::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNEEdgeRelData::drawPartialGL(), GNEAdditional::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GNEVehicle::drawStackLabel(), GNEViewNet::getAttributeCarriersInBoundary(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNEViewNetHelper::ObjectsUnderCursor::updateGenericDataElements(), GNEViewNetHelper::ObjectsUnderCursor::updateNetworkElements(), GNEViewNetHelper::ObjectsUnderCursor::updateShapeElements(), and GNEViewNetHelper::ObjectsUnderCursor::updateTAZElements().
|
virtualinherited |
Returns an own type parameter window (optional)
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented in GUIBaseVehicle, GUIMEVehicle, GUIVehicle, GUIPerson, GUIEdge, and GUIContainer.
Definition at line 172 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
double GUINet::getUPS | ( | ) | const |
Returns the update per seconds rate.
Definition at line 367 of file GUINet.cpp.
References myLastSimDuration, and myLastVehicleMovementCount.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the vehicle control.
Definition at line 371 of file MSNet.h.
References MSNet::myVehicleControl.
Referenced by MSNet::adaptIntermodalRouter(), LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSVehicleTransfer::add(), MSRouteHandler::addFlowPerson(), MSRouteHandler::addPersonTrip(), MSRouteHandler::addRide(), MSVehicle::boardTransportables(), MELoop::changeSegment(), GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::checkGamingEventsDRT(), MSVehicleTransfer::checkInsertions(), MSRouteHandler::closeContainer(), MSRouteHandler::closePerson(), MSRouteHandler::closePersonFlow(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), MSInsertionControl::determineCandidates(), MSDevice::equippedByDefaultAssignmentOptions(), METriggeredCalibrator::execute(), MSVTypeProbe::execute(), MSCalibrator::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), MSEdgeControl::executeMovements(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), LIBSUMO_NAMESPACE::Vehicle::getFollowSpeed(), MSLane::getMaximumBrakeDist(), LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), getParameterWindow(), MSVTKExport::getPositions(), MSCFModel_CC::getRadarMeasurements(), LIBSUMO_NAMESPACE::Vehicle::getSecureGap(), MSVTKExport::getSpeed(), libsumo::Polygon::getTrafficObject(), libsumo::Helper::getVehicle(), MSRailSignalConstraint::getVehID(), LIBSUMO_NAMESPACE::VehicleType::getVType(), MSLane::handleCollisionBetween(), GUIApplicationWindow::handleEvent_SimulationStep(), MSDevice_ToC::initColorScheme(), LIBSUMO_NAMESPACE::Vehicle::isOnInit(), MSStageDriving::loadState(), MSDevice_ToC::MSDevice_ToC(), MSStateHandler::myEndElement(), MSRouteHandler::myStartElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSCalibrator::VehicleRemover::notifyEnter(), MSDevice_Bluelight::notifyMove(), GUIApplicationWindow::onCmdDemandScale(), GUISUMOViewParent::onCmdLocate(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdRemoveObject(), MSBaseVehicle::onDepart(), GUIViewTraffic::onGamingClick(), MSRouteHandler::openRoute(), MSRouteHandler::openVehicleTypeDistribution(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processNextStop(), TraCIServerAPI_GUI::processSet(), TraCIServerAPI_Vehicle::processSet(), MESegment::receive(), METriggeredCalibrator::remainingVehicleCapacity(), MSCalibrator::remainingVehicleCapacity(), LIBSUMO_NAMESPACE::Vehicle::remove(), MSCalibrator::removePending(), MSBaseVehicle::replaceVehicleType(), MSTransportable::replaceVehicleType(), MSVehicle::resumeFromStopping(), MSStateHandler::saveState(), MSVehicleType::setActionStepLength(), MSStageTrip::setArrived(), libsumo::Calibrator::setFlow(), MSDevice_ToC::setParameter(), MSCFModel_CC::setParameter(), setSimDuration(), LIBSUMO_NAMESPACE::Person::setType(), LIBSUMO_NAMESPACE::Vehicle::setType(), MSDevice_ToC::switchHolderType(), MELoop::teleportVehicle(), MSDetectorFileOutput::vehicleApplies(), MSTriggeredRerouter::vehicleApplies(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), MSAmitranTrajectories::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), MSNet::writeOutput(), MSFullExport::writeVehicles(), MSTransportable::~MSTransportable(), and MSVehicle::~MSVehicle().
|
inline |
|
inline |
|
inherited |
Returns the net's internal edge travel times/efforts container.
If the net does not have such a container, it is built.
Definition at line 1009 of file MSNet.cpp.
References MSNet::myEdgeWeights.
Referenced by LIBSUMO_NAMESPACE::Edge::adaptTraveltime(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), GUILane::getColorValue(), MSNet::getEffort(), GUILane::getLoadedEdgeWeight(), GUILane::getScaleValue(), GUILane::getStoredEdgeTravelTime(), MSNet::getTravelTime(), and LIBSUMO_NAMESPACE::Edge::setEffort().
int GUINet::getWholeDuration | ( | ) | const |
Returns the duration of the last step (sim+visualisation+idle) (in ms)
Definition at line 338 of file GUINet.cpp.
References myLastIdleDuration, and myLastSimDuration.
Referenced by getParameterWindow().
void GUINet::guiSimulationStep | ( | ) |
Some further steps needed for gui processing.
Definition at line 222 of file GUINet.cpp.
References GLObjectValuePassConnector< T >::updateAll().
Referenced by GUIRunThread::makeStep().
|
inlineinherited |
return whether the network contains bidirectional rail edges
Definition at line 710 of file MSNet.h.
References MSNet::myHasBidiEdges.
|
inlineinherited |
Returns whether containers are simulated.
Definition at line 404 of file MSNet.h.
References MSNet::myContainerControl.
Referenced by MSRouteHandler::addFlowPerson(), MSVehicle::boardTransportables(), LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), GUIApplicationWindow::handleEvent_SimulationStep(), and MEVehicle::processStop().
|
inlineinherited |
return whether the network contains elevation data
Definition at line 700 of file MSNet.h.
References MSNet::myHasElevation.
Referenced by MSVTypeProbe::execute().
|
inlinestaticinherited |
Returns whether the network was already constructed.
Definition at line 154 of file MSNet.h.
References MSNet::myInstance.
Referenced by LIBSUMO_NAMESPACE::Simulation::close(), MSVehicle::Influencer::GapControlState::init(), LIBSUMO_NAMESPACE::Simulation::isLoaded(), libsumo::Helper::registerVehicleStateListener(), and signalHandler().
|
inlineinherited |
return whether the network contains internal links
Definition at line 695 of file MSNet.h.
References MSNet::myHasInternalLinks.
Referenced by MSNet::closeBuilding(), MSTrafficLightLogic::init(), MSTriggeredRerouter::rerouteParkingArea(), MSPModel_Remote::usingInternalLanes(), MSPModel_Striping::usingInternalLanesStatic(), and MSDevice_Vehroutes::writeOutput().
|
inlineinherited |
return whether the network contains walkingareas and crossings
Definition at line 705 of file MSNet.h.
References MSNet::myHasPedestrianNetwork.
Referenced by MSPModel_Striping::getNextLane().
|
inlineinherited |
Returns whether the network has specific vehicle class permissions.
Definition at line 207 of file MSNet.h.
References MSNet::myHavePermissions.
|
inlineinherited |
Returns whether persons are simulated.
Definition at line 388 of file MSNet.h.
References MSNet::myPersonControl.
Referenced by MSVehicle::boardTransportables(), MSRouteHandler::closeContainer(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSDevice_Vehroutes::generateOutputForUnfinished(), MSLink::getLeaderInfo(), LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), GUIApplicationWindow::handleEvent_SimulationStep(), MSLane::hasPedestrians(), and MEVehicle::processStop().
|
inherited |
Informs all added listeners about a vehicle's state change.
[in] | vehicle | The vehicle which changed its state |
[in] | to | The state the vehicle has changed to |
[in] | info | Information regarding the replacement |
Definition at line 1071 of file MSNet.cpp.
References MSGlobals::gNumThreads, and MSNet::myVehicleStateListeners.
Referenced by MSVehicleTransfer::add(), MSVehicleTransfer::checkInsertions(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSVehicle::executeMove(), MSLane::handleCollisionBetween(), MSVehicleControl::initVehicle(), MSVehicle::processNextStop(), MSVehicleControl::removePending(), MSBaseVehicle::replaceRoute(), MSVehicle::resumeFromStopping(), and MSVehicleControl::vehicleDeparted().
void GUINet::initGUIStructures | ( | ) |
Initialises gui wrappers.
Definition at line 263 of file GUINet.cpp.
References Boundary::add(), SUMORTree::addAdditionalGLObject(), MSEdge::getAllEdges(), MSDetectorControl::getAvailableTypes(), GUIJunctionWrapper::getBoundary(), Boundary::getHeight(), MSCalibrator::getInstances(), MSEdge::getLanes(), MSNet::getTLSControl(), MSDetectorControl::getTypedDetectors(), Boundary::getWidth(), Boundary::grow(), initTLMap(), LayeredRTree::Insert(), myBoundary, myCalibratorWrapper, MSNet::myDetectorControl, myDetectorWrapper, myEdgeWrapper, myGrid, MSNet::myJunctions, myJunctionWrapper, MSPModel::SIDEWALK_OFFSET, NamedObjectCont< T >::size(), Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by GUILoadThread::run().
|
staticinherited |
Place for static initializations of simulation components (called after successful net build)
Definition at line 179 of file MSNet.cpp.
References MSGlobals::gUseMesoSim, and MSVehicle::Influencer::init().
Referenced by MSNet::MSNet().
|
private |
Initialises the tl-logic map and wrappers.
Definition at line 143 of file GUINet.cpp.
References createTLWrapper(), MSTLLogicControl::getAllLogics(), and MSNet::getTLSControl().
Referenced by initGUIStructures().
|
inlineinherited |
Definition at line 722 of file MSNet.h.
References MSNet::myAmInterrupted.
Referenced by signalHandler().
|
inlineoverridevirtual |
|
inlineinherited |
Definition at line 726 of file MSNet.h.
References MSNet::myAmInterrupted.
|
overridevirtual |
return wheter the given logic (or rather it's wrapper) is selected in the GUI
Reimplemented from MSNet.
Definition at line 666 of file GUINet.cpp.
References GLO_TLLOGIC, gSelected, GUISelectedStorage::isSelected(), and myLogics2Wrapper.
bool GUINet::loadEdgeData | ( | const std::string & | file | ) |
load edgeData from file
Definition at line 632 of file GUINet.cpp.
References GUINet::DiscoverAttributes::getEdgeAttrs(), GUINet::DiscoverAttributes::lastIntervalEnd, MAX2(), MSNet::myEdgeDataEndTime, myLoadedEdgeData, XMLSubSys::runParser(), toString(), and WRITE_MESSAGE.
Referenced by GUILoadThread::run().
|
inherited |
loads routes for the next few steps
Definition at line 410 of file MSNet.cpp.
References SUMORouteLoaderControl::loadNext(), MSNet::myRouteLoaders, and MSNet::myStep.
Referenced by NLBuilder::init(), GUIRunThread::init(), and MSNet::simulationStep().
void GUINet::lock | ( | ) |
grant exclusive access to the simulation state
Definition at line 542 of file GUINet.cpp.
References myLock.
Referenced by GUIViewTraffic::doPaintGL().
|
inherited |
Returns whether duration shall be logged.
Definition at line 980 of file MSNet.cpp.
References MSNet::myLogExecutionTime.
Referenced by getParameterWindow().
|
inherited |
Creates and returns a dynamic shapes updater.
Definition at line 1003 of file MSNet.cpp.
References MSNet::myDynamicShapeUpdater, and MSNet::myShapeContainer.
Referenced by libsumo::Polygon::addDynamics().
|
inlinevirtualinherited |
notify object about left click
Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.
Definition at line 163 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::onLeftBtnPress().
|
inherited |
Prints the statistics of the step at its end.
Called on the end of a simulation step
Definition at line 1024 of file MSNet.cpp.
References DELTA_T, MSVehicleControl::getDepartedVehicleNo(), TraCIServer::getInstance(), MSVehicleControl::getRunningVehicleNo(), MSInsertionControl::getWaitingVehicleNo(), gPrecision, MSNet::myInserter, MSNet::myLogExecutionTime, MSNet::mySimStepDuration, MSNet::myStep, MSNet::myTraCIStepDuration, MSNet::myVehicleControl, time2string(), and TS.
Referenced by MSNet::simulate().
|
inherited |
Prints the current step number.
Called on the begin of a simulation step
Definition at line 1018 of file MSNet.cpp.
References MSNet::myStep, and time2string().
Referenced by MSNet::simulate().
|
inlinevirtualinherited |
remove additional user-griggered visualisations
Reimplemented in GUIPerson, and GUIBaseVehicle.
Definition at line 160 of file GUIGlObject.h.
|
inlinevirtualinherited |
notify object about popup menu removal
Reimplemented in GUIBaseVehicle.
Definition at line 109 of file GUIGlObject.h.
Referenced by GUIGLObjectPopupMenu::~GUIGLObjectPopupMenu().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 315 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
inherited |
Removes a vehicle states listener.
[in] | listener | The listener to remove |
Definition at line 1062 of file MSNet.cpp.
References MSNet::myVehicleStateListeners.
Referenced by MSVehicle::Influencer::GapControlState::cleanup().
|
inlineinherited |
Sets the current simulation step (used by state loading)
step | the current simulation step |
Definition at line 321 of file MSNet.h.
References MSNet::myStep.
Referenced by GUIRunThread::init(), and LIBSUMO_NAMESPACE::Simulation::load().
void GUINet::setIdleDuration | ( | int | val | ) |
Sets the duration of the last step's idle part.
Definition at line 416 of file GUINet.cpp.
References myLastIdleDuration.
Referenced by GUIRunThread::run().
|
virtualinherited |
Changes the microsimID of the object.
Reimplemented in GNEEdge.
Definition at line 190 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObjectStorage::gIDStorage, GUIGlObject::myFullName, GUIGlObject::myGlID, GUIGlObject::myMicrosimID, GUIGlObjectStorage::registerObject(), and GUIGlObjectStorage::remove().
Referenced by GNELane::setIndex(), GNEEdge::setMicrosimID(), GNENetHelper::AttributeCarriers::updateAdditionalID(), GNENetHelper::AttributeCarriers::updateDemandElementID(), GNENetHelper::AttributeCarriers::updateEdgeTypeID(), GNEConnection::updateID(), GNENetHelper::AttributeCarriers::updateJunctionID(), GNENetHelper::AttributeCarriers::updateShapeID(), and GNENetHelper::AttributeCarriers::updateTAZElementID().
|
inlineinherited |
Labels the network to contain vehicle class permissions.
Definition at line 213 of file MSNet.h.
References MSNet::myHavePermissions.
Referenced by NLHandler::addLane().
void GUINet::setSimDuration | ( | int | val | ) |
Sets the duration of the last step's simulation part.
Definition at line 400 of file GUINet.cpp.
References MSVehicleControl::getRunningVehicleNo(), MSNet::getVehicleControl(), myLastSimDuration, myLastVehicleMovementCount, myOverallSimDuration, and myOverallVehicleCount.
Referenced by GUIRunThread::run().
|
inherited |
Simulates from timestep start to stop.
[in] | start | The begin time step of the simulation |
[in] | stop | The end time step of the simulation |
Recheck return value
What exceptions may occure?
Definition at line 368 of file MSNet.cpp.
References MSNet::adaptToState(), MSNet::closeSimulation(), MSNet::getStateMessage(), MSNet::myLogStepNumber, MSNet::myLogStepPeriod, MSNet::myStep, MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), MSNet::SIMSTATE_RUNNING, SIMTIME, MSNet::simulationState(), MSNet::simulationStep(), time2string(), and WRITE_MESSAGE.
Referenced by main().
|
inherited |
This method returns the current simulation state. It should not modify status.
[in] | stopTime | The time the simulation shall stop at |
Definition at line 667 of file MSNet.cpp.
References MSVehicleControl::getActiveVehicleCount(), TraCIServer::getInstance(), MSInsertionControl::getPendingFlowCount(), MSVehicleControl::getTeleportCount(), MSTransportableControl::hasNonWaiting(), MSDevice_Taxi::hasServableReservations(), MSNet::myAmInterrupted, MSNet::myContainerControl, MSNet::myEdgeDataEndTime, MSNet::myInserter, MSNet::myMaxTeleports, MSNet::myPersonControl, MSNet::myStep, MSNet::myVehicleControl, MSNet::SIMSTATE_CONNECTION_CLOSED, MSNet::SIMSTATE_END_STEP_REACHED, MSNet::SIMSTATE_INTERRUPTED, MSNet::SIMSTATE_LOADING, MSNet::SIMSTATE_NO_FURTHER_VEHICLES, MSNet::SIMSTATE_RUNNING, MSNet::SIMSTATE_TOO_MANY_TELEPORTS, and TraCIServer::wasClosed().
Referenced by GUIRunThread::deleteSim(), GUIRunThread::makeStep(), and MSNet::simulate().
void GUINet::simulationStep | ( | ) |
Performs a single simulation step (locking the simulation)
Definition at line 229 of file GUINet.cpp.
References myLock, and MSNet::simulationStep().
Referenced by GUIRunThread::makeStep().
void GUINet::unlock | ( | ) |
release exclusive access to the simulation state
Definition at line 548 of file GUINet.cpp.
References myLock.
Referenced by GUIViewTraffic::doPaintGL().
bool GUINet::vehicleExists | ( | const std::string & | name | ) | const |
returns the information whether the vehicle still exists
Definition at line 188 of file GUINet.cpp.
References MSVehicleControl::getVehicle(), and MSNet::myVehicleControl.
|
inherited |
return whether a warning regarding the given object shall be issued
Definition at line 1355 of file MSNet.cpp.
References MSNet::myWarnedOnce.
Referenced by MSBaseVehicle::addStop().
|
inherited |
write charging station output
Definition at line 1132 of file MSNet.cpp.
References OutputDevice::getDeviceByOption(), MSNet::myStoppingPlaces, and SUMO_TAG_CHARGING_STATION.
Referenced by MSNet::closeSimulation().
|
inherited |
Write netstate, summary and detector output.
Definition at line 805 of file MSNet.cpp.
References OutputDevice::closeTag(), DELTA_T, MSTransportableControl::getArrivedNumber(), MSVehicleControl::getArrivedVehicleNo(), OptionsCont::getBool(), MSVehicleControl::getCollisionCount(), MSTransportableControl::getDepartedNumber(), MSVehicleControl::getDepartedVehicleNo(), OutputDevice::getDevice(), SUMOVehicle::getDevice(), OutputDevice::getDeviceByOption(), MSEdgeControl::getEdges(), MSTransportableControl::getEndedNumber(), MSVehicleControl::getEndedVehicleNo(), MSVehicleControl::getHaltingVehicleNo(), Named::getID(), MSNet::getInstance(), MSDevice_SSM::getInstances(), MSDevice_ToC::getInstances(), OptionsCont::getInt(), MSTransportableControl::getJammedNumber(), MSTransportableControl::getLoadedNumber(), MSVehicleControl::getLoadedVehicleNo(), MSDevice_ElecHybrid::getMaximumBatteryCapacity(), MSTransportableControl::getMovingNumber(), OptionsCont::getOptions(), MSNet::getPersonControl(), MSTransportableControl::getRidingNumber(), MSVehicleControl::getRunningVehicleNo(), MSVehicleControl::getStoppedVehiclesCount(), OptionsCont::getString(), MSVehicleControl::getTeleportCount(), MSVehicleControl::getTotalDepartureDelay(), MSVehicleControl::getTotalTravelTime(), MSNet::getVehicleControl(), MSVehicleControl::getVehicleMeanSpeeds(), MSTransportableControl::getWaitingForVehicleNumber(), MSTransportableControl::getWaitingUntilNumber(), MSInsertionControl::getWaitingVehicleNo(), SUMOVehicle::isOnRoad(), OptionsCont::isSet(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), MSNet::myDetectorControl, MSNet::myEdges, MSNet::myHasElevation, MSNet::myInserter, MSNet::myLogExecutionTime, MSNet::mySimStepDuration, MSNet::myStep, MSNet::myVehicleControl, OutputDevice::openTag(), STEPS2TIME, SUMO_ATTR_ID, SUMO_ATTR_MAXIMUMBATTERYCAPACITY, SUMO_ATTR_VEHICLE, time2string(), toString(), MSDetectorControl::updateDetectors(), MSXMLRawOut::write(), MSAmitranTrajectories::write(), MSElecHybridExport::write(), MSFullExport::write(), MSQueueExport::write(), MSVTKExport::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSElecHybridExport::writeAggregated(), OutputDevice::writeAttr(), MSDetectorControl::writeOutput(), and OutputDevice::writeXMLHeader().
Referenced by MSNet::simulationStep().
|
inherited |
write the output generated by an overhead wire segment
Definition at line 1155 of file MSNet.cpp.
References OutputDevice::getDeviceByOption(), MSNet::myStoppingPlaces, and SUMO_TAG_OVERHEAD_WIRE_SEGMENT.
Referenced by MSNet::closeSimulation(), and MSNet::writeSubstationOutput().
|
inherited |
write rail signal block output
Definition at line 1143 of file MSNet.cpp.
References MSTLLogicControl::getAllLogics(), OutputDevice::getDeviceByOption(), MSNet::myLogics, and MSRailSignal::writeBlocks().
Referenced by MSNet::closeSimulation().
|
inherited |
write statistic output to (xml) file
Definition at line 475 of file MSNet.cpp.
References OutputDevice::closeTag(), MSVehicleControl::getCollisionCount(), MSVehicleControl::getDepartedVehicleNo(), OutputDevice::getDeviceByOption(), MSVehicleControl::getEmergencyStops(), MSTransportableControl::getJammedNumber(), MSTransportableControl::getLoadedNumber(), MSVehicleControl::getLoadedVehicleNo(), OptionsCont::getOptions(), MSTransportableControl::getRunningNumber(), MSVehicleControl::getRunningVehicleNo(), MSVehicleControl::getTeleportCount(), MSVehicleControl::getTeleportsJam(), MSVehicleControl::getTeleportsWrongLane(), MSVehicleControl::getTeleportsYield(), MSInsertionControl::getWaitingVehicleNo(), MSNet::myInserter, MSNet::myPersonControl, MSNet::myVehicleControl, OutputDevice::openTag(), OutputDevice::writeAttr(), and MSDevice_Tripinfo::writeStatistics().
Referenced by MSNet::closeSimulation().
|
inherited |
write electrical substation output
Definition at line 1166 of file MSNet.cpp.
References OutputDevice::getDeviceByOption(), MSNet::myStoppingPlaces, SUMO_TAG_OVERHEAD_WIRE_SEGMENT, and MSNet::writeOverheadWireSegmentOutput().
Referenced by MSNet::closeSimulation().
|
friend |
Definition at line 83 of file GUINet.h.
Referenced by createTLWrapper().
|
staticprivateinherited |
LinkStates (Currently unused)
vector for TypeNames Initializer
Definition at line 275 of file GUIGlObject.h.
|
staticinherited |
Definition at line 67 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processGet(), and GUIViewTraffic::stopTrack().
|
protectedinherited |
whether an interrupt occured
Definition at line 760 of file MSNet.h.
Referenced by MSNet::interrupt(), MSNet::isInterrupted(), and MSNet::simulationState().
|
protectedinherited |
Controls events executed at the begin of a time step;.
Definition at line 784 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::getBeginOfTimestepEvents(), MSNet::MSNet(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protected |
The networks boundary.
Definition at line 356 of file GUINet.h.
Referenced by getBoundary(), and initGUIStructures().
|
protected |
A calibrator dictionary.
Definition at line 368 of file GUINet.h.
Referenced by initGUIStructures(), and ~GUINet().
|
protectedinherited |
Controls container building and deletion;.
Definition at line 772 of file MSNet.h.
Referenced by MSNet::adaptToState(), MSNet::getContainerControl(), getContainerControl(), MSNet::hasContainers(), MSNet::MSNet(), MSNet::simulationState(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protectedinherited |
Controls detectors;.
Definition at line 782 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::closeSimulation(), MSNet::getDetectorControl(), initGUIStructures(), MSNet::MSNet(), MSNet::writeOutput(), and MSNet::~MSNet().
|
protected |
A detector dictionary.
Definition at line 365 of file GUINet.h.
Referenced by initGUIStructures(), and ~GUINet().
|
protectedinherited |
Updater for dynamic shapes that are tracking traffic objects (ensures removal of shape dynamics when the objects are removed)
Definition at line 900 of file MSNet.h.
Referenced by MSNet::getDynamicShapeUpdater(), and MSNet::makeDynamicShapeUpdater().
|
protectedinherited |
end of loaded edgeData
Definition at line 865 of file MSNet.h.
Referenced by loadEdgeData(), and MSNet::simulationState().
|
protectedinherited |
Controls edges, performs vehicle movement;.
Definition at line 774 of file MSNet.h.
Referenced by MSNet::checkBidiEdges(), MSNet::checkElevation(), MSNet::checkWalkingarea(), MSNet::closeBuilding(), MSNet::getEdgeControl(), MSNet::MSNet(), MSNet::simulationStep(), MSNet::writeOutput(), and MSNet::~MSNet().
|
protectedinherited |
The net's knowledge about edge efforts/travel times;.
Definition at line 792 of file MSNet.h.
Referenced by MSNet::getWeightsStorage(), MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
|
protectedinherited |
Controls events executed at the end of a time step;.
Definition at line 786 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::getEndOfTimestepEvents(), MSNet::MSNet(), MSNet::simulationStep(), and MSNet::~MSNet().
|
privateinherited |
full name of GL Object
Definition at line 258 of file GUIGlObject.h.
Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
privateinherited |
The numerical id of the object.
Definition at line 249 of file GUIGlObject.h.
Referenced by GUIGlObject::getGlID(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
privateinherited |
The type of the object.
Definition at line 252 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GUIGlObject::getType(), and GUIGlObject::GUIGlObject().
|
protected |
The visualization speed-up.
Definition at line 353 of file GUINet.h.
Referenced by createTLWrapper(), getVisualisationSpeedUp(), and initGUIStructures().
|
protectedinherited |
Whether the network contains bidirectional rail edges.
Definition at line 856 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::hasBidiEdges().
|
protectedinherited |
Whether the network contains elevation data.
Definition at line 850 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::hasElevation(), and MSNet::writeOutput().
|
protectedinherited |
Whether the network contains internal links/lanes/edges.
Definition at line 847 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::hasInternalLinks().
|
protectedinherited |
Whether the network contains pedestrian network elements.
Definition at line 853 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::hasPedestrianNetwork().
|
protectedinherited |
Whether the network contains edges which not all vehicles may pass.
Definition at line 838 of file MSNet.h.
Referenced by MSNet::hasPermissions(), and MSNet::setPermissionsFound().
|
protectedinherited |
Controls vehicle insertion;.
Definition at line 780 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::generateStatistics(), MSNet::getInsertionControl(), MSNet::MSNet(), MSNet::postSimStepOutput(), MSNet::simulationState(), MSNet::simulationStep(), MSNet::writeOutput(), MSNet::writeStatistics(), and MSNet::~MSNet().
|
protectedinherited |
Controls insertion events;.
Definition at line 788 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::getInsertionEvents(), MSNet::MSNet(), MSNet::simulationStep(), and MSNet::~MSNet().
|
staticprotectedinherited |
Unique instance of MSNet.
Definition at line 748 of file MSNet.h.
Referenced by MSNet::adaptIntermodalRouter(), MSNet::getInstance(), MSNet::hasInstance(), MSNet::MSNet(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 892 of file MSNet.h.
Referenced by MSNet::getIntermodalRouter(), and MSNet::~MSNet().
|
protectedinherited |
Controls junctions, realizes right-of-way rules;.
Definition at line 776 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::getJunctionControl(), getJunctionPosition(), initGUIStructures(), MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
Wrapped MS-junctions.
Definition at line 362 of file GUINet.h.
Referenced by getJunctionIDs(), initGUIStructures(), and ~GUINet().
|
mutableprotectedinherited |
An RTree structure holding lane IDs.
Definition at line 895 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
Definition at line 383 of file GUINet.h.
Referenced by getIdleDuration(), getWholeDuration(), and setIdleDuration().
|
protected |
The step durations (simulation, /*visualisation, */idle)
Definition at line 383 of file GUINet.h.
Referenced by getRTFactor(), getSimDuration(), getUPS(), getWholeDuration(), and setSimDuration().
|
protected |
Definition at line 385 of file GUINet.h.
Referenced by getUPS(), and setSimDuration().
|
protectedinherited |
|
protected |
The link-to-logic-id map.
Definition at line 373 of file GUINet.h.
Referenced by createTLWrapper(), getLinkTLID(), and getLinkTLIndex().
|
protected |
loaded edge data for visualization
Definition at line 389 of file GUINet.h.
Referenced by getEdgeData(), getEdgeDataAttrs(), loadEdgeData(), and ~GUINet().
|
mutableprivate |
|
protectedinherited |
Information whether the simulation duration shall be logged.
Definition at line 801 of file MSNet.h.
Referenced by MSNet::closeSimulation(), MSNet::generateStatistics(), MSNet::logSimulationDuration(), MSNet::MSNet(), MSNet::postSimStepOutput(), MSNet::simulationStep(), and MSNet::writeOutput().
|
protectedinherited |
Controls tls logics, realizes waiting on tls rules;.
Definition at line 778 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::closeBuilding(), createTLWrapper(), getLinkTLID(), getLinkTLIndex(), MSNet::getTLSControl(), MSNet::MSNet(), MSNet::simulationStep(), MSNet::writeRailSignalBlocks(), and MSNet::~MSNet().
|
protected |
The traffic light-to-wrapper map.
Definition at line 379 of file GUINet.h.
Referenced by createTLWrapper(), getLinkTLID(), getLinkTLIndex(), getTLSIDs(), isSelected(), and ~GUINet().
|
protectedinherited |
Information whether the number of the simulation step shall be logged.
Definition at line 804 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::simulate().
|
protectedinherited |
Period between successive step-log outputs.
Definition at line 806 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::simulate().
|
protectedinherited |
Maximum number of teleports.
Definition at line 757 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::simulationState().
|
protectedinherited |
The edge type specific meso parameters.
Definition at line 844 of file MSNet.h.
Referenced by MSNet::addMesoType(), and MSNet::getMesoType().
|
privateinherited |
ID of GL object.
Definition at line 255 of file GUIGlObject.h.
Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().
|
protected |
Definition at line 386 of file GUINet.h.
Referenced by getMeanRTFactor(), getMeanUPS(), and setSimDuration().
|
protected |
Definition at line 385 of file GUINet.h.
Referenced by setSimDuration().
|
privateinherited |
Parameter table windows which refer to this object.
Definition at line 261 of file GUIGlObject.h.
Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().
|
mutableprotectedinherited |
Definition at line 891 of file MSNet.h.
Referenced by MSNet::getPedestrianRouter(), and MSNet::~MSNet().
|
protectedinherited |
Controls person building and deletion;.
Definition at line 770 of file MSNet.h.
Referenced by MSNet::adaptToState(), MSNet::generateStatistics(), getParameterWindow(), MSNet::getPersonControl(), getPersonControl(), MSNet::hasPersons(), MSNet::MSNet(), MSNet::simulationState(), MSNet::simulationStep(), MSNet::writeStatistics(), and MSNet::~MSNet().
|
protectedinherited |
Definition at line 816 of file MSNet.h.
Referenced by MSNet::generateStatistics(), and MSNet::simulationStep().
|
protectedinherited |
The vehicle class specific speed restrictions.
Definition at line 841 of file MSNet.h.
Referenced by MSNet::addRestriction(), and MSNet::getRestrictions().
|
protectedinherited |
Route loader for dynamic loading of routes.
Definition at line 751 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::loadRoutes(), MSNet::MSNet(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 890 of file MSNet.h.
Referenced by MSNet::getRouterEffort(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 889 of file MSNet.h.
Referenced by MSNet::getRouterTT(), and MSNet::~MSNet().
|
protectedinherited |
A container for geometrical shapes;.
Definition at line 790 of file MSNet.h.
Referenced by MSNet::getShapeContainer(), MSNet::makeDynamicShapeUpdater(), MSNet::MSNet(), and MSNet::~MSNet().
|
protectedinherited |
The overall simulation duration.
Definition at line 812 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::generateStatistics().
|
protectedinherited |
Definition at line 809 of file MSNet.h.
Referenced by MSNet::postSimStepOutput(), MSNet::simulationStep(), and MSNet::writeOutput().
|
protectedinherited |
The names for the state files.
Definition at line 827 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
The period for writing state.
Definition at line 829 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
name components for periodic state
Definition at line 831 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Definition at line 832 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Times at which a state shall be written.
Definition at line 825 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Current time step.
Definition at line 754 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::closeSimulation(), MSNet::generateStatistics(), MSNet::getCurrentTimeStep(), MSNet::loadRoutes(), MSNet::MSNet(), MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), MSNet::setCurrentTimeStep(), MSNet::simulate(), MSNet::simulationState(), MSNet::simulationStep(), and MSNet::writeOutput().
|
protectedinherited |
Dictionary of bus / container stops.
Definition at line 868 of file MSNet.h.
Referenced by MSNet::adaptIntermodalRouter(), MSNet::addStoppingPlace(), MSNet::clearState(), MSNet::getStoppingPlace(), MSNet::getStoppingPlaceID(), MSNet::getStoppingPlaces(), MSNet::writeChargingStationOutput(), MSNet::writeOverheadWireSegmentOutput(), and MSNet::writeSubstationOutput().
|
protectedinherited |
The last simulation step duration.
Definition at line 809 of file MSNet.h.
Referenced by MSNet::postSimStepOutput(), and MSNet::simulationStep().
|
protectedinherited |
Dictionary of traction substations.
Definition at line 871 of file MSNet.h.
Referenced by MSNet::addTractionSubstation(), MSNet::existTractionSubstation(), and MSNet::findTractionSubstation().
|
protectedinherited |
Controls vehicle building and deletion;.
Definition at line 768 of file MSNet.h.
Referenced by MSNet::adaptToState(), MSNet::clearState(), MSNet::generateStatistics(), getGUIMEVehicleControl(), getGUIVehicleControl(), MSNet::getVehicleControl(), MSNet::MSNet(), MSNet::postSimStepOutput(), MSNet::simulationState(), MSNet::simulationStep(), vehicleExists(), MSNet::writeOutput(), MSNet::writeStatistics(), and MSNet::~MSNet().
|
protectedinherited |
The overall number of vehicle movements.
Definition at line 815 of file MSNet.h.
Referenced by MSNet::generateStatistics(), getMeanUPS(), and MSNet::simulationStep().
|
protectedinherited |
Container for vehicle state listener.
Definition at line 874 of file MSNet.h.
Referenced by MSNet::addVehicleStateListener(), MSNet::informVehicleStateListener(), and MSNet::removeVehicleStateListener().
|
protectedinherited |
the network version
Definition at line 862 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::getNetworkVersion(), and getParameterWindow().
|
protectedinherited |
container to record warnings that shall only be issued once
Definition at line 882 of file MSNet.h.
Referenced by MSNet::warnOnce().
|
staticprotectedinherited |
string constants for simstep stages
Definition at line 904 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticprotectedinherited |
Definition at line 907 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticprotectedinherited |
Definition at line 906 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticprotectedinherited |
Definition at line 905 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticinherited |
associates object types with strings
Definition at line 66 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().