![]() |
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 std::map< std::string, std::vector< Collision > > | CollisionMap |
typedef std::map< std::string, std::string > | Map |
parameters map | |
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 bool isLibsumo=false) const | |||
Called after a simulation step, this method adapts the current simulation state if necessary. | ||||
void | addMesoType (const std::string &typeID, const MESegment::MesoEdgeType &edgeType) | |||
Adds edge type specific meso parameters. | ||||
void | addRestriction (const std::string &id, const SUMOVehicleClass svc, const double speed) | |||
Adds a restriction for an edge type. | ||||
void | clearParameter () | |||
Clears the parameter map. | ||||
void | clearState (const SUMOTime step, bool quickReload=false) | |||
Resets events when quick-loading state. | ||||
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 junctionHigherSpeeds, const MMVersion &version) | |||
Closes the network's building process. | ||||
void | closeSimulation (SUMOTime start, const std::string &reason="") | |||
Closes the simulation (all files, connections, etc.) | ||||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const | |||
Draws additional, user-triggered visualisations. | ||||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const | |||
draw name of item | ||||
bool | existTractionSubstation (const std::string &substationId) | |||
return whether given electrical substation exists in the network | ||||
MSTractionSubstation * | findTractionSubstation (const std::string &substationId) | |||
find electrical substation by its id | ||||
const std::string | generateStatistics (const SUMOTime start, const long now) | |||
Writes performance output and running vehicle stats. | ||||
const CollisionMap & | getCollisions () const | |||
SUMOTime | getCurrentTimeStep () const | |||
Returns the current simulation step. | ||||
double | getDouble (const std::string &key, const double defaultValue) const | |||
Returns the value for a given key converted to a double. | ||||
std::vector< double > | getDoubles (const std::string &key, std::vector< double > defaultValue=std::vector< double >()) const | |||
Returns the value for a given key converted to a list of doubles. | ||||
MSIntermodalRouter & | getIntermodalRouter (const int rngIndex, const int routingMode=0, const MSEdgeVector &prohibited=MSEdgeVector()) const | |||
const MESegment::MesoEdgeType & | getMesoType (const std::string &typeID) | |||
Returns edge type specific meso parameters if no type specific parameters have been loaded, default values are returned. | ||||
MMVersion | getNetworkVersion () const | |||
return the network version | ||||
virtual const std::string | getParameter (const std::string &key, const std::string defaultValue="") const | |||
Returns the value for a given key. | ||||
const Parameterised::Map & | getParametersMap () const | |||
Returns the inner key/value map. | ||||
std::string | getParametersStr (const std::string kvsep="=", const std::string sep="|") const | |||
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". | ||||
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. | ||||
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. | ||||
bool | hasBidiEdges () const | |||
return whether the network contains bidirectional rail edges | ||||
bool | hasElevation () const | |||
return whether the network contains elevation data | ||||
bool | hasFlow (const std::string &id) const | |||
return whether the given flow is known | ||||
bool | hasInternalLinks () const | |||
return whether the network contains internal links | ||||
bool | hasJunctionHigherSpeeds () const | |||
return whether the network was built with higher junction speeds | ||||
bool | hasPedestrianNetwork () const | |||
return whether the network contains walkingareas and crossings | ||||
bool | hasPermissions () const | |||
Returns whether the network has specific vehicle class permissions. | ||||
void | interrupt () | |||
bool | isGUINet () const override | |||
Returns whether this is a GUI Net. | ||||
bool | isInterrupted () const | |||
bool | knowsParameter (const std::string &key) const | |||
Returns whether the parameter is known. | ||||
void | loadRoutes () | |||
loads routes for the next few steps | ||||
SUMOTime | loadState (const std::string &fileName, const bool catchExceptions) | |||
load state from file and return new time | ||||
bool | logSimulationDuration () const | |||
Returns whether duration shall be logged. | ||||
virtual void | onLeftBtnPress (void *) | |||
notify object about left click | ||||
void | quickReload () | |||
reset state to the beginning without reloading the network | ||||
bool | registerCollision (const SUMOTrafficObject *collider, const SUMOTrafficObject *victim, const std::string &collisionType, const MSLane *lane, double pos) | |||
register collision and return whether it was the first one involving these vehicles | ||||
virtual void | removeActiveAddVisualisation (GUISUMOAbstractView *const, int) | |||
remove additional user-griggered visualisations | ||||
void | setCurrentTimeStep (const SUMOTime step) | |||
Sets the current simulation step (used by state loading) | ||||
virtual void | setParameter (const std::string &key, const std::string &value) | |||
Sets a parameter. | ||||
void | setParameters (const Parameterised ¶ms) | |||
set the inner key/value map in map<string, string> format | ||||
void | setParametersMap (const Parameterised::Map ¶msMap) | |||
set the inner key/value map in map<string, string> format | ||||
void | setParametersStr (const std::string ¶msString, const std::string kvsep="=", const std::string sep="|") | |||
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" | ||||
void | setPermissionsFound () | |||
Labels the network to contain vehicle class permissions. | ||||
SimulationState | simulate (SUMOTime start, SUMOTime stop) | |||
Simulates from timestep start to stop. | ||||
SimulationState | simulationState (SUMOTime stopTime) const | |||
This method returns the current simulation state. It should not modify status. | ||||
void | simulationStep (const bool onlyMove=false) | |||
Performs a single simulation step. | ||||
void | unsetParameter (const std::string &key) | |||
Removes a parameter. | ||||
void | updateParameters (const Parameterised::Map &mapArg) | |||
Adds or updates all given parameters from the map. | ||||
bool | warnOnce (const std::string &typeAndID) | |||
return whether a warning regarding the given object shall be issued | ||||
void | writeChargingStationOutput () const | |||
write charging station output | ||||
void | writeCollisions () const | |||
write collision output to (xml) file | ||||
void | writeOutput () | |||
Write netstate, summary and detector output. | ||||
void | writeOverheadWireSegmentOutput () const | |||
write the output generated by an overhead wire segment | ||||
void | writeParams (OutputDevice &device) const | |||
write Params in the given outputdevice | ||||
void | writeRailSignalBlocks () const | |||
write rail signal block output | ||||
void | writeStatistics (const SUMOTime start, const long now) const | |||
write statistic output to (xml) file | ||||
void | writeSubstationOutput () const | |||
write electrical substation output | ||||
void | writeSummaryOutput () | |||
write summary-output to (xml) file | ||||
~GUINet () | ||||
Destructor. | ||||
inherited from GUIGlObject | ||||
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) override | |||
Returns an own popup-menu. | ||||
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override | |||
Returns an own parameter window. | ||||
Boundary | getCenteringBoundary () const override | |||
Returns the boundary to which the view shall be centered in order to show the object. | ||||
void | drawGL (const GUIVisualizationSettings &s) const override | |||
Draws the object. | ||||
const Boundary & | getBoundary () const | |||
returns the bounder of the network | ||||
Position | getJunctionPosition (const std::string &name) const | |||
returns the position of a junction | ||||
bool | vehicleExists (const std::string &name) const | |||
returns the information whether the vehicle still exists | ||||
void | guiSimulationStep () | |||
Some further steps needed for gui processing. | ||||
void | simulationStep () | |||
Performs a single simulation step (locking the simulation) | ||||
functions for performance measurements | ||||
int | getWholeDuration () const | |||
Returns the duration of the last step (sim+visualisation+idle) (in ms) | ||||
int | getSimDuration () const | |||
Returns the duration of the last step's simulation part (in ms) | ||||
double | getRTFactor () const | |||
Returns the simulation speed as a factor to real time. | ||||
double | getUPS () const | |||
Returns the update per seconds rate. | ||||
double | getMeanRTFactor (int duration) const | |||
Returns the simulation speed as a factor to real time. | ||||
double | getMeanUPS () const | |||
Returns the update per seconds rate. | ||||
int | getIdleDuration () const | |||
Returns the duration of the last step's idle part (in ms) | ||||
void | setSimDuration (int val) | |||
Sets the duration of the last step's simulation part. | ||||
void | setIdleDuration (int val) | |||
Sets the duration of the last step's idle part. | ||||
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. | ||||
MSTransportableControl & | getContainerControl () override | |||
Returns the container control. | ||||
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. | ||||
void | postSimStepOutput () const | |||
Prints the statistics of the step at its end. | ||||
Retrieval of references to substructures | ||||
MSVehicleControl & | getVehicleControl () | |||
Returns the vehicle control. | ||||
bool | hasPersons () const | |||
Returns whether persons are simulated. | ||||
bool | hasContainers () const | |||
Returns whether containers are simulated. | ||||
MSEdgeControl & | getEdgeControl () | |||
Returns the edge control. | ||||
MSInsertionControl & | getInsertionControl () | |||
Returns the insertion control. | ||||
MSDetectorControl & | getDetectorControl () | |||
Returns the detector control. | ||||
MSTLLogicControl & | getTLSControl () | |||
Returns the tls logics control. | ||||
MSJunctionControl & | getJunctionControl () | |||
Returns the junctions control. | ||||
MSEventControl * | getBeginOfTimestepEvents () | |||
Returns the event control for events executed at the begin of a time step. | ||||
MSEventControl * | getEndOfTimestepEvents () | |||
Returns the event control for events executed at the end of a time step. | ||||
MSEventControl * | getInsertionEvents () | |||
Returns the event control for insertion events. | ||||
ShapeContainer & | getShapeContainer () | |||
Returns the shapes container. | ||||
MSDynamicShapeUpdater * | getDynamicShapeUpdater () | |||
Returns the dynamic shapes updater. | ||||
MSDynamicShapeUpdater * | makeDynamicShapeUpdater () | |||
Creates and returns a dynamic shapes updater. | ||||
MSEdgeWeightsStorage & | getWeightsStorage () | |||
Returns the net's internal edge travel times/efforts container. | ||||
Insertion and retrieval of stopping places | ||||
bool | addStoppingPlace (const SumoXMLTag category, MSStoppingPlace *stop) | |||
Adds a stopping place. | ||||
bool | addTractionSubstation (MSTractionSubstation *substation) | |||
Adds a traction substation. | ||||
MSStoppingPlace * | getStoppingPlace (const std::string &id, const SumoXMLTag category) const | |||
Returns the named stopping place of the given category. | ||||
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. | ||||
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) | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. | ||||
FXIcon * | getGLIcon () const | |||
get icon associated with this GL Object | ||||
interfaces to be implemented by derived classes | ||||
virtual void | removedPopupMenu () | |||
notify object about popup menu removal | ||||
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own type parameter window (optional) | ||||
const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. | ||||
virtual const std::string | getOptionalName () const | |||
Returns the name of the object (default "") | ||||
virtual void | setMicrosimID (const std::string &newID) | |||
Changes the microsimID of the object. | ||||
GUIGlObjectType | getType () const | |||
Returns the type of the object as coded in GUIGlObjectType. | ||||
virtual double | getClickPriority () const | |||
Returns the priority of receiving mouse clicks. | ||||
bool | isBlocked () const | |||
get blocking status | ||||
void | setBlocked (const bool state=true) | |||
set blocking status | ||||
virtual double | getExaggeration (const GUIVisualizationSettings &s) const | |||
return exaggeration associated with this GLObject | ||||
virtual bool | isGLObjectLocked () | |||
check if element is locked (Currently used only in netedit) | ||||
virtual void | markAsFrontElement () | |||
mark element as front element (Currently used only in netedit) | ||||
virtual void | deleteGLObject () | |||
delete GLObject (Currently used only in netedit) | ||||
virtual void | selectGLObject () | |||
select GLObject (Currently used only in netedit) | ||||
virtual void | updateGLObject () | |||
update GLObject (geometry, ID, etc.) (optional) | ||||
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. | ||||
Static Public Member Functions | |
static void | adaptIntermodalRouter (MSIntermodalRouter &router) |
static bool | areAttributesValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|") |
check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas) | |
static bool | areParametersValid (const std::string &value, bool report=false, const std::string kvsep="=", const std::string sep="|") |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" | |
static void | cleanupStatic () |
Place for static initializations of simulation components (called after successful net build) | |
static void | clearAll () |
Clears all dictionaries. | |
static double | getEffort (const MSEdge *const e, const SUMOVehicle *const v, double t) |
Returns the effort to pass an edge. | |
static MSNet * | getInstance () |
Returns the pointer to the unique instance of MSNet (singleton). | |
static std::string | getStateMessage (SimulationState state) |
Returns the message to show if a certain state occurs. | |
static double | getTravelTime (const MSEdge *const e, const SUMOVehicle *const v, double t) |
Returns the travel time to pass an edge. | |
static bool | hasInstance () |
Returns whether the network was already constructed. | |
static void | initStatic () |
Place for static initializations of simulation components (called after successful net build) | |
Static Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static const std::string | STAGE_EVENTS |
string constants for simstep stages | |
static const std::string | STAGE_INSERTIONS |
static const std::string | STAGE_LANECHANGE |
static const std::string | STAGE_MOVEMENTS |
static const std::string | STAGE_REMOTECONTROL |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings | |
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 | |
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 | |
bool | checkBidiEdges () |
check wether bidirectional edges occur in the network | |
bool | checkElevation () |
check all lanes for elevation data | |
bool | checkWalkingarea () |
check all lanes for type walkingArea | |
bool | mouseWithinGeometry (const Position &pos, const double width, const double height, const double offsetX, const double offsetY, const double rot) const |
check if mouse is within elements geometry (for rectangles) | |
bool | mouseWithinGeometry (const Position center, const double radius) const |
check if mouse is within elements geometry (for circles) | |
bool | mouseWithinGeometry (const PositionVector shape) const |
check if mouse is within elements geometry (for filled shapes) | |
bool | mouseWithinGeometry (const PositionVector shape, const double width) const |
check if mouse is within elements geometry (for shapes) | |
bool | mouseWithinGeometry (const PositionVector shape, const double width, GUIGlObject *parent) const |
check if mouse is within elements geometry (for edges) | |
void | postMoveStep () |
Performs the parts of the simulation step which happen after the move. | |
void | removeOutdatedCollisions () |
remove collisions from the previous simulation step | |
helper methods for building popup-menus | |
void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) |
Builds the header. | |
void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to center to the object. | |
void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds entries which allow to copy the name / typed name into the clipboard. | |
void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to (de)select the object. | |
void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the parameter window. | |
void | buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the type parameter window. | |
void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, const GUIMainWindow &app) const |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. | |
void | buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the manipulator window. | |
Protected Attributes | |
bool | myAmInterrupted |
whether an interrupt occured | |
CollisionMap | myCollisions |
collisions in the current time step | |
std::unique_ptr< MSDynamicShapeUpdater > | myDynamicShapeUpdater |
Updater for dynamic shapes that are tracking traffic objects (ensures removal of shape dynamics when the objects are removed) | |
SUMOTime | myEdgeDataEndTime |
end of loaded edgeData | |
bool | myHasBidiEdges |
Whether the network contains bidirectional rail edges. | |
bool | myHasElevation |
Whether the network contains elevation data. | |
bool | myHasInternalLinks |
Whether the network contains internal links/lanes/edges. | |
bool | myHasPedestrianNetwork |
Whether the network contains pedestrian network elements. | |
bool | myHavePermissions |
Whether the network contains edges which not all vehicles may pass. | |
std::map< int, MSIntermodalRouter * > | myIntermodalRouter |
bool | myJunctionHigherSpeeds |
Whether the network was built with higher speed on junctions. | |
std::pair< bool, NamedRTree > | myLanesRTree |
An RTree structure holding lane IDs. | |
bool | myLefthand |
Whether the network was built for left-hand traffic. | |
int | myMaxTeleports |
Maximum number of teleports. | |
std::map< std::string, MESegment::MesoEdgeType > | myMesoEdgeTypes |
The edge type specific meso parameters. | |
std::map< int, MSPedestrianRouter * > | myPedestrianRouter |
std::map< std::string, std::map< SUMOVehicleClass, double > > | myRestrictions |
The vehicle class specific speed restrictions. | |
SUMORouteLoaderControl * | myRouteLoaders |
Route loader for dynamic loading of routes. | |
std::map< int, SUMOAbstractRouter< MSEdge, SUMOVehicle > * > | myRouterEffort |
std::map< int, SUMOAbstractRouter< MSEdge, SUMOVehicle > * > | myRouterTT |
SUMOTime | myStep |
Current time step. | |
bool | myStepCompletionMissing = false |
whether libsumo triggered a partial step (executeMove) | |
std::map< SumoXMLTag, NamedObjectCont< MSStoppingPlace * > > | myStoppingPlaces |
Dictionary of bus / container stops. | |
std::vector< MSTractionSubstation * > | myTractionSubstations |
Dictionary of traction substations. | |
std::vector< TransportableStateListener * > | myTransportableStateListeners |
Container for transportable state listener. | |
std::vector< VehicleStateListener * > | myVehicleStateListeners |
Container for vehicle state listener. | |
MMVersion | myVersion |
the network version | |
std::map< std::string, bool > | myWarnedOnce |
container to record warnings that shall only be issued once | |
Substructures | |
MSVehicleControl * | myVehicleControl |
Controls vehicle building and deletion;. | |
MSTransportableControl * | myPersonControl |
Controls person building and deletion;. | |
MSTransportableControl * | myContainerControl |
Controls container building and deletion;. | |
MSEdgeControl * | myEdges |
Controls edges, performs vehicle movement;. | |
MSJunctionControl * | myJunctions |
Controls junctions, realizes right-of-way rules;. | |
MSTLLogicControl * | myLogics |
Controls tls logics, realizes waiting on tls rules;. | |
MSInsertionControl * | myInserter |
Controls vehicle insertion;. | |
MSDetectorControl * | myDetectorControl |
Controls detectors;. | |
MSEventControl * | myBeginOfTimestepEvents |
Controls events executed at the begin of a time step;. | |
MSEventControl * | myEndOfTimestepEvents |
Controls events executed at the end of a time step;. | |
MSEventControl * | myInsertionEvents |
Controls insertion events;. | |
ShapeContainer * | myShapeContainer |
A container for geometrical shapes;. | |
MSEdgeWeightsStorage * | myEdgeWeights |
The net's knowledge about edge efforts/travel times;. | |
data needed for computing performance values | |
bool | myLogExecutionTime |
Information whether the simulation duration shall be logged. | |
bool | myLogStepNumber |
Information whether the number of the simulation step shall be logged. | |
int | myLogStepPeriod |
Period between successive step-log outputs. | |
long | myTraCIStepDuration = 0 |
The last simulation step duration. | |
long | mySimStepDuration = 0 |
long | mySimBeginMillis |
The overall simulation duration. | |
long | myTraCIMillis |
The overall time spent waiting for traci operations including. | |
long long int | myVehiclesMoved |
The overall number of vehicle movements. | |
long long int | myPersonsMoved |
State output variables | |
std::vector< SUMOTime > | myStateDumpTimes |
Times at which a state shall be written. | |
std::vector< std::string > | myStateDumpFiles |
The names for the state files. | |
std::vector< std::string > | myPeriodicStateFiles |
The names of the last K periodic state files (only only K shall be kept) | |
SUMOTime | myStateDumpPeriod |
The period for writing state. | |
std::string | myStateDumpPrefix |
name components for periodic state | |
std::string | myStateDumpSuffix |
Static Protected Attributes | |
static const NamedObjectCont< MSStoppingPlace * > | myEmptyStoppingPlaceCont |
static MSNet * | myInstance = nullptr |
Unique instance of MSNet. | |
Private Member Functions | |
std::string | createFullName () const |
create full name | |
Static Private Member Functions | |
static bool | isParameterValid (const std::string &value, const std::string &kvsep, const std::string &sep) |
check if given string can be parsed to a parameter of type "key=value" | |
Private Attributes | |
bool | myAmBlocked |
whether the object can be deleted | |
std::string | myFullName |
full name of GL Object | |
const GUIGlID | myGlID |
The numerical id of the object. | |
const GUIGlObjectType | myGLObjectType |
The type of the object. | |
FXIcon * | myIcon |
icon associatd with this GL Object | |
Parameterised::Map | myMap |
The key->value map. | |
std::string | myMicrosimID |
ID of GL object. | |
std::set< GUIParameterTableWindow * > | myParamWindows |
Parameter table windows which refer to this object. | |
Static Private Attributes | |
static StringBijection< GUIGlObjectType >::Entry | GUIGlObjectTypeNamesInitializer [] |
vector for TypeNames Initializer | |
Friends | |
class | GUITrafficLightLogicWrapper |
locator-methods | |
typedef std::map< const MSLink *, std::string > | Links2LogicMap |
Definition of a link-to-logic-id map. | |
typedef std::map< MSTrafficLightLogic *, GUITrafficLightLogicWrapper * > | Logics2WrapperMap |
Definition of a traffic light-to-wrapper map. | |
class | GUIOSGBuilder |
LayeredRTree | myGrid |
The visualization speed-up. | |
SUMORTree | myGrid2 |
The visualization speed-up for secondary shapes. | |
Boundary | myBoundary |
The networks boundary. | |
std::vector< GUIEdge * > | myEdgeWrapper |
Wrapped MS-edges. | |
std::vector< GUIJunctionWrapper * > | myJunctionWrapper |
Wrapped MS-junctions. | |
std::vector< GUIDetectorWrapper * > | myDetectorWrapper |
A detector dictionary. | |
std::vector< GUICalibrator * > | myCalibratorWrapper |
A calibrator dictionary. | |
Links2LogicMap | myLinks2Logic |
The link-to-logic-id map. | |
Logics2WrapperMap | myLogics2Wrapper |
The traffic light-to-wrapper map. | |
int | myLastSimDuration |
The step durations (simulation, /*visualisation, */idle) | |
int | myLastIdleDuration |
long | myLastVehicleMovementCount |
long | myOverallVehicleCount |
long | myOverallSimDuration |
std::map< std::string, MSEdgeWeightsStorage * > | myLoadedEdgeData |
loaded edge data for visualization | |
bool | mySkipFinalReset = false |
FXMutex | myLock |
The mutex used to avoid concurrent updates of the vehicle buffer. | |
std::vector< GUIGlID > | getJunctionIDs (bool includeInternal) const |
std::vector< GUIGlID > | getTLSIDs () const |
Returns the gl-ids of all traffic light logics within the net. | |
void | initGUIStructures () |
Initialises gui wrappers. | |
SUMORTree & | getVisualisationSpeedUp () |
Returns the RTree used for visualisation speed-up. | |
const SUMORTree & | getVisualisationSpeedUp (bool secondary=false) const |
Returns the RTree used for visualisation speed-up. | |
void | registerRenderedObject (GUIGlObject *o) |
add object into rtree | |
GUIVehicleControl * | getGUIVehicleControl () |
Returns the vehicle control. | |
GUIMEVehicleControl * | getGUIMEVehicleControl () |
Returns the vehicle control. | |
double | getEdgeData (const MSEdge *edge, const std::string &attr) |
retrieve loaded edged weight for the given attribute and the current simulation time | |
double | getMeanData (const MSLane *lane, const std::string &id, const std::string &attr) |
retrieve live lane/edge weight for the given meanData id and attribute | |
bool | loadEdgeData (const std::string &file) |
load edgeData from file | |
std::vector< std::string > | getEdgeDataAttrs () const |
return list of loaded edgeData attributes | |
std::vector< std::string > | getMeanDataIDs () const |
return list of loaded edgeData ids (being computed in the current simulation) | |
std::vector< std::string > | getMeanDataAttrs (const std::string &meanDataID) const |
return list of available attributes for the given meanData id | |
void | lock () |
grant exclusive access to the simulation state | |
void | unlock () |
release exclusive access to the simulation state | |
void | createTLWrapper (MSTrafficLightLogic *tll) override |
creates a wrapper for the given logic | |
bool | isSelected (const MSTrafficLightLogic *tll) const override |
return wheter the given logic (or rather it's wrapper) is selected in the GUI | |
void | updateGUI () const override |
update view after simulation.loadState | |
void | addHotkey (int key, Command *press, Command *release=nullptr) |
register custom hotkey action | |
void | flushOutputsAtEnd () |
flush outputs once the simulation has reached its end | |
virtual bool | skipFinalReset () const override |
gui may prevent final meanData reset to keep live data visible | |
static GUINet * | getGUIInstance () |
Returns the pointer to the unique instance of GUINet (singleton). | |
void | initTLMap () |
Initialises the tl-logic map and wrappers. | |
Notification about vehicle state changes | |
void | addVehicleStateListener (VehicleStateListener *listener) |
Adds a vehicle states listener. | |
void | removeVehicleStateListener (VehicleStateListener *listener) |
Removes a vehicle states listener. | |
void | informVehicleStateListener (const SUMOVehicle *const vehicle, VehicleState to, const std::string &info="") |
Informs all added listeners about a vehicle's state change. | |
enum class | VehicleState { BUILT , DEPARTED , STARTING_TELEPORT , ENDING_TELEPORT , ARRIVED , NEWROUTE , STARTING_PARKING , ENDING_PARKING , STARTING_STOP , ENDING_STOP , COLLISION , EMERGENCYSTOP , MANEUVERING } |
Definition of a vehicle state. More... | |
Notification about transportable state changes | |
void | addTransportableStateListener (TransportableStateListener *listener) |
Adds a transportable states listener. | |
void | removeTransportableStateListener (TransportableStateListener *listener) |
Removes a transportable states listener. | |
void | informTransportableStateListener (const MSTransportable *const transportable, TransportableState to, const std::string &info="") |
Informs all added listeners about a transportable's state change. | |
enum class | TransportableState { PERSON_DEPARTED , PERSON_ARRIVED , CONTAINER_DEPARTED , CONTAINER_ARRIVED } |
Definition of a transportable 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.
|
inherited |
|
protected |
|
protected |
|
inherited |
parameters map
Definition at line 45 of file Parameterised.h.
|
inherited |
|
inherited |
|
inherited |
Possible states of a simulation - running or stopped with different reasons.
|
stronginherited |
Definition of a transportable state.
|
stronginherited |
Definition of a vehicle state.
Enumerator | |
---|---|
BUILT | The vehicle was built, but has not yet departed. |
DEPARTED | The vehicle has departed (was inserted into the network) |
STARTING_TELEPORT | The vehicle started to teleport. |
ENDING_TELEPORT | The vehicle ended being teleported. |
ARRIVED | The vehicle arrived at his destination (is deleted) |
NEWROUTE | The vehicle got a new route. |
STARTING_PARKING | The vehicles starts to park. |
ENDING_PARKING | The vehicle ends to park. |
STARTING_STOP | The vehicles starts to stop. |
ENDING_STOP | The vehicle ends to stop. |
COLLISION | The vehicle is involved in a collision. |
EMERGENCYSTOP | The vehicle had to brake harder than permitted. |
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 82 of file GUINet.cpp.
References GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::setNetObject().
GUINet::~GUINet | ( | ) |
Destructor.
Definition at line 93 of file GUINet.cpp.
References GUIGlObject_AbstractAdd::clearDictionary(), myCalibratorWrapper, myDetectorWrapper, myJunctionWrapper, myLoadedEdgeData, myLock, and myLogics2Wrapper.
|
staticinherited |
Definition at line 1552 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, SVC_PEDESTRIAN, and SVC_TAXI.
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 903 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().
register custom hotkey action
Definition at line 775 of file GUINet.cpp.
References GUIApplicationWindow::addHotkey(), and GUIMainWindow::getInstance().
Referenced by Command_Hotkey_InductionLoop::registerHotkey(), and Command_Hotkey_TrafficLight::registerHotkey().
|
inherited |
Adds edge type specific meso parameters.
[in] | id | The id of the type |
[in] | edgeType | The parameter object |
Definition at line 361 of file MSNet.cpp.
References MSNet::myMesoEdgeTypes.
Referenced by NLHandler::addMesoEdgeType().
|
inherited |
Definition at line 358 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 346 of file MSNet.cpp.
References MSNet::myRestrictions.
Referenced by MSEdge::inferEdgeType(), and 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 1347 of file MSNet.cpp.
References Named::getID(), MSNet::myStoppingPlaces, SUMO_TAG_BUS_STOP, and SUMO_TAG_TRAIN_STOP.
Referenced by NLTriggerBuilder::beginParkingArea(), GUITriggerBuilder::beginParkingArea(), NLTriggerBuilder::buildChargingStation(), GUITriggerBuilder::buildChargingStation(), NLTriggerBuilder::buildOverheadWireSegment(), GUITriggerBuilder::buildOverheadWireSegment(), NLTriggerBuilder::buildStoppingPlace(), and GUITriggerBuilder::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 1353 of file MSNet.cpp.
References MSNet::myTractionSubstations.
Referenced by NLTriggerBuilder::buildTractionSubstation().
|
inherited |
Adds a transportable states listener.
[in] | listener | The listener to add |
Definition at line 1268 of file MSNet.cpp.
References MSNet::myTransportableStateListeners.
Referenced by TraCIServer::openSocket(), and libsumo::Helper::registerStateListener().
|
inherited |
Adds a vehicle states listener.
[in] | listener | The listener to add |
Definition at line 1240 of file MSNet.cpp.
References MSNet::myVehicleStateListeners.
Referenced by LIBSUMO_NAMESPACE::Polygon::addDynamics(), MSRailSignalControl::getInstance(), MSDevice_Vehroutes::init(), MSVehicle::Influencer::GapControlState::init(), TraCIServer::openSocket(), and libsumo::Helper::registerStateListener().
|
staticinherited |
check if given string can be parsed to an attributes map "key1=value1|key2=value2|...|keyN=valueN" (used in generic datas)
Definition at line 216 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEFrameAttributeModules::GenericDataAttributes::areAttributesValid(), GNEEdgeData::isValid(), GNEEdgeRelData::isValid(), and GNETAZRelData::isValid().
|
staticinherited |
check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN"
Definition at line 197 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::isParameterValid(), TL, and WRITE_WARNINGF.
Referenced by GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEEntryExitDetector::isValid(), GNEInductionLoopDetector::isValid(), GNEInstantInductionLoopDetector::isValid(), GNELaneAreaDetector::isValid(), GNEMultiEntryExitDetector::isValid(), GNEOverheadWire::isValid(), GNEParkingArea::isValid(), GNEParkingSpace::isValid(), GNERerouter::isValid(), GNERouteProbe::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNETractionSubstation::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEContainer::isValid(), GNEPerson::isValid(), GNERoute::isValid(), GNEStop::isValid(), GNEVehicle::isValid(), GNEVType::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNELane::isValid(), GNELaneType::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNETLSEditorFrame::TLSAttributes::isValidParameters(), and GNEFrameAttributeModules::GenericDataAttributes::onCmdSetParameters().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 396 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.
|
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 275 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_CENTER, RECENTERVIEW, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETranship::getPopUpMenu(), GNETransport::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
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 284 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), MID_COPY_NAME, MID_COPY_TYPED_NAME, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::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 266 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), GUIGlObject::getFullName(), and GUIGlObject::myIcon.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETranship::getPopUpMenu(), GNETransport::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
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 325 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GEOHACK, GeoConvHelper::getFinal(), GUIIconSubSys::getIcon(), GUIMainWindow::getOnlineMaps(), GOOGLESAT, GUIGLObjectPopupMenu::insertMenuPaneChild(), MID_COPY_CURSOR_GEOPOSITION, MID_COPY_CURSOR_POSITION, MID_SHOW_GEOPOSITION_ONLINE, OSM, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETranship::getPopUpMenu(), GNETransport::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
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 294 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), FLAG_MINUS, FLAG_PLUS, GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, GUISelectedStorage::isSelected(), MID_ADDSELECT, MID_REMOVESELECT, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 373 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.
Referenced by 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 349 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MANIP, MID_MANIP, and TL.
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 307 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWPARS, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETranship::getPopUpMenu(), GNETransport::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
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 316 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWTYPEPARS, and TL.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), and GUIPerson::getPopUpMenu().
|
protectedinherited |
check wether bidirectional edges occur in the network
Definition at line 1613 of file MSNet.cpp.
References MSEdgeControl::getEdges(), and MSNet::myEdges.
Referenced by MSNet::closeBuilding().
|
protectedinherited |
check all lanes for elevation data
Definition at line 1588 of file MSNet.cpp.
References MSEdgeControl::getEdges(), and MSNet::myEdges.
Referenced by MSNet::closeBuilding().
|
protectedinherited |
check all lanes for type walkingArea
Definition at line 1602 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 198 of file MSNet.cpp.
References MSVehicle::Influencer::cleanup(), and MSGlobals::gUseMesoSim.
Referenced by MSNet::~MSNet().
|
staticinherited |
Clears all dictionaries.
Definition at line 949 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(), TraCIServer::cleanup(), MSDevice::cleanupAll(), MSEdge::clear(), MSLane::clear(), MSRoute::clear(), OutputDevice::closeAll(), MSVehicleTransfer::getInstance(), TraCIServer::getInstance(), MSLaneSpeedTrigger::getInstances(), and MSTriggeredRerouter::getInstances().
Referenced by GUILoadThread::run(), and MSNet::~MSNet().
|
inherited |
Clears the parameter map.
Definition at line 120 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing().
|
inherited |
Resets events when quick-loading state.
step | The new simulation step |
Definition at line 979 of file MSNet.cpp.
References MELoop::clearState(), MSInsertionControl::clearState(), MSVehicleTransfer::clearState(), MSRailSignalControl::clearState(), MSTransportableControl::clearState(), ShapeContainer::clearState(), MSVehicleControl::clearState(), MSEventControl::clearState(), MSDetectorControl::clearState(), MSTLLogicControl::clearState(), MSRoute::dict_clearState(), MSGlobals::gClearState, MSEdge::getAllEdges(), MSVehicleTransfer::getInstance(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSNet::myBeginOfTimestepEvents, MSNet::myContainerControl, MSNet::myDetectorControl, MSNet::myEndOfTimestepEvents, MSNet::myInserter, MSNet::myInsertionEvents, MSNet::myLogics, MSNet::myPersonControl, MSNet::myShapeContainer, MSNet::myStep, MSNet::myStoppingPlaces, MSNet::myVehicleControl, MSNet::quickReload(), MSDetectorControl::updateDetectors(), and MSDetectorControl::writeOutput().
Referenced by MSNet::loadState(), and MSNet::quickReload().
|
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] | junctionHigherSpeeds | Whether the network was built with higher junction speeds |
[in] | version | The network version |
Definition at line 256 of file MSNet.cpp.
References MSNet::checkBidiEdges(), MSNet::checkElevation(), MSNet::checkWalkingarea(), SysUtils::getCurrentMillis(), OptionsCont::getString(), MSGlobals::gUsingInternalLanes, MSGlobals::gWeightsSeparateTurns, MSNet::hasInternalLinks(), MSNet::myEdges, MSNet::myHasBidiEdges, MSNet::myHasElevation, MSNet::myHasInternalLinks, MSNet::myHasPedestrianNetwork, MSNet::myJunctionHigherSpeeds, MSNet::myJunctions, MSNet::myLogics, MSNet::myRouteLoaders, MSNet::mySimBeginMillis, MSNet::myStateDumpFiles, MSNet::myStateDumpPeriod, MSNet::myStateDumpPrefix, MSNet::myStateDumpSuffix, MSNet::myStateDumpTimes, MSNet::myTraCIMillis, MSNet::myVersion, string2time(), and TL.
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 673 of file MSNet.cpp.
References MSStopOut::active(), MSDetectorControl::close(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSStopOut::generateOutputForUnfinished(), MSNet::generateStatistics(), SysUtils::getCurrentMillis(), MSNet::getCurrentTimeStep(), MSStopOut::getInstance(), OptionsCont::getOptions(), MSNet::myDetectorControl, MSNet::myLogExecutionTime, MSNet::myStep, time2string(), WRITE_MESSAGE, MSNet::writeChargingStationOutput(), MSNet::writeOverheadWireSegmentOutput(), MSDevice_Vehroutes::writePendingOutput(), 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 489 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 156 of file GUINet.cpp.
References SUMORTree::addAdditionalGLObject(), Named::getID(), MSTrafficLightLogic::getLinks(), Parameterised::getParameter(), GUITrafficLightLogicWrapper, Parameterised::knowsParameter(), myGrid, myLinks2Logic, MSNet::myLogics, myLogics2Wrapper, and Command_Hotkey_TrafficLight::registerHotkey().
Referenced by initTLMap(), and GUITrafficLightLogicWrapper::switchTLSLogic().
|
virtualinherited |
delete GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, GNEWalkingArea, and GNENetworkElement.
Definition at line 213 of file GUIGlObject.cpp.
|
overridevirtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 560 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 GUIBaseVehicle, GUIContainer, and GUIPerson.
Definition at line 245 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
|
inherited |
draw name of item
Definition at line 495 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show().
Referenced by GNEEdge::drawEdgeName(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNECrossing::drawGL(), GNEJunction::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), GUIPerson::drawGL(), GNEPoly::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GUIBaseVehicle::drawOnPos(), GNELaneAreaDetector::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), and GNEDemandElement::drawPersonPlanPartial().
|
inherited |
return whether given electrical substation exists in the network
Definition at line 1454 of file MSNet.cpp.
References MSNet::myTractionSubstations.
|
inherited |
find electrical substation by its id
Definition at line 1443 of file MSNet.cpp.
References MSNet::myTractionSubstations.
Referenced by NLTriggerBuilder::parseAndBuildOverheadWireClamp(), and NLTriggerBuilder::parseAndBuildOverheadWireSection().
void GUINet::flushOutputsAtEnd | ( | ) |
flush outputs once the simulation has reached its end
Definition at line 785 of file GUINet.cpp.
References MSDetectorControl::close(), OutputDevice::flushAll(), guiSimulationStep(), MSNet::myDetectorControl, mySkipFinalReset, and SIMSTEP.
Referenced by GUIApplicationWindow::handleEvent_SimulationEnded().
|
inherited |
Writes performance output and running vehicle stats.
[in] | start | The step the simulation was started with |
Definition at line 443 of file MSNet.cpp.
References elapsedMs2string(), MSVehicleControl::getCollisionCount(), MSVehicleControl::getDepartedVehicleNo(), MSVehicleControl::getEmergencyBrakingCount(), MSVehicleControl::getEmergencyStops(), TraCIServer::getInstance(), MSTransportableControl::getJammedNumber(), MSTransportableControl::getLoadedNumber(), MSVehicleControl::getLoadedVehicleNo(), OptionsCont::getOptions(), MSTransportableControl::getRunningNumber(), MSVehicleControl::getRunningVehicleNo(), MSVehicleControl::getTeleportCount(), MSTransportableControl::getTeleportCount(), MSTransportableControl::getTeleportsAbortWait(), MSVehicleControl::getTeleportsJam(), MSTransportableControl::getTeleportsWrongDest(), MSVehicleControl::getTeleportsWrongLane(), MSVehicleControl::getTeleportsYield(), MSInsertionControl::getWaitingVehicleNo(), joinToString(), MSNet::myContainerControl, MSNet::myInserter, MSNet::myLogExecutionTime, MSNet::myPersonControl, MSNet::myPersonsMoved, MSNet::mySimBeginMillis, MSNet::myStep, MSNet::myTraCIMillis, MSNet::myVehicleControl, MSNet::myVehiclesMoved, MSDevice_Tripinfo::printStatistics(), STEPS2TIME, and toString().
Referenced by MSNet::closeSimulation(), and signalHandler().
|
inline |
Definition at line 218 of file GUINet.h.
References MSDevice_Tripinfo::getAvgDepartDelay().
Referenced by getParameterWindow().
|
inline |
Definition at line 209 of file GUINet.h.
References MSDevice_Tripinfo::getAvgDuration().
Referenced by getParameterWindow().
|
inline |
Definition at line 206 of file GUINet.h.
References MSDevice_Tripinfo::getAvgRouteLength().
Referenced by getParameterWindow().
|
inline |
Definition at line 215 of file GUINet.h.
References MSDevice_Tripinfo::getAvgTimeLoss().
Referenced by getParameterWindow().
|
inline |
Definition at line 221 of file GUINet.h.
References MSDevice_Tripinfo::getAvgDuration(), and MSDevice_Tripinfo::getAvgRouteLength().
Referenced by getParameterWindow().
|
inline |
Definition at line 212 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWaitingTime().
Referenced by getParameterWindow().
|
inline |
Definition at line 227 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWalkDuration().
Referenced by getParameterWindow().
|
inline |
Definition at line 224 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWalkRouteLength().
Referenced by getParameterWindow().
|
inline |
Definition at line 230 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 473 of file MSNet.h.
References MSNet::myBeginOfTimestepEvents.
Referenced by MSPModel_NonInteracting::add(), MSPModel_Striping::add(), NLTriggerBuilder::buildVaporizer(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSRouteHandler::closeVehicle(), MSTLLogicControl::closeWAUT(), MSLaneSpeedTrigger::init(), MSActuatedTrafficLightLogic::loadState(), MSPModel_NonInteracting::loadState(), MSPModel_Striping::loadState(), MSPModel_Remote::MSPModel_Remote(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSTrafficLightLogic::MSTrafficLightLogic(), MSTriggeredRerouter::myEndElement(), MSPerson::MSPersonStage_Access::proceed(), MSDevice_Routing::rebuildRerouteCommand(), MSDevice_ToC::requestToC(), MSTransportable::setAbortWaiting(), MSTriggeredRerouter::setPermissions(), MSDevice_ToC::triggerDownwardToC(), and MSDevice_ToC::triggerMRM().
const Boundary & GUINet::getBoundary | ( | ) | const |
returns the bounder of the network
Definition at line 123 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 565 of file GUINet.cpp.
References getBoundary().
|
inlinevirtualinherited |
Returns the priority of receiving mouse clicks.
Reimplemented in GUILane, GNEPOI, GNEPoly, GUIPointOfInterest, and GUIPolygon.
Definition at line 159 of file GUIGlObject.h.
References GUIGlObject::myGLObjectType.
Referenced by GUISUMOAbstractView::getObjectAtPosition().
|
inlineinherited |
Definition at line 739 of file MSNet.h.
References MSNet::myCollisions.
Referenced by LIBSUMO_NAMESPACE::Simulation::getCollisions().
|
inlinevirtualinherited |
Reimplemented in GUIJunctionWrapper, GUIVehicle, GUIMEVehicle, GNEEdgeData, GNEEdgeRelData, GNETAZRelData, GNEJunction, GNELane, GUIBaseVehicle, GUIContainer, GUIEdge, GUILane, and GUIPerson.
Definition at line 201 of file GUIGlObject.h.
Referenced by GNEContainer::drawGL(), GNEPerson::drawGL(), and GNEPerson::setColor().
|
overridevirtual |
Returns the container control.
If the container control does not exist, yet, it is created.
Reimplemented from MSNet.
Definition at line 138 of file GUINet.cpp.
References MSNet::myContainerControl.
Referenced by GUIApplicationWindow::handleEvent_SimulationStep().
|
inlineinherited |
Returns the current simulation step.
Definition at line 322 of file MSNet.h.
References MSNet::myStep.
Referenced by MSRoutingEngine::_initEdgeWeights(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLane::StoringVisitor::add(), LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSPModel_Striping::add(), MSTriggeredRerouter::addParkValues(), GUIEdge::addRerouter(), MSDevice_Vehroutes::addRoute(), MSBaseVehicle::addTransportable(), MSTLLogicControl::addWAUTJunction(), MSVehicle::boardTransportables(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSNet::closeSimulation(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSTLLogicControl::closeWAUT(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSDevice_Taxi::customerArrived(), 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(), MSLaneSpeedTrigger::getCurrentFriction(), MSSOTLTrafficLightLogic::getCurrentPhaseElapsed(), GUIApplicationWindow::getCurrentSimTime(), MSLaneSpeedTrigger::getCurrentSpeed(), LIBSUMO_NAMESPACE::Simulation::getCurrentTime(), GUIViewTraffic::getCurrentTimeStep(), MSActuatedTrafficLightLogic::getDetectorPriority(), getEdgeData(), MSTransportable::getEdgePos(), MSLane::getFirstVehicleInformation(), MSInductLoop::getLastDetectionTime(), MSLane::getLastVehicleInformation(), LIBSUMO_NAMESPACE::Lane::getLinks(), MESegment::getMeanSpeed(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSInsertionControl::getPendingEmits(), MSTransportable::getPosition(), MSVehicle::getPosition(), MSVehicle::getStopDelay(), MSTransportable::getWaitingSeconds(), MSTransportable::getWaitingTime(), MSLink::getZipperSpeed(), MSLane::handleCollisionBetween(), GUIApplicationWindow::handleEvent_SimulationStep(), MSMeanData::init(), MSLaneSpeedTrigger::init(), MSSwarmTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), TraCIServer::initialiseSubscription(), MSTLLogicControl::initWautSwitch(), MSBaseVehicle::insertStop(), MSLane::isInsertionSuccess(), MSVehicle::Influencer::isRemoteControlled(), MSPerson::Influencer::isRemoteControlled(), MSSOTLTrafficLightLogic::isThresholdPassed(), GUIRunThread::makeStep(), MEVehicle::mayProceed(), MSDevice_Taxi::MSDevice_Taxi(), MSPModel_Remote::MSPModel_Remote(), MSDevice_Transportable::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Transportable::notifyMove(), GUIApplicationWindow::onCmdTimeToggle(), MSBaseVehicle::onDepart(), GUIViewTraffic::onGamingClick(), TraCIServer::postProcessSimulationStep(), MESegment::prepareDetectorForWriting(), MSVehicle::processLaneAdvances(), MSVehicle::processNextStop(), MSDevice_Routing::rebuildRerouteCommand(), MSRailSignal::recheckGreen(), MSBaseVehicle::replaceStop(), MSRailSignal::LinkInfo::reroute(), MSBaseVehicle::rerouteBetweenStops(), MSVehicle::resetActionOffset(), MSSOTLTrafficLightLogic::resetCTS(), MSTrafficLightLogic::resetLinkStates(), MSVehicle::resumeFromStopping(), TraCIServer::sendOutputToAll(), MSStageTrip::setArrived(), NEMALogic::setCurrentTime(), LIBSUMO_NAMESPACE::TrafficLight::setPhase(), LIBSUMO_NAMESPACE::TrafficLight::setPhaseDuration(), LIBSUMO_NAMESPACE::TrafficLight::setProgramLogic(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSSOTLTrafficLightLogic::setStep(), MSSOTLTrafficLightLogic::setupCTS(), MSPerson::MSPersonStage_Walking::tripInfoOutput(), MSStageDriving::tripInfoOutput(), GUIRunThread::tryStep(), MSDelayBasedTrafficLightLogic::trySwitch(), MSRailCrossing::trySwitch(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), MSSimpleTrafficLightLogic::trySwitch(), MSVehicle::updateActionOffset(), MSSOTLTrafficLightLogic::updateCTS(), MSRailCrossing::updateCurrentPhase(), MSDevice_Tripinfo::updateParkingStopTime(), MSSwarmTrafficLightLogic::updateSensitivities(), MSVehicle::wasRemoteControlled(), MSNet::writeCollisions(), and MSDevice_Vehroutes::writeOutput().
|
inlineinherited |
Returns the detector control.
Definition at line 443 of file MSNet.h.
References MSNet::myDetectorControl.
Referenced by MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NLDetectorBuilder::buildE2Detector(), 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(), LIBSUMO_NAMESPACE::InductionLoop::getTree(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), NEMALogic::init(), NLTriggerBuilder::parseAndBuildCalibrator(), and MSActuatedTrafficLightLogic::retrieveDetExpression().
|
inherited |
Returns the value for a given key converted to a double.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 81 of file Parameterised.cpp.
References Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by MSDevice_Battery::buildVehicleDevices(), EnergyParams::EnergyParams(), MSSOTLPolicy5DStimulus::getStimCox(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionIn(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionOut(), MSSOTLPolicy5DStimulus::getStimCoxExpIn(), MSSOTLPolicy5DStimulus::getStimCoxExpOut(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionIn(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionOut(), MSSOTLPolicy5DStimulus::getStimDivisorIn(), MSSOTLPolicy5DStimulus::getStimDivisorOut(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionIn(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionOut(), MSSOTLPolicy5DStimulus::getStimOffsetIn(), MSSOTLPolicy5DStimulus::getStimOffsetOut(), MSActuatedTrafficLightLogic::init(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), and MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus().
|
inherited |
Returns the value for a given key converted to a list of doubles.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 99 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, TL, StringUtils::toDouble(), WRITE_WARNING, and WRITE_WARNINGF.
Referenced by EnergyParams::EnergyParams().
|
inlineinherited |
Returns the dynamic shapes updater.
Definition at line 510 of file MSNet.h.
References MSNet::myDynamicShapeUpdater.
|
inlineinherited |
Returns the edge control.
Definition at line 423 of file MSNet.h.
References MSNet::myEdges.
Referenced by MSRoutingEngine::_initEdgeWeights(), MSRoutingEngine::adaptEdgeEfforts(), MSNet::adaptIntermodalRouter(), NLBuilder::build(), MSLane::executeMovements(), MSRoutingEngine::getRouterTT(), MSLane::incorporateVehicle(), MSMeanData::init(), MSRoutingEngine::initRouter(), MSStateHandler::myStartElement(), MSVehicle::processLaneAdvances(), MSRoutingEngine::reroute(), MSStateHandler::saveState(), 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 604 of file GUINet.cpp.
References MSNet::getCurrentTimeStep(), GUIVisualizationSettings::MISSING_DATA, myLoadedEdgeData, and STEPS2TIME.
Referenced by GUIEdge::getColorValue(), GUILane::getColorValue(), GUIEdge::getScaleValue(), and GUILane::getScaleValue().
std::vector< std::string > GUINet::getEdgeDataAttrs | ( | ) | const |
return list of loaded edgeData attributes
Definition at line 727 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 149 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 483 of file MSNet.h.
References MSNet::myEndOfTimestepEvents.
Referenced by LIBSUMO_NAMESPACE::Polygon::addDynamics(), MSTractionSubstation::addSolvingCirucitToEndOfTimestepEvents(), MSDevice_BTreceiver::BTreceiverUpdate::BTreceiverUpdate(), MSRouteHandler::closeVehicle(), 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().
|
inlinevirtualinherited |
return exaggeration associated with this GLObject
Reimplemented in GUIBaseVehicle, GUIBusStop, GUICalibrator, GUIChargingStation, GUIDetectorWrapper, GUIE3Collector::MyWrapper, GUIInstantInductLoop::MyWrapper, GUIJunctionWrapper, GUILaneSpeedTrigger, GUIOverheadWire, GUIOverheadWireClamp, GUIParkingArea, GUITriggeredRerouter, GUITriggeredRerouter::GUITriggeredRerouterEdge, GUIMEInductLoop::MyWrapper, GUIMEVehicle, GNEAdditional, GNETAZ, GNEContainer, GNEPerson, GNERoute, GNEStop, GNEVehicle, GNEConnection, GNEEdge, GNEJunction, GNELane, GUIContainer, GUIE2Collector::MyWrapper, GUIPerson, GNEPOI, GNEPoly, GUIPointOfInterest, and GUIPolygon.
Definition at line 174 of file GUIGlObject.h.
References UNUSED_PARAMETER.
Referenced by GUIPointOfInterest::checkDraw(), GUIPolygon::checkDraw(), GNEWalkingArea::drawGL(), GUIPointOfInterest::drawInnerPOI(), and GUIPolygon::drawInnerPolygon().
|
inlineinherited |
Definition at line 92 of file GUIGlObject.h.
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(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inherited |
get icon associated with this GL Object
Definition at line 186 of file GUIGlObject.cpp.
References GUIGlObject::myIcon.
|
inlineinherited |
Returns the numerical id of the object.
Definition at line 102 of file GUIGlObject.h.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNECalibrator::drawCalibratorSymbol(), GNEEdge::drawEdgeGeometryPoints(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GNEAdditional::drawListedAddtional(), GUIBaseVehicle::drawOnPos(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverEdge(), GNEStop::drawStopPersonOverStoppingPlace(), GNEStop::drawVehicleStop(), GUIJunctionWrapper::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIPerson::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(), GUIVehicle::isSelected(), GUIContainer::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEElementTree::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIViewTraffic::showLaneReachability(), GUIBaseVehicle::~GUIBaseVehicle(), 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 571 of file GUINet.cpp.
References MSNet::getInstance().
Referenced by GUIEdge::addRerouter(), GUIViewTraffic::doPaintGL(), GUIEdge::drawMesoVehicles(), GUIEdge::getColorValue(), GUILane::getColorValue(), GUIViewTraffic::getEdgeDataAttrs(), GUIViewTraffic::getMeanDataAttrs(), GUIViewTraffic::getMeanDataIDs(), GUIEdge::getScaleValue(), GUILane::getScaleValue(), GUIViewTraffic::getVehicleParamKeys(), GUIApplicationWindow::handleEvent_SimulationEnded(), GUIApplicationWindow::onCmdOpenEdgeData(), GUIApplicationWindow::onCmdShowStats(), and GUITrafficLightLogicWrapper::switchTLSLogic().
GUIMEVehicleControl * GUINet::getGUIMEVehicleControl | ( | ) |
Returns the vehicle control.
Definition at line 598 of file GUINet.cpp.
References MSNet::myVehicleControl.
Referenced by GUIEdge::drawMesoVehicles().
GUIVehicleControl * GUINet::getGUIVehicleControl | ( | ) |
Returns the vehicle control.
Definition at line 581 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 433 of file GUINet.cpp.
References myLastIdleDuration.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the insertion control.
Definition at line 433 of file MSNet.h.
References MSNet::myInserter.
Referenced by MSNet::adaptIntermodalRouter(), LIBSUMO_NAMESPACE::Vehicle::add(), MSRouteHandler::addFlowTransportable(), MSLane::checkFailure(), LIBSUMO_NAMESPACE::Simulation::clearPending(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), getParameterWindow(), GUIEdge::getPendingEmits(), GUILane::getPendingEmits(), LIBSUMO_NAMESPACE::Simulation::getPendingVehicles(), LIBSUMO_NAMESPACE::Edge::getPendingVehicles(), LIBSUMO_NAMESPACE::Lane::getPendingVehicles(), GUILane::getScaleValue(), GUIApplicationWindow::handleEvent_SimulationStep(), MSLane::insertVehicle(), 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 493 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 183 of file MSNet.cpp.
References MSNet::myInstance, and TL.
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(), MSTransportable::abortStage(), MSRoutingEngine::adaptEdgeEfforts(), MSDevice_GLOSA::adaptSpeed(), LIBSUMO_NAMESPACE::Edge::adaptTraveltime(), MSLane::StoringVisitor::add(), LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::POI::add(), LIBSUMO_NAMESPACE::Polygon::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSVehicleTransfer::add(), MSPModel_Striping::add(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), LIBSUMO_NAMESPACE::Polygon::addDynamics(), MSRouteHandler::addFlowTransportable(), LIBSUMO_NAMESPACE::Polygon::addHighlightPolygon(), MSTrafficLightLogic::addLink(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSTriggeredRerouter::addParkValues(), MSRouteHandler::addPersonTrip(), NLHandler::addPredecessorConstraint(), GUIEdge::addRerouter(), MSRouteHandler::addRideOrTransport(), MSDevice_Vehroutes::addRoute(), MSTractionSubstation::addSolvingCirucitToEndOfTimestepEvents(), MSBaseVehicle::addStop(), MSRouteHandler::addTranship(), MSBaseVehicle::addTransportable(), MSTLLogicControl::addWAUTJunction(), LIBSUMO_NAMESPACE::Person::appendDrivingStage(), LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSVehicle::boardTransportables(), MSDevice_BTreceiver::BTreceiverUpdate::BTreceiverUpdate(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), MSDevice_FCD::buildShapeFilter(), libsumo::Helper::buildStopParameters(), NLTriggerBuilder::buildVaporizer(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), LIBSUMO_NAMESPACE::Vehicle::changeLane(), LIBSUMO_NAMESPACE::Vehicle::changeLaneRelative(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSLane::checkFailure(), GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::checkGamingEventsDRT(), MSVehicleTransfer::checkInsertions(), MSBaseVehicle::checkRouteRemoval(), MSRouteHandler::checkTransportableType(), MSTransportableControl::checkWaiting(), MSVehicle::Influencer::GapControlState::cleanup(), LIBSUMO_NAMESPACE::Simulation::clearPending(), LIBSUMO_NAMESPACE::Simulation::close(), MSRouteHandler::closeFlow(), MSRouteHandler::closeRoute(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), MSRouteHandler::closeVehicleTypeDistribution(), MSRouteHandler::closeVType(), MSTLLogicControl::closeWAUT(), libsumo::Helper::collectObjectsInRange(), 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(), MSInsertionControl::determineCandidates(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), TraCIServer::dispatchCommand(), MSDevice_Taxi::dispatchShared(), GUIJunctionWrapper::drawGL(), GUITrafficLightLogicWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), MSVehicleType::duplicateType(), MSActuatedTrafficLightLogic::duration(), GUITriggerBuilder::endParkingArea(), GUITriggerBuilder::endStoppingPlace(), MSParkingArea::enter(), MSVehicle::enterLaneAtInsertion(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSDevice::equippedByDefaultAssignmentOptions(), MSTransportableControl::erase(), Command_SaveTLCoupledDet::execute(), Command_SaveTLCoupledLaneDet::execute(), Command_Hotkey_TrafficLight::execute(), METriggeredCalibrator::execute(), Command_RouteReplacement::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSVTypeProbe::execute(), MSPerson::MSPersonStage_Access::ProceedCmd::execute(), MSCalibrator::execute(), MSVehicle::executeFractionalMove(), LIBSUMO_NAMESPACE::Simulation::executeMove(), MSVehicle::executeMove(), MSLane::executeMovements(), MSEdgeControl::executeMovements(), LIBSUMO_NAMESPACE::Polygon::exists(), MSCFModel_CC::finalizeSpeed(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), MSActuatedTrafficLightLogic::gapControl(), MSDevice_Tripinfo::generateOutputForUnfinished(), LIBSUMO_NAMESPACE::Edge::getAdaptedTraveltime(), MSTransportable::getAngle(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Simulation::getBusStopIDList(), LIBSUMO_NAMESPACE::Simulation::getBusStopWaiting(), LIBSUMO_NAMESPACE::Simulation::getBusStopWaitingIDList(), LIBSUMO_NAMESPACE::Simulation::getCollisions(), GUIJunctionWrapper::getColorValue(), GUILane::getColorValue(), MSLane::getCriticalLeader(), MSLaneSpeedTrigger::getCurrentFriction(), MSSOTLTrafficLightLogic::getCurrentPhaseElapsed(), MSLaneSpeedTrigger::getCurrentSpeed(), LIBSUMO_NAMESPACE::Simulation::getCurrentTime(), GUIViewTraffic::getCurrentTimeStep(), LIBSUMO_NAMESPACE::InductionLoop::getDetector(), LIBSUMO_NAMESPACE::LaneArea::getDetector(), LIBSUMO_NAMESPACE::MultiEntryExit::getDetector(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSStageMoving::getDirection(), MSRailSignal::LinkInfo::getDriveWay(), libsumo::Helper::getDrivingDistance(), MSTransportable::getEdgePos(), MSNet::getEffort(), LIBSUMO_NAMESPACE::Edge::getEffort(), MSLane::getFirstVehicleInformation(), LIBSUMO_NAMESPACE::Vehicle::getFollowSpeed(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), getGUIInstance(), MSRailSignalControl::getInstance(), LIBSUMO_NAMESPACE::Junction::getJunction(), MSInductLoop::getLastDetectionTime(), LIBSUMO_NAMESPACE::Edge::getLastStepPersonIDs(), MSLane::getLastVehicleInformation(), MSLink::getLeaderInfo(), LIBSUMO_NAMESPACE::Lane::getLinks(), GUILane::getLoadedEdgeWeight(), LIBSUMO_NAMESPACE::Vehicle::getLoadedIDList(), MSLane::getMaximumBrakeDist(), LIBSUMO_NAMESPACE::MeanData::getMeanData(), MESegment::getMeanSpeed(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), MSPModel_Striping::getNextLane(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), GUISUMOViewParent::getObjectIDs(), LIBSUMO_NAMESPACE::OverheadWire::getOverheadWire(), MSCFModel_CC::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUILane::getParameterWindow(), GUIEdge::getPendingEmits(), GUILane::getPendingEmits(), MSInsertionControl::getPendingEmits(), LIBSUMO_NAMESPACE::Simulation::getPendingVehicles(), LIBSUMO_NAMESPACE::Edge::getPendingVehicles(), LIBSUMO_NAMESPACE::Lane::getPendingVehicles(), libsumo::Helper::getPerson(), MSTLLogicControl::getPhaseDef(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), LIBSUMO_NAMESPACE::POI::getPoI(), GUIViewTraffic::getPOIParamKeys(), LIBSUMO_NAMESPACE::Polygon::getPolygon(), MSTransportable::getPosition(), MSVehicle::getPosition(), MSVTKExport::getPositions(), GUIVehicle::getPreviousLane(), MSCFModel_CC::getRadarMeasurements(), LIBSUMO_NAMESPACE::RouteProbe::getRouteProbe(), MSBaseVehicle::BaseInfluencer::getRouterTT(), MSRoutingEngine::getRouterTT(), LIBSUMO_NAMESPACE::Simulation::getScale(), GUILane::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getSecureGap(), MSVTKExport::getSpeed(), MSVehicle::getStopArrivalDelay(), MSVehicle::getStopDelay(), libsumo::Helper::getStoppingPlace(), GUILane::getStoredEdgeTravelTime(), MSEdge::getSuccessors(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), libsumo::Helper::getTLS(), LIBSUMO_NAMESPACE::Polygon::getTrafficObject(), MSNet::getTravelTime(), MSEdge::getTravelTimeStatic(), LIBSUMO_NAMESPACE::InductionLoop::getTree(), LIBSUMO_NAMESPACE::Junction::getTree(), LIBSUMO_NAMESPACE::POI::getTree(), LIBSUMO_NAMESPACE::Polygon::getTree(), GUIEdge::getTypeParameterWindow(), libsumo::Helper::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSCFModel_CC::getVehicleInformation(), MSRailSignalConstraint::getVehID(), MSEdge::getViaSuccessors(), LIBSUMO_NAMESPACE::VehicleType::getVType(), MSTransportable::getWaitingSeconds(), MSTransportable::getWaitingTime(), MSLink::getZipperSpeed(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), libsumo::Helper::handleSubscriptions(), MSLane::hasPedestrians(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSPModel_Striping::PState::ignoreRed(), MSVehicle::ignoreRed(), MSLane::incorporateVehicle(), MSEdge::inferEdgeType(), MSVehicle::influenceChangeDecision(), MSDevice_Vehroutes::init(), MSVehicle::Influencer::GapControlState::init(), MSMeanData::init(), MSCalibrator::init(), MSLaneSpeedTrigger::init(), MSDelayBasedTrafficLightLogic::init(), MSRailCrossing::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSDevice_ToC::initColorScheme(), MSDevice_Taxi::initDispatch(), MSDevice_SSM::initEdgeFilter(), TraCIServer::initialiseSubscription(), MSTrafficLightLogic::initMesoTLSPenalties(), MSStop::initPars(), MSLane::initRestrictions(), MSRoutingEngine::initRouter(), MSInsertionControl::initScale(), MSVehicleControl::initVehicle(), MSTLLogicControl::initWautSwitch(), MSRoutingEngine::initWeightUpdate(), MSBaseVehicle::insertStop(), MSLane::insertVehicle(), MSEdge::insertVehicle(), MSLCM_SL2015::isBidi(), MSLane::isInsertionSuccess(), LIBSUMO_NAMESPACE::Vehicle::isOnInit(), MSVehicle::Influencer::isRemoteControlled(), MSPerson::Influencer::isRemoteControlled(), MSTrafficLightLogic::isSelected(), MSSOTLTrafficLightLogic::isThresholdPassed(), MSVehicle::joinTrainPart(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSParkingArea::leaveFrom(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), LIBSUMO_NAMESPACE::Simulation::load(), LIBSUMO_NAMESPACE::Simulation::loadState(), MSLane::loadState(), MSVehicleTransfer::loadState(), MSActuatedTrafficLightLogic::loadState(), MSPModel_Striping::loadState(), MSPerson::MSPersonStage_Walking::loadState(), MSStageDriving::loadState(), MSStageWaiting::loadState(), MSVehicle::Manoeuvre::manoeuvreIsComplete(), MSVehicle::Manoeuvre::manoeuvreIsComplete(), MEVehicle::mayProceed(), 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(), MSPModel_Striping::MSPModel_Striping(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSTrafficLightLogic::MSTrafficLightLogic(), MSTransportableControl::MSTransportableControl(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), MSVTypeProbe::MSVTypeProbe(), GUITriggeredRerouter::myEndElement(), MSStateHandler::myEndElement(), MSTriggeredRerouter::myEndElement(), 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_StationFinder::notifyMove(), MSDevice_Transportable::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), GUIApplicationWindow::onCmdLoadState(), GUIApplicationWindow::onCmdQuickReload(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdRemoveObject(), GUIPerson::GUIPersonPopupMenu::onCmdRemoveObject(), GUIApplicationWindow::onCmdSaveState(), MSBaseVehicle::onDepart(), GUIViewTraffic::onGamingClick(), MEVehicle::onRemovalFromNet(), MSRouteHandler::openRoute(), TraCIServer::openSocket(), MSRouteHandler::openVehicleTypeDistribution(), NLTriggerBuilder::parseAndBuildOverheadWireClamp(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSVehicle::planMoveInternal(), libsumo::Helper::postProcessRemoteControl(), MSPerson::Influencer::postProcessRemoteControl(), TraCIServer::postProcessSimulationStep(), MESegment::prepareDetectorForWriting(), MSPerson::MSPersonStage_Walking::proceed(), MSTransportable::proceed(), TraCIServer::processCommands(), MSDevice_SSM::processEncounters(), TraCIServerAPI_TrafficLight::processGet(), MSVehicle::processLaneAdvances(), MSVehicle::processNextStop(), TraCIServerAPI_Person::processSet(), TraCIServerAPI_Vehicle::processSet(), MEVehicle::processStop(), MSVehicle::processTraCISpeedControl(), MSPModel_Striping::PState::PState(), MSDevice_Routing::rebuildRerouteCommand(), MSEdge::recalcCache(), MESegment::receive(), MSRailSignal::recheckGreen(), Command_Hotkey_InductionLoop::registerHotkey(), Command_Hotkey_TrafficLight::registerHotkey(), libsumo::Helper::registerStateListener(), MSStageDriving::registerWaiting(), METriggeredCalibrator::remainingVehicleCapacity(), MSCalibrator::remainingVehicleCapacity(), LIBSUMO_NAMESPACE::POI::remove(), LIBSUMO_NAMESPACE::Polygon::remove(), LIBSUMO_NAMESPACE::Vehicle::remove(), MSVehicleControl::removePending(), MSCalibrator::removePending(), MSTransportable::removeStage(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceStop(), MSBaseVehicle::replaceVehicleType(), MSTransportable::replaceVehicleType(), MSDevice_ToC::requestToC(), MSBaseVehicle::reroute(), MSRoutingEngine::reroute(), MSRailSignal::LinkInfo::reroute(), MSBaseVehicle::rerouteBetweenStops(), GUIVehicle::rerouteDRTStop(), LIBSUMO_NAMESPACE::Vehicle::rerouteEffort(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), LIBSUMO_NAMESPACE::Person::rerouteTraveltime(), LIBSUMO_NAMESPACE::Vehicle::rerouteTraveltime(), MSVehicle::resetActionOffset(), MSSOTLTrafficLightLogic::resetCTS(), MSTrafficLightLogic::resetLinkStates(), MSDevice_Bluelight::resetVehicle(), MEVehicle::resumeFromStopping(), MSVehicle::resumeFromStopping(), MSActuatedTrafficLightLogic::retrieveDetExpression(), MSRouteHandler::retrieveStoppingPlace(), MSTransportable::routeOutput(), MSStateHandler::saveRNGs(), MSStateHandler::saveState(), LIBSUMO_NAMESPACE::Simulation::saveState(), MSBaseVehicle::saveState(), TraCIServer::sendOutputToAll(), MSTransportable::setAbortWaiting(), LIBSUMO_NAMESPACE::Vehicle::setAcceleration(), MSVehicleType::setActionStepLength(), MSStageTrip::setArrived(), NEMALogic::setCurrentTime(), LIBSUMO_NAMESPACE::Edge::setEffort(), LIBSUMO_NAMESPACE::Calibrator::setFlow(), GUIBaseVehicle::setFunctionalColor(), MSLaneSpeedTrigger::setOverriding(), MSLaneSpeedTrigger::setOverridingValue(), MSTransportableDevice_Routing::setParameter(), MSDevice_ToC::setParameter(), MSRailSignal::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), MSCFModel_CC::setParameter(), MSTriggeredRerouter::setPermissions(), LIBSUMO_NAMESPACE::TrafficLight::setPhase(), LIBSUMO_NAMESPACE::TrafficLight::setPhaseDuration(), LIBSUMO_NAMESPACE::POI::setPosition(), LIBSUMO_NAMESPACE::TrafficLight::setProgram(), LIBSUMO_NAMESPACE::TrafficLight::setProgramLogic(), LIBSUMO_NAMESPACE::TrafficLight::setRedYellowGreenState(), LIBSUMO_NAMESPACE::Simulation::setScale(), LIBSUMO_NAMESPACE::Polygon::setShape(), LIBSUMO_NAMESPACE::Vehicle::setSpeed(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSSOTLTrafficLightLogic::setStep(), LIBSUMO_NAMESPACE::Person::setType(), LIBSUMO_NAMESPACE::Vehicle::setType(), MSSOTLTrafficLightLogic::setupCTS(), GUITriggeredRerouter::shiftProbs(), signalHandler(), LIBSUMO_NAMESPACE::Vehicle::slowDown(), LIBSUMO_NAMESPACE::Simulation::step(), 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(), MSDelayBasedTrafficLightLogic::trySwitch(), MSRailCrossing::trySwitch(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), MSSimpleTrafficLightLogic::trySwitch(), MSVehicle::updateActionOffset(), MSVehicle::updateBestLanes(), MSSOTLTrafficLightLogic::updateCTS(), MSRailCrossing::updateCurrentPhase(), MSSOTLTrafficLightLogic::updateDecayThreshold(), MSDevice_Taxi::updateMove(), MSDevice_Tripinfo::updateParkingStopTime(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MELoop::updateSegmentsForEdge(), 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(), MSMeanData::writeAggregated(), MSElecHybridExport::writeAggregated(), MSMeanData::writeEdge(), MSFullExport::writeEdge(), MSQueueExport::writeEdge(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSDevice_Vehroutes::writePendingOutput(), MSFullExport::writeTLS(), MSFullExport::writeVehicles(), MSDevice_Vehroutes::writeXMLRoute(), MSDevice_BTreceiver::BTreceiverUpdate::~BTreceiverUpdate(), MSDevice_Transportable::~MSDevice_Transportable(), MSTransportable::~MSTransportable(), and MSVehicle::~MSVehicle().
|
inherited |
Definition at line 1503 of file MSNet.cpp.
References MSNet::adaptIntermodalRouter(), OptionsCont::getInt(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), MSDevice_Taxi::getTaxi(), OptionsCont::getValueString(), MSNet::myIntermodalRouter, libsumo::ROUTING_MODE_COMBINED, STEPS2TIME, and string2time().
Referenced by LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), and MSStageTrip::setArrived().
|
inlineinherited |
Returns the junctions control.
Definition at line 463 of file MSNet.h.
References MSNet::myJunctions.
Referenced by NLHandler::addDistrict(), NLNetShapeHandler::addJunction(), NLBuilder::build(), LIBSUMO_NAMESPACE::Junction::getJunction(), LIBSUMO_NAMESPACE::Junction::getTree(), and MSDevice_SSM::initEdgeFilter().
std::vector< GUIGlID > GUINet::getJunctionIDs | ( | bool | includeInternal | ) | const |
Definition at line 239 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 184 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 197 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 212 of file GUINet.cpp.
References MSTLLogicControl::getActive(), MSTrafficLightLogic::getLinkIndex(), myLinks2Logic, MSNet::myLogics, and myLogics2Wrapper.
Referenced by GUILane::drawTLSLinkNo().
double GUINet::getMeanData | ( | const MSLane * | lane, |
const std::string & | id, | ||
const std::string & | attr | ||
) |
retrieve live lane/edge weight for the given meanData id and attribute
Definition at line 621 of file GUINet.cpp.
References SUMOXMLDefinitions::Attrs, MSDetectorControl::getMeanData(), GUIVisualizationSettings::MISSING_DATA, and MSNet::myDetectorControl.
Referenced by GUILane::getColorValue().
std::vector< std::string > GUINet::getMeanDataAttrs | ( | const std::string & | meanDataID | ) | const |
return list of available attributes for the given meanData id
Definition at line 748 of file GUINet.cpp.
References MSDetectorControl::getMeanData(), and MSNet::myDetectorControl.
Referenced by GUIViewTraffic::getMeanDataAttrs().
std::vector< std::string > GUINet::getMeanDataIDs | ( | ) | const |
return list of loaded edgeData ids (being computed in the current simulation)
Definition at line 737 of file GUINet.cpp.
References MSDetectorControl::getMeanData(), and MSNet::myDetectorControl.
Referenced by GUIViewTraffic::getMeanDataIDs().
double GUINet::getMeanRTFactor | ( | int | duration | ) | const |
Returns the simulation speed as a factor to real time.
Definition at line 415 of file GUINet.cpp.
References myOverallSimDuration.
double GUINet::getMeanUPS | ( | ) | const |
Returns the update per seconds rate.
Definition at line 424 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 366 of file MSNet.cpp.
References OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getOptions(), OptionsCont::getString(), MESegment::MesoEdgeType::jamThreshold, MESegment::MesoEdgeType::junctionControl, MESegment::MesoEdgeType::minorPenalty, MSNet::myMesoEdgeTypes, MESegment::MesoEdgeType::overtaking, string2time(), MESegment::MesoEdgeType::tauff, MESegment::MesoEdgeType::taufj, MESegment::MesoEdgeType::taujf, MESegment::MesoEdgeType::taujj, MESegment::MesoEdgeType::tlsFlowPenalty, and MESegment::MesoEdgeType::tlsPenalty.
Referenced by NLHandler::addMesoEdgeType(), MELoop::buildSegmentsFor(), GUIEdge::getTypeParameterWindow(), MSTrafficLightLogic::initMesoTLSPenalties(), MSEdge::recalcCache(), and MELoop::updateSegmentsForEdge().
|
inlineinherited |
Returns the id of the object as known to microsim.
Definition at line 141 of file GUIGlObject.h.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), GUIGlObject::drawName(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEInductionLoopDetector::getAttribute(), GNEInstantInductionLoopDetector::getAttribute(), GNELaneAreaDetector::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEVTypeDistribution::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEWalkingArea::getAttribute(), GNEWalkingArea::getNBWalkingArea(), GUIDialog_ChooserAbstract::getObjectName(), GNEDialogACChooser::getObjectName(), GNEMultiEntryExitDetector::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNETractionSubstation::getParentName(), GNEVariableSpeedSign::getParentName(), GNEVType::getParentName(), GNEVTypeDistribution::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNEChange_TLS::GNEChange_TLS(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), 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 GUIBaseVehicle, GUIBusStop, GUIChargingStation, GUIJunctionWrapper, GUIParkingArea, GUITrafficLightLogicWrapper, GNEAdditional, GNEEdge, GNENetworkElement, GUIEdge, GUIPointOfInterest, and GUIPolygon.
Definition at line 231 of file GUIGlObject.cpp.
Referenced by GUIDialog_ChooserAbstract::getObjectName().
|
virtualinherited |
Returns the value for a given key.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Reimplemented in MSActuatedTrafficLightLogic, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 71 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), MSRailSignal::constraintsAllow(), createTLWrapper(), GNEEdge::drawEdgeName(), GNEGenericData::drawFilteredAttribute(), GNEConnection::drawGL(), GUIEdge::drawGL(), EnergyParams::EnergyParams(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), GUIVehicle::getColorValue(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUIEdge::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), RORoutable::getMaxSpeed(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), GUIBaseVehicle::getOptionalName(), GUITrafficLightLogicWrapper::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSimpleTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSBaseVehicle::getPrefixedParameter(), GUIBaseVehicle::getScaleValue(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), MSDevice::getStringParam(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSRailSignalConstraint::getVehID(), MSTriggeredRerouter::getWeight(), MSRailSignal::hasInsertionConstraint(), MSLink::ignoreFoe(), MSSOTLPhasePolicy::init(), PushButtonLogic::init(), SigmoidLogic::init(), SUMOVTypeParameter::initRailVisualizationParameters(), MSAbstractLaneChangeModel::laneChangeOutput(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSDevice_GLOSA::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), MSDevice_SSM::requestsTrajectories(), MSDevice_Bluelight::resetVehicle(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), NBEdge::setOrigID(), NBEdgeCont::splitAt(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
|
inherited |
Returns the inner key/value map.
Definition at line 126 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEGenericData::drawAttribute(), GNEGenericData::drawFilteredAttribute(), NLDetectorBuilder::endE3Detector(), GNEAccess::getACParametersMap(), GNECalibrator::getACParametersMap(), GNEDetector::getACParametersMap(), GNEMultiEntryExitDetector::getACParametersMap(), GNEOverheadWire::getACParametersMap(), GNEParkingSpace::getACParametersMap(), GNERerouter::getACParametersMap(), GNERouteProbe::getACParametersMap(), GNEStoppingPlace::getACParametersMap(), GNETAZ::getACParametersMap(), GNEVaporizer::getACParametersMap(), GNEVariableSpeedSign::getACParametersMap(), GNEDataInterval::getACParametersMap(), GNEDataSet::getACParametersMap(), GNEGenericData::getACParametersMap(), GNEContainer::getACParametersMap(), GNEPerson::getACParametersMap(), GNEPersonTrip::getACParametersMap(), GNERide::getACParametersMap(), GNERoute::getACParametersMap(), GNEStop::getACParametersMap(), GNETranship::getACParametersMap(), GNETransport::getACParametersMap(), GNEVehicle::getACParametersMap(), GNEVType::getACParametersMap(), GNEWalk::getACParametersMap(), GNEConnection::getACParametersMap(), GNECrossing::getACParametersMap(), GNEEdge::getACParametersMap(), GNEEdgeType::getACParametersMap(), GNEJunction::getACParametersMap(), GNELane::getACParametersMap(), GNELaneType::getACParametersMap(), GNEPOI::getACParametersMap(), GNEPoly::getACParametersMap(), MSRailSignalConstraint_Predecessor::getDescription(), NWWriter_OpenDrive::getDividerType(), GUILane::getParameterWindow(), GNESingleParametersDialog::GNESingleParametersDialog(), MSRailCrossing::init(), MSActuatedTrafficLightLogic::init(), MSDevice_Taxi::initDispatch(), MSBaseVehicle::initTransientModelParams(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), GNESingleParametersDialog::onCmdReset(), GNEVType::overwriteVType(), TraCIServerAPI_TrafficLight::processGet(), Parameterised::setParameters(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), GNEEdgeData::writeGenericData(), GNEEdgeRelData::writeGenericData(), and GNETAZRelData::writeGenericData().
|
inherited |
Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN".
Definition at line 132 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEEntryExitDetector::getAttribute(), GNEInductionLoopDetector::getAttribute(), GNEInstantInductionLoopDetector::getAttribute(), GNELaneAreaDetector::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEEdgeData::getAttribute(), GNEEdgeRelData::getAttribute(), GNETAZRelData::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNELaneType::getAttribute(), GNEPOI::getAttribute(), and GNEPoly::getAttribute().
|
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 476 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::getStoppedVehiclesCount(), 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 GNEAccess, GNECalibrator, GNECalibratorFlow, GNEClosingLaneReroute, GNEClosingReroute, GNEDestProbReroute, GNEDetector, GNEMultiEntryExitDetector, GNEParkingAreaReroute, GNEParkingSpace, GNERerouter, GNERerouterInterval, GNERerouterSymbol, GNERouteProbe, GNERouteProbReroute, GNEStoppingPlace, GNETAZ, GNETAZSourceSink, GNETractionSubstation, GNEVaporizer, GNEVariableSpeedSign, GNEVariableSpeedSignStep, GNEVariableSpeedSignSymbol, GNEContainer, GNEPerson, GNEPersonTrip, GNERide, GNERoute, GNEStop, GNETranship, GNETransport, GNEVehicle, GNEVType, GNEVTypeDistribution, GNEWalk, GNELane, GUILane, GNEPOI, and GNEPoly.
Definition at line 180 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
inherited |
Definition at line 1493 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 129 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 461 of file GUINet.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildShowParamsPopupEntry(), GeoConvHelper::getFinal(), and MID_COPY_VIEW_GEOBOUNDARY.
|
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 352 of file MSNet.cpp.
References MSNet::myRestrictions.
Referenced by GUILane::getParameterWindow(), MSEdge::inferEdgeType(), and MSLane::initRestrictions().
|
inherited |
Definition at line 1483 of file MSNet.cpp.
References MSEdge::getAllEdges(), MSNet::getEffort(), MSNet::getTravelTime(), and MSNet::myRouterEffort.
|
inherited |
Definition at line 1465 of file MSNet.cpp.
References MSEdge::getAllEdges(), OptionsCont::getOptions(), OptionsCont::getString(), MSNet::getTravelTime(), MSNet::myRouterTT, TL, and WRITE_WARNINGF.
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 397 of file GUINet.cpp.
References DELTA_T, and myLastSimDuration.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the shapes container.
Definition at line 503 of file MSNet.h.
References MSNet::myShapeContainer.
Referenced by LIBSUMO_NAMESPACE::POI::add(), LIBSUMO_NAMESPACE::Polygon::add(), NLHandler::addDistrict(), LIBSUMO_NAMESPACE::Polygon::addDynamics(), LIBSUMO_NAMESPACE::Polygon::addHighlightPolygon(), NLBuilder::build(), MSDevice_FCD::buildShapeFilter(), LIBSUMO_NAMESPACE::Polygon::exists(), GUISUMOViewParent::getObjectIDs(), LIBSUMO_NAMESPACE::POI::getPoI(), GUIViewTraffic::getPOIParamKeys(), LIBSUMO_NAMESPACE::Polygon::getPolygon(), LIBSUMO_NAMESPACE::POI::getTree(), LIBSUMO_NAMESPACE::Polygon::getTree(), GUIApplicationWindow::onCmdOpenShapes(), LIBSUMO_NAMESPACE::POI::remove(), LIBSUMO_NAMESPACE::Polygon::remove(), LIBSUMO_NAMESPACE::POI::setPosition(), and LIBSUMO_NAMESPACE::Polygon::setShape().
int GUINet::getSimDuration | ( | ) | const |
Returns the duration of the last step's simulation part (in ms)
Definition at line 383 of file GUINet.cpp.
References myLastSimDuration.
Referenced by getParameterWindow().
|
staticinherited |
Returns the message to show if a certain state occurs.
Definition at line 924 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 1363 of file MSNet.cpp.
References MSNet::myStoppingPlaces.
Referenced by MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSRouteHandler::addTranship(), LIBSUMO_NAMESPACE::Person::appendDrivingStage(), LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), libsumo::Helper::buildStopParameters(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), LIBSUMO_NAMESPACE::Simulation::getBusStopWaiting(), LIBSUMO_NAMESPACE::Simulation::getBusStopWaitingIDList(), LIBSUMO_NAMESPACE::OverheadWire::getOverheadWire(), LIBSUMO_NAMESPACE::Simulation::getParameter(), libsumo::Helper::getStoppingPlace(), MSStop::initPars(), MSTriggeredRerouter::myStartElement(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Battery::notifyMove(), NLTriggerBuilder::parseAndBuildOverheadWireClamp(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSVehicle::rerouteParkingArea(), MSRouteHandler::retrieveStoppingPlace(), 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 1372 of file MSNet.cpp.
References MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getEndLanePosition(), 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 1386 of file MSNet.cpp.
References MSNet::myEmptyStoppingPlaceCont, and MSNet::myStoppingPlaces.
Referenced by libsumo::Helper::collectObjectsInRange(), LIBSUMO_NAMESPACE::Simulation::getBusStopIDList(), GUILane::getColorValue(), MSDevice_StationFinder::notifyMove(), and GUIViewTraffic::onGamingClick().
|
inlineinherited |
Returns the tls logics control.
Definition at line 453 of file MSNet.h.
References MSNet::myLogics.
Referenced by NLHandler::addPredecessorConstraint(), NLBuilder::build(), NLDiscreteEventBuilder::buildSaveTLSProgramCommand(), NLDiscreteEventBuilder::buildSaveTLStateCommand(), NLDiscreteEventBuilder::buildSaveTLSwitchesCommand(), NLDiscreteEventBuilder::buildSaveTLSwitchStatesCommand(), GUIJunctionWrapper::drawGL(), Command_Hotkey_TrafficLight::execute(), NLJunctionControlBuilder::getTLLogicControlToUse(), libsumo::Helper::getTLS(), initGUIStructures(), initTLMap(), MSStateHandler::myStartElement(), 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 251 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 163 of file MSNet.cpp.
References MSVehicle::getBaseInfluencer(), MSRoutingEngine::getEffortExtra(), MSNet::getInstance(), MSEdge::getMinimumTravelTime(), MSBaseVehicle::BaseInfluencer::getRoutingMode(), MSNet::getWeightsStorage(), MSBaseVehicle::getWeightsStorage(), MSEdgeWeightsStorage::retrieveExistingTravelTime(), and libsumo::ROUTING_MODE_AGGREGATED_CUSTOM.
Referenced by MSRoutingEngine::_initEdgeWeights(), MSNet::getRouterEffort(), MSNet::getRouterTT(), MSEdge::getTravelTimeStatic(), and MSRoutingEngine::initRouter().
|
inlineinherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 154 of file GUIGlObject.h.
References GUIGlObject::myGLObjectType.
Referenced by GUIPostDrawing::addElementUnderCursor(), GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEViewNet::drawDeleteContour(), GNEDemandElement::drawFlowLabel(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIContainer::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNEAdditional::drawListedAddtional(), GUIBaseVehicle::drawOnPos(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEDemandElement::drawPersonPlanPartial(), GNEViewNet::drawSelectContour(), GNEAdditional::drawSquaredAdditional(), GNEDemandElement::drawStackLabel(), GNEStop::drawStopPersonOverEdge(), GNEStop::drawStopPersonOverStoppingPlace(), GNEStop::drawVehicleStop(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GNEViewNet::getWalkingAreaAtPopupPosition(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIPostDrawing::isTopElementUnderCursor(), GNESelectorFrame::SelectionOperation::loadFromFile(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), 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 GUIVehicle, GUIMEVehicle, GUIContainer, GUIEdge, GUIPerson, and GUIBaseVehicle.
Definition at line 192 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
double GUINet::getUPS | ( | ) | const |
Returns the update per seconds rate.
Definition at line 406 of file GUINet.cpp.
References myLastSimDuration, and myLastVehicleMovementCount.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the vehicle control.
Definition at line 380 of file MSNet.h.
References MSNet::myVehicleControl.
Referenced by MSNet::adaptIntermodalRouter(), LIBSUMO_NAMESPACE::Person::add(), LIBSUMO_NAMESPACE::Vehicle::add(), MSVehicleTransfer::add(), MSRouteHandler::addFlowTransportable(), MSRouteHandler::addPersonTrip(), MSRouteHandler::addRideOrTransport(), MSRouteHandler::addTranship(), MSVehicle::boardTransportables(), NLBuilder::build(), MELoop::changeSegment(), GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::checkGamingEventsDRT(), MSVehicleTransfer::checkInsertions(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeVehicle(), MSStateHandler::closeVehicle(), MSLane::detectCollisions(), MSInsertionControl::determineCandidates(), MSDevice::equippedByDefaultAssignmentOptions(), METriggeredCalibrator::execute(), Command_RouteReplacement::execute(), MSVTypeProbe::execute(), MSCalibrator::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), MSEdgeControl::executeMovements(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), LIBSUMO_NAMESPACE::Vehicle::getFollowSpeed(), LIBSUMO_NAMESPACE::TrafficLight::getFutureTripIds(), LIBSUMO_NAMESPACE::Vehicle::getLoadedIDList(), MSLane::getMaximumBrakeDist(), LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), GUISUMOViewParent::getObjectIDs(), getParameterWindow(), MSVTKExport::getPositions(), MSCFModel_CC::getRadarMeasurements(), LIBSUMO_NAMESPACE::Simulation::getScale(), LIBSUMO_NAMESPACE::Vehicle::getSecureGap(), MSVTKExport::getSpeed(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), LIBSUMO_NAMESPACE::Polygon::getTrafficObject(), libsumo::Helper::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), MSRailSignalConstraint::getVehID(), LIBSUMO_NAMESPACE::VehicleType::getVType(), MSLane::handleCollisionBetween(), GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIApplicationWindow::handleEvent_SimulationStep(), MSLane::handleIntermodalCollisionBetween(), MSDevice_ToC::initColorScheme(), MSInsertionControl::initScale(), LIBSUMO_NAMESPACE::Vehicle::isOnInit(), MSVehicle::joinTrainPart(), MSVehicle::joinTrainPartFront(), MSStageDriving::loadState(), MEVehicle::mayProceed(), MSDevice_ToC::MSDevice_ToC(), MSPModel_Striping::MSPModel_Striping(), MSStateHandler::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSCalibrator::VehicleRemover::notifyEnter(), MSDevice_Bluelight::notifyMove(), GUIApplicationWindow::onCmdDemandScale(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdRemoveObject(), MSBaseVehicle::onDepart(), GUIViewTraffic::onGamingClick(), MSRouteHandler::openRoute(), MSRouteHandler::openVehicleTypeDistribution(), libsumo::Helper::postProcessRemoteControl(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), MESegment::receive(), METriggeredCalibrator::remainingVehicleCapacity(), MSCalibrator::remainingVehicleCapacity(), LIBSUMO_NAMESPACE::Vehicle::remove(), MSCalibrator::removePending(), MSBaseVehicle::replaceVehicleType(), MSTransportable::replaceVehicleType(), MSDevice_Bluelight::resetVehicle(), MEVehicle::resumeFromStopping(), MSVehicle::resumeFromStopping(), MSStateHandler::saveState(), MSBaseVehicle::saveState(), MSVehicleType::setActionStepLength(), MSStageTrip::setArrived(), LIBSUMO_NAMESPACE::Calibrator::setFlow(), MSDevice_ToC::setParameter(), MSCFModel_CC::setParameter(), LIBSUMO_NAMESPACE::Simulation::setScale(), setSimDuration(), LIBSUMO_NAMESPACE::Person::setType(), LIBSUMO_NAMESPACE::Vehicle::setType(), MSDevice_ToC::switchHolderType(), MELoop::teleportVehicle(), MSVehicle::updateState(), 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 |
Returns the RTree used for visualisation speed-up.
Definition at line 285 of file GUINet.h.
References myGrid.
Referenced by GUIViewTraffic::doPaintGL(), and registerRenderedObject().
|
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 1195 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 377 of file GUINet.cpp.
References myLastIdleDuration, and myLastSimDuration.
Referenced by getParameterWindow().
void GUINet::guiSimulationStep | ( | ) |
Some further steps needed for gui processing.
Definition at line 225 of file GUINet.cpp.
References GLObjectValuePassConnector< T >::updateAll().
Referenced by flushOutputsAtEnd(), and GUIRunThread::makeStep().
|
inlineinherited |
return whether the network contains bidirectional rail edges
Definition at line 798 of file MSNet.h.
References MSNet::myHasBidiEdges.
|
inlineinherited |
Returns whether containers are simulated.
Definition at line 413 of file MSNet.h.
References MSNet::myContainerControl.
Referenced by MSRouteHandler::addFlowTransportable(), MSVehicle::boardTransportables(), LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), GUIApplicationWindow::handleEvent_SimulationStep(), MEVehicle::mayProceed(), MSVehicle::processNextStop(), MEVehicle::processStop(), and MSFCDExport::write().
|
inlineinherited |
return whether the network contains elevation data
Definition at line 788 of file MSNet.h.
References MSNet::myHasElevation.
Referenced by MSLaneChanger::changeOpposite(), MSVTypeProbe::execute(), and MSVehicle::getBackPosition().
|
inherited |
return whether the given flow is known
Definition at line 388 of file MSNet.cpp.
References MSInsertionControl::hasFlow(), and MSNet::myInserter.
Referenced by MSBaseVehicle::checkRouteRemoval().
|
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::registerStateListener(), and signalHandler().
|
inlineinherited |
return whether the network contains internal links
Definition at line 778 of file MSNet.h.
References MSNet::myHasInternalLinks.
Referenced by NLNetShapeHandler::addJunction(), NLNetShapeHandler::addLane(), MSTriggeredRerouter::addParkValues(), MSNet::closeBuilding(), MSTrafficLightLogic::init(), NLNetShapeHandler::myStartElement(), MSPModel_Remote::usingInternalLanes(), MSPModel_Striping::usingInternalLanesStatic(), MSDevice_Vehroutes::writeOutput(), and MSDevice_Vehroutes::writeXMLRoute().
|
inlineinherited |
return whether the network was built with higher junction speeds
Definition at line 783 of file MSNet.h.
References MSNet::myJunctionHigherSpeeds.
Referenced by MSEdge::inferEdgeType().
|
inlineinherited |
return whether the network contains walkingareas and crossings
Definition at line 793 of file MSNet.h.
References MSNet::myHasPedestrianNetwork.
Referenced by MSPModel_Striping::usingInternalLanesStatic().
|
inlineinherited |
Returns whether the network has specific vehicle class permissions.
Definition at line 209 of file MSNet.h.
References MSNet::myHavePermissions.
Referenced by MSRoutingEngine::initRouter().
|
inlineinherited |
Returns whether persons are simulated.
Definition at line 397 of file MSNet.h.
References MSNet::myPersonControl.
Referenced by MSRouteHandler::addFlowTransportable(), MSVehicle::boardTransportables(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSLink::getLeaderInfo(), LIBSUMO_NAMESPACE::Simulation::getMinExpectedNumber(), GUIApplicationWindow::handleEvent_SimulationStep(), MSLane::hasPedestrians(), MEVehicle::mayProceed(), MSVehicle::processNextStop(), MEVehicle::processStop(), MSFCDExport::write(), and MSDevice_Vehroutes::writePendingOutput().
|
inherited |
Informs all added listeners about a transportable's state change.
[in] | transportable | The transportable which changed its state |
[in] | to | The state the transportable has changed to |
[in] | info | Information regarding the replacement |
Definition at line 1285 of file MSNet.cpp.
References MSGlobals::gNumThreads, and MSNet::myTransportableStateListeners.
Referenced by MSTransportableControl::checkWaiting(), and MSTransportableControl::erase().
|
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 1257 of file MSNet.cpp.
References MSGlobals::gNumThreads, and MSNet::myVehicleStateListeners.
Referenced by MSVehicleTransfer::add(), MSVehicleTransfer::checkInsertions(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSVehicle::executeMove(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSVehicleControl::initVehicle(), MSVehicle::processNextStop(), MSVehicleControl::removePending(), MSBaseVehicle::replaceRoute(), MSVehicle::resumeFromStopping(), and MSVehicleControl::vehicleDeparted().
void GUINet::initGUIStructures | ( | ) |
Initialises gui wrappers.
Definition at line 266 of file GUINet.cpp.
References Boundary::add(), SUMORTree::addAdditionalGLObject(), MSEdge::getAllEdges(), MSTLLogicControl::getAllLogics(), MSDetectorControl::getAvailableTypes(), GUIJunctionWrapper::getBoundary(), PositionVector::getBoxBoundary(), Boundary::getHeight(), MSCalibrator::getInstances(), GUIJunctionWrapper::getJunction(), MSEdge::getLanes(), OptionsCont::getOptions(), MSJunction::getPosition(), GUILane::getShape(), MSNet::getTLSControl(), MSDetectorControl::getTypedDetectors(), Boundary::getWidth(), MSGlobals::gHaveEmissions, Boundary::grow(), initTLMap(), LayeredRTree::Insert(), SUMORTree::Insert(), OptionsCont::isSet(), myBoundary, myCalibratorWrapper, MSNet::myDetectorControl, myDetectorWrapper, myEdgeWrapper, myGrid, myGrid2, MSNet::myJunctions, myJunctionWrapper, MSPModel::SIDEWALK_OFFSET, NamedObjectCont< T >::size(), TL, Position::x(), Boundary::xmax(), Boundary::xmin(), Position::y(), 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 191 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 147 of file GUINet.cpp.
References createTLWrapper(), MSTLLogicControl::getAllLogics(), and MSNet::getTLSControl().
Referenced by initGUIStructures().
|
inlineinherited |
Definition at line 810 of file MSNet.h.
References MSNet::myAmInterrupted.
Referenced by signalHandler().
|
inlineinherited |
get blocking status
Definition at line 164 of file GUIGlObject.h.
References GUIGlObject::myAmBlocked.
|
virtualinherited |
check if element is locked (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 200 of file GUIGlObject.cpp.
|
inlineoverridevirtual |
|
inlineinherited |
Definition at line 814 of file MSNet.h.
References MSNet::myAmInterrupted.
|
staticprivateinherited |
check if given string can be parsed to a parameter of type "key=value"
Definition at line 251 of file Parameterised.cpp.
References StringTokenizer::getVector(), and SUMOXMLDefinitions::isValidParameterKey().
Referenced by Parameterised::areAttributesValid(), and Parameterised::areParametersValid().
|
overridevirtual |
return wheter the given logic (or rather it's wrapper) is selected in the GUI
Reimplemented from MSNet.
Definition at line 759 of file GUINet.cpp.
References GLO_TLLOGIC, gSelected, GUISelectedStorage::isSelected(), and myLogics2Wrapper.
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 65 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::append(), GUIInductLoop::buildDetectorGUIRepresentation(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), createTLWrapper(), MSDevice_SSM::filterByConflictType(), NWWriter_DlrNavteq::getBrunnelType(), GNEEdgeData::getColorValue(), GNEEdgeRelData::getColorValue(), GNETAZRelData::getColorValue(), GNELane::getColorValue(), GUILane::getColorValue(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice_SSM::getMDRAC_PRT(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), LIBSUMO_NAMESPACE::Simulation::getParameter(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), SUMOVTypeParameter::initRailVisualizationParameters(), MSEdge::insertVehicle(), NIImporter_OpenStreetMap::load(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), GNEVType::overwriteVType(), NWWriter_OpenDrive::parseTrafficSign(), MSDevice_SSM::requestsTrajectories(), NBTrafficLightLogicCont::setOpenDriveSignalParameters(), MSDevice_SSM::useGeoCoords(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSDevice_SSM::writeLanesPositions(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_OpenDrive::writeRoadObjects(), and NWWriter_OpenDrive::writeSignals().
bool GUINet::loadEdgeData | ( | const std::string & | file | ) |
load edgeData from file
Definition at line 696 of file GUINet.cpp.
References GUINet::DiscoverAttributes::firstIntervalBegin, GUINet::DiscoverAttributes::getEdgeAttrs(), OptionsCont::getOptions(), GUINet::DiscoverAttributes::lastIntervalEnd, MAX2(), MSNet::myEdgeDataEndTime, myLoadedEdgeData, GUINet::DiscoverAttributes::numIntervals, XMLSubSys::runParser(), string2time(), time2string(), TL, toString(), WRITE_MESSAGE, and WRITE_WARNING.
Referenced by GUILoadThread::run().
|
inherited |
loads routes for the next few steps
Definition at line 437 of file MSNet.cpp.
References SUMORouteLoaderControl::loadNext(), MSNet::myRouteLoaders, and MSNet::myStep.
Referenced by NLBuilder::init(), GUIRunThread::init(), and MSNet::simulationStep().
|
inherited |
load state from file and return new time
Definition at line 1653 of file MSNet.cpp.
References NLBuilder::buildRouteLoaderControl(), MSNet::clearState(), MsgHandler::getErrorInstance(), OptionsCont::getOptions(), MSStateHandler::MSStateTimeHandler::getTime(), MSGlobals::gStateLoaded, MSNet::myRouteLoaders, XMLSubSys::runParser(), TLF, and MSNet::updateGUI().
Referenced by LIBSUMO_NAMESPACE::Simulation::loadState(), and GUIApplicationWindow::onCmdLoadState().
void GUINet::lock | ( | ) |
grant exclusive access to the simulation state
Definition at line 587 of file GUINet.cpp.
References myLock.
Referenced by GUIViewTraffic::doPaintGL().
|
inherited |
Returns whether duration shall be logged.
Definition at line 1166 of file MSNet.cpp.
References MSNet::myLogExecutionTime.
Referenced by getParameterWindow().
|
inherited |
Creates and returns a dynamic shapes updater.
Definition at line 1189 of file MSNet.cpp.
References MSNet::myDynamicShapeUpdater, and MSNet::myShapeContainer.
Referenced by LIBSUMO_NAMESPACE::Polygon::addDynamics().
|
virtualinherited |
mark element as front element (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 207 of file GUIGlObject.cpp.
|
protectedinherited |
check if mouse is within elements geometry (for rectangles)
Definition at line 463 of file GUIGlObject.cpp.
References PositionVector::add(), GUIPostDrawing::addElementUnderCursor(), PositionVector::around(), DEG2RAD, gPostDrawing, GUIPostDrawing::mousePos, and PositionVector::rotate2D().
|
protectedinherited |
check if mouse is within elements geometry (for circles)
Definition at line 419 of file GUIGlObject.cpp.
References GUIPostDrawing::addElementUnderCursor(), Position::distanceSquaredTo2D(), gPostDrawing, and GUIPostDrawing::mousePos.
Referenced by GNELane::checkMouseOverLane(), GNECalibrator::drawCalibratorSymbol(), GNEJunction::drawDottedContoursBubble(), GNEJunction::drawDottedContoursShape(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEWalkingArea::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNERoute::drawPartialGL(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverEdge(), GNEStop::drawVehicleStop(), and GNEEdge::setGeometryPointColor().
|
protectedinherited |
check if mouse is within elements geometry (for filled shapes)
Definition at line 430 of file GUIGlObject.cpp.
References GUIPostDrawing::addElementUnderCursor(), PositionVector::around(), gPostDrawing, and GUIPostDrawing::mousePos.
|
protectedinherited |
check if mouse is within elements geometry (for shapes)
Definition at line 441 of file GUIGlObject.cpp.
References GUIPostDrawing::addElementUnderCursor(), PositionVector::distance2D(), gPostDrawing, and GUIPostDrawing::mousePos.
|
protectedinherited |
check if mouse is within elements geometry (for edges)
Definition at line 452 of file GUIGlObject.cpp.
References GUIPostDrawing::addElementUnderCursor(), PositionVector::distance2D(), gPostDrawing, and GUIPostDrawing::mousePos.
|
inlinevirtualinherited |
notify object about left click
Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.
Definition at line 216 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::onLeftBtnPress().
|
protectedinherited |
Performs the parts of the simulation step which happen after the move.
Definition at line 844 of file MSNet.cpp.
References DELTA_T, MSEdgeControl::detectCollisions(), MSGlobals::gCheck4Accidents, SysUtils::getCurrentMillis(), MSTransportableControl::getRunningNumber(), MSVehicleControl::getRunningVehicleNo(), MSGlobals::gUseMesoSim, MSNet::myEdges, MSNet::myLogExecutionTime, MSNet::myPersonControl, MSNet::myPersonsMoved, MSNet::mySimStepDuration, MSNet::myStep, MSNet::myTraCIMillis, MSNet::myTraCIStepDuration, MSNet::myVehicleControl, MSNet::myVehiclesMoved, libsumo::Helper::postProcessRemoteControl(), MSNet::removeOutdatedCollisions(), MSNet::STAGE_REMOTECONTROL, and MSNet::writeOutput().
Referenced by MSNet::simulationStep().
|
inherited |
Prints the statistics of the step at its end.
Called on the end of a simulation step
Definition at line 1210 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 1204 of file MSNet.cpp.
References MSNet::myStep, and time2string().
Referenced by MSNet::simulate().
|
inherited |
reset state to the beginning without reloading the network
Definition at line 1632 of file MSNet.cpp.
References NLBuilder::buildRouteLoaderControl(), MSNet::clearState(), OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), NLBuilder::initRandomness(), MSNet::myRouteLoaders, PROGRESS_BEGIN_TIME_MESSAGE, PROGRESS_TIME_MESSAGE, XMLSubSys::runParser(), string2time(), TLF, and MSNet::updateGUI().
Referenced by MSNet::clearState(), and GUIApplicationWindow::onCmdQuickReload().
|
inherited |
register collision and return whether it was the first one involving these vehicles
Definition at line 1296 of file MSNet.cpp.
References MSNet::Collision::colliderSpeed, MSNet::Collision::colliderType, MSVehicleType::getID(), Named::getID(), SUMOTrafficObject::getSpeed(), SUMOTrafficObject::getVehicleType(), MSNet::Collision::lane, MSNet::myCollisions, MSNet::myStep, MSNet::Collision::pos, MSNet::Collision::time, MSNet::Collision::type, MSNet::Collision::victim, MSNet::Collision::victimSpeed, and MSNet::Collision::victimType.
Referenced by MSLane::handleCollisionBetween(), and MSLane::handleIntermodalCollisionBetween().
void GUINet::registerRenderedObject | ( | GUIGlObject * | o | ) |
add object into rtree
Definition at line 366 of file GUINet.cpp.
References SUMORTree::addAdditionalGLObject(), OptionsCont::getOptions(), getVisualisationSpeedUp(), GUIGlobals::gSecondaryShape, and myGrid2.
|
inlinevirtualinherited |
remove additional user-griggered visualisations
Reimplemented in GUIBaseVehicle, and GUIPerson.
Definition at line 213 of file GUIGlObject.h.
|
inlinevirtualinherited |
notify object about popup menu removal
Reimplemented in GUIBaseVehicle.
Definition at line 122 of file GUIGlObject.h.
Referenced by GUIGLObjectPopupMenu::removePopupFromObject().
|
protectedinherited |
remove collisions from the previous simulation step
Definition at line 1328 of file MSNet.cpp.
References MSNet::myCollisions, and MSNet::myStep.
Referenced by MSNet::postMoveStep().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 364 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
inherited |
Removes a transportable states listener.
[in] | listener | The listener to remove |
Definition at line 1276 of file MSNet.cpp.
References MSNet::myTransportableStateListeners.
|
inherited |
Removes a vehicle states listener.
[in] | listener | The listener to remove |
Definition at line 1248 of file MSNet.cpp.
References MSNet::myVehicleStateListeners.
Referenced by MSVehicle::Influencer::GapControlState::cleanup().
|
virtualinherited |
select GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, and GNENetworkElement.
Definition at line 219 of file GUIGlObject.cpp.
|
inlineinherited |
set blocking status
Definition at line 169 of file GUIGlObject.h.
References GUIGlObject::myAmBlocked.
Referenced by GUIGlObjectStorage::getObjectBlocking(), and GUIGlObjectStorage::getObjectBlocking().
|
inlineinherited |
Sets the current simulation step (used by state loading)
step | the current simulation step |
Definition at line 330 of file MSNet.h.
References MSNet::myStep.
Referenced by NLBuilder::build(), 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 455 of file GUINet.cpp.
References myLastIdleDuration.
Referenced by GUIRunThread::tryStep().
|
virtualinherited |
Changes the microsimID of the object.
Reimplemented in GNEEdge.
Definition at line 237 of file GUIGlObject.cpp.
References GUIGlObjectStorage::changeName(), GUIGlObject::createFullName(), GUIGlObjectStorage::gIDStorage, GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNENetHelper::AttributeCarriers::addPrefixToJunctions(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEInductionLoopDetector::setAttribute(), GNEInstantInductionLoopDetector::setAttribute(), GNELaneAreaDetector::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNEOverheadWire::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNETractionSubstation::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEVTypeDistribution::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNELane::setIndex(), GNEEdge::setMicrosimID(), GNENetHelper::AttributeCarriers::updateEdgeTypeID(), GNEConnection::updateID(), and GNENetHelper::AttributeCarriers::updateJunctionID().
|
virtualinherited |
Sets a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Reimplemented in MSRailCrossing, MSActuatedTrafficLightLogic, MSRailSignal, MSSimpleTrafficLightLogic, and NEMALogic.
Definition at line 45 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::addDistrict(), RONetHandler::addParam(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NBEdge::append(), NBOwnTLDef::buildNemaPhases(), MSParkingArea::enter(), NIImporter_MATSim::EdgesHandler::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), MSLane::isInsertionSuccess(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSStateHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIXMLTrafficLightsHandler::myStartElement(), ShapeHandler::myStartElement(), MSDevice_Bluelight::notifyMove(), GNEVType::setAttribute(), NBEdge::setJunctionPriority(), NIImporter_OpenDrive::setLaneAttributes(), MSRailCrossing::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSRailSignal::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), LIBSUMO_NAMESPACE::Simulation::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), LIBSUMO_NAMESPACE::TrafficLight::swapParameters(), Parameterised::updateParameters(), NWWriter_OpenDrive::writeNetwork(), and NIImporter_OpenDrive::writeRoadObjects().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 148 of file Parameterised.cpp.
References Parameterised::getParametersMap(), Parameterised::myMap, and Parameterised::setParameter().
|
inherited |
set the inner key/value map in map<string, string> format
Definition at line 159 of file Parameterised.cpp.
References Parameterised::myMap, and Parameterised::setParameter().
Referenced by GNESingleParametersDialog::onCmdAccept().
|
inherited |
set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN"
[in] | paramsString | A serialized key-value map |
[in] | kvsep | The separater between key and value |
[in] | sep | The separater between map entries |
Definition at line 170 of file Parameterised.cpp.
References StringTokenizer::getVector(), Parameterised::myMap, and Parameterised::setParameter().
Referenced by MSDevice_Taxi::initDispatch(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEEntryExitDetector::setAttribute(), GNEInductionLoopDetector::setAttribute(), GNEInstantInductionLoopDetector::setAttribute(), GNELaneAreaDetector::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNEOverheadWire::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingSpace::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNETractionSubstation::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEPOI::setAttribute(), and GNEPoly::setAttribute().
|
inlineinherited |
Labels the network to contain vehicle class permissions.
Definition at line 215 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 439 of file GUINet.cpp.
References MSVehicleControl::getRunningVehicleNo(), MSNet::getVehicleControl(), myLastSimDuration, myLastVehicleMovementCount, myOverallSimDuration, and myOverallVehicleCount.
Referenced by GUIRunThread::tryStep().
|
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 395 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(), TL, and WRITE_MESSAGEF.
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 873 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 232 of file GUINet.cpp.
References myLock, and MSNet::simulationStep().
Referenced by GUIRunThread::makeStep().
|
inherited |
Performs a single simulation step.
Definition at line 710 of file MSNet.cpp.
References MSEdgeControl::changeLanes(), MSTLLogicControl::check2Switch(), MSVehicleTransfer::checkInsertions(), MSTransportableControl::checkWaiting(), libsumo::CMD_EXECUTEMOVE, MSEdgeControl::detectCollisions(), MSInsertionControl::determineCandidates(), MSInsertionControl::emitVehicles(), MSEventControl::execute(), MSEdgeControl::executeMovements(), MSGlobals::gCheck4Accidents, SysUtils::getCurrentMillis(), MSVehicleTransfer::getInstance(), TraCIServer::getInstance(), OptionsCont::getInt(), TraCIServer::getLoadArgs(), OptionsCont::getOptions(), TraCIServer::getTargetTime(), MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSTransportableControl::hasTransportables(), MSNet::loadRoutes(), MSNet::myBeginOfTimestepEvents, MSNet::myContainerControl, MSNet::myEdges, MSNet::myEndOfTimestepEvents, MSNet::myInserter, MSNet::myInsertionEvents, MSNet::myLogExecutionTime, MSNet::myLogics, MSNet::myPeriodicStateFiles, MSNet::myPersonControl, MSNet::mySimStepDuration, MSNet::myStateDumpFiles, MSNet::myStateDumpPeriod, MSNet::myStateDumpPrefix, MSNet::myStateDumpSuffix, MSNet::myStateDumpTimes, MSNet::myStep, MSNet::myStepCompletionMissing, MSNet::myTraCIStepDuration, MSNet::myVehicleControl, MSEdgeControl::patchActiveLanes(), MSEdgeControl::planMovements(), MSNet::postMoveStep(), TraCIServer::processCommands(), MSRailSignal::recheckGreen(), MSVehicleControl::removePending(), MSStateHandler::saveState(), MSEdgeControl::setJunctionApproaches(), SIMTIME, MELoop::simulate(), MSNet::STAGE_EVENTS, MSNet::STAGE_INSERTIONS, MSNet::STAGE_LANECHANGE, MSNet::STAGE_MOVEMENTS, time2string(), and TraCIServer::wasClosed().
Referenced by LIBSUMO_NAMESPACE::Simulation::executeMove(), MSNet::simulate(), simulationStep(), and LIBSUMO_NAMESPACE::Simulation::step().
|
inlineoverridevirtual |
gui may prevent final meanData reset to keep live data visible
Reimplemented from MSNet.
Definition at line 363 of file GUINet.h.
References mySkipFinalReset.
void GUINet::unlock | ( | ) |
release exclusive access to the simulation state
Definition at line 593 of file GUINet.cpp.
References myLock.
Referenced by GUIViewTraffic::doPaintGL().
|
inherited |
Removes a parameter.
[in] | key | The parameter's name |
Definition at line 51 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_OpenStreetMap::insertEdge(), MSLane::isInsertionSuccess(), NIImporter_OpenStreetMap::load(), GNEVType::setAttribute(), and LIBSUMO_NAMESPACE::TrafficLight::swapParameters().
|
virtualinherited |
update GLObject (geometry, ID, etc.) (optional)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, and GNEWalkingArea.
Definition at line 225 of file GUIGlObject.cpp.
|
overridevirtual |
update view after simulation.loadState
Reimplemented from MSNet.
Definition at line 765 of file GUINet.cpp.
References GUIMainWindow::getInstance(), and GUIApplicationWindow::handleEvent_SimulationStep().
|
inherited |
Adds or updates all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 57 of file Parameterised.cpp.
References Parameterised::setParameter().
Referenced by NIImporter_SUMO::_loadNetwork(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NLJunctionControlBuilder::closeTrafficLightLogic(), NBTrafficLightDefinition::compute(), NLDetectorBuilder::endE3Detector(), NIImporter_OpenStreetMap::insertEdge(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::NBEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), and LIBSUMO_NAMESPACE::TrafficLight::swapConstraints().
bool GUINet::vehicleExists | ( | const std::string & | name | ) | const |
returns the information whether the vehicle still exists
Definition at line 191 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 1623 of file MSNet.cpp.
References MSNet::myWarnedOnce.
Referenced by MSBaseVehicle::addStop().
|
inherited |
write charging station output
Definition at line 1397 of file MSNet.cpp.
References OutputDevice::getDeviceByOption(), MSNet::myStoppingPlaces, SUMO_TAG_CHARGING_STATION, and MSNet::writeChargingStationOutput().
Referenced by MSNet::closeSimulation(), and MSNet::writeChargingStationOutput().
|
inherited |
write collision output to (xml) file
Definition at line 537 of file MSNet.cpp.
References OutputDevice::closeTag(), MSNet::getCurrentTimeStep(), OutputDevice::getDeviceByOption(), MSNet::myCollisions, OutputDevice::openTag(), time2string(), and OutputDevice::writeAttr().
Referenced by MSNet::writeOutput().
|
inherited |
Write netstate, summary and detector output.
Definition at line 1032 of file MSNet.cpp.
References OutputDevice::closeTag(), DELTA_T, OptionsCont::getBool(), OutputDevice::getDevice(), SUMOVehicle::getDevice(), OutputDevice::getDeviceByOption(), MSEdgeControl::getEdges(), Named::getID(), MSNet::getInstance(), MSDevice_SSM::getInstances(), MSDevice_ToC::getInstances(), OptionsCont::getInt(), MSDevice_ElecHybrid::getMaximumBatteryCapacity(), OptionsCont::getOptions(), OptionsCont::getString(), MSNet::getVehicleControl(), MSGlobals::gHaveEmissions, MSGlobals::gOverheadWireRecuperation, SUMOVehicle::isOnRoad(), OptionsCont::isSet(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), MSNet::myDetectorControl, MSNet::myEdges, MSNet::myHasElevation, MSNet::myStep, OutputDevice::openTag(), STEPS2TIME, SUMO_ATTR_ID, SUMO_ATTR_MAXIMUMBATTERYCAPACITY, SUMO_ATTR_RECUPERATIONENABLE, 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(), MSNet::writeCollisions(), MSDetectorControl::writeOutput(), MSNet::writeSummaryOutput(), and OutputDevice::writeXMLHeader().
Referenced by MSNet::postMoveStep().
|
inherited |
write the output generated by an overhead wire segment
Definition at line 1420 of file MSNet.cpp.
References OutputDevice::getDeviceByOption(), MSNet::myStoppingPlaces, SUMO_TAG_OVERHEAD_WIRE_SEGMENT, and MSNet::writeOverheadWireSegmentOutput().
Referenced by MSNet::closeSimulation(), and MSNet::writeOverheadWireSegmentOutput().
|
inherited |
write Params in the given outputdevice
Definition at line 185 of file Parameterised.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), Parameterised::myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().
Referenced by MSStageWaiting::routeOutput(), MSTransportable::routeOutput(), ROPerson::saveAsXML(), ROVehicle::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), MSStop::write(), SUMOVTypeParameter::write(), SUMOVehicleParameter::Stop::write(), NBPTStop::write(), MSRailSignalConstraint_Predecessor::write(), GNEBusStop::writeAdditional(), GNECalibrator::writeAdditional(), GNECalibratorFlow::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEInductionLoopDetector::writeAdditional(), GNEInstantInductionLoopDetector::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNEOverheadWire::writeAdditional(), GNEParkingArea::writeAdditional(), GNEParkingSpace::writeAdditional(), GNERerouter::writeAdditional(), GNERouteProbe::writeAdditional(), GNETAZ::writeAdditional(), GNETractionSubstation::writeAdditional(), GNEVaporizer::writeAdditional(), GNEVariableSpeedSign::writeAdditional(), NWWriter_SUMO::writeConnection(), GNEContainer::writeDemandElement(), GNEPerson::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), NWWriter_SUMO::writeTrafficLight(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().
|
inherited |
write rail signal block output
Definition at line 1408 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 559 of file MSNet.cpp.
References OutputDevice::closeTag(), OptionsCont::getBool(), MSVehicleControl::getCollisionCount(), MSVehicleControl::getDepartedVehicleNo(), OutputDevice::getDeviceByOption(), MSVehicleControl::getEmergencyBrakingCount(), MSVehicleControl::getEmergencyStops(), MSTransportableControl::getJammedNumber(), MSTransportableControl::getLoadedNumber(), MSVehicleControl::getLoadedVehicleNo(), OptionsCont::getOptions(), MSTransportableControl::getRunningNumber(), MSVehicleControl::getRunningVehicleNo(), MSVehicleControl::getTeleportCount(), MSTransportableControl::getTeleportCount(), MSTransportableControl::getTeleportsAbortWait(), MSVehicleControl::getTeleportsJam(), MSTransportableControl::getTeleportsWrongDest(), MSVehicleControl::getTeleportsWrongLane(), MSVehicleControl::getTeleportsYield(), MSInsertionControl::getWaitingVehicleNo(), OptionsCont::isSet(), MSNet::myInserter, MSNet::myPersonControl, MSNet::myPersonsMoved, MSNet::mySimBeginMillis, MSNet::myStep, MSNet::myTraCIMillis, MSNet::myVehicleControl, MSNet::myVehiclesMoved, OutputDevice::openTag(), time2string(), OutputDevice::writeAttr(), and MSDevice_Tripinfo::writeStatistics().
Referenced by MSNet::closeSimulation().
|
inherited |
write electrical substation output
Definition at line 1431 of file MSNet.cpp.
References OutputDevice::getDeviceByOption(), OptionsCont::getOptions(), MSNet::myTractionSubstations, and OutputDevice::setPrecision().
Referenced by MSNet::closeSimulation().
|
inherited |
write summary-output to (xml) file
Definition at line 609 of file MSNet.cpp.
References OutputDevice::closeTag(), MSTransportableControl::getArrivedNumber(), MSVehicleControl::getArrivedVehicleNo(), MSVehicleControl::getCollisionCount(), MSTransportableControl::getDepartedNumber(), MSVehicleControl::getDepartedVehicleNo(), OutputDevice::getDeviceByOption(), MSTransportableControl::getEndedNumber(), MSVehicleControl::getEndedVehicleNo(), MSVehicleControl::getHaltingVehicleNo(), MSTransportableControl::getJammedNumber(), MSTransportableControl::getLoadedNumber(), MSVehicleControl::getLoadedVehicleNo(), MSTransportableControl::getMovingNumber(), OptionsCont::getOptions(), MSNet::getPersonControl(), MSTransportableControl::getRidingNumber(), MSVehicleControl::getRunningVehicleNo(), MSVehicleControl::getStoppedVehiclesCount(), OptionsCont::getString(), MSVehicleControl::getTeleportCount(), MSTransportableControl::getTeleportCount(), MSVehicleControl::getTotalDepartureDelay(), MSVehicleControl::getTotalTravelTime(), MSVehicleControl::getVehicleMeanSpeeds(), MSTransportableControl::getWaitingForVehicleNumber(), MSTransportableControl::getWaitingUntilNumber(), MSInsertionControl::getWaitingVehicleNo(), OptionsCont::isSet(), MSNet::myInserter, MSNet::myLogExecutionTime, MSNet::mySimStepDuration, MSNet::myStep, MSNet::myVehicleControl, OutputDevice::openTag(), string2time(), time2string(), and OutputDevice::writeAttr().
Referenced by MSNet::writeOutput().
|
friend |
Definition at line 84 of file GUINet.h.
Referenced by createTLWrapper().
|
staticprivateinherited |
vector for TypeNames Initializer
Definition at line 51 of file GUIGlObject.h.
|
staticinherited |
Definition at line 71 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTipFor(), and GUIViewTraffic::stopTrack().
|
privateinherited |
whether the object can be deleted
Definition at line 332 of file GUIGlObject.h.
Referenced by GUIGlObject::isBlocked(), and GUIGlObject::setBlocked().
|
protectedinherited |
whether an interrupt occured
Definition at line 870 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 894 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::getBeginOfTimestepEvents(), MSNet::MSNet(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protected |
The networks boundary.
Definition at line 381 of file GUINet.h.
Referenced by getBoundary(), and initGUIStructures().
|
protected |
A calibrator dictionary.
Definition at line 393 of file GUINet.h.
Referenced by initGUIStructures(), and ~GUINet().
|
protectedinherited |
collisions in the current time step
Definition at line 998 of file MSNet.h.
Referenced by MSNet::getCollisions(), MSNet::registerCollision(), MSNet::removeOutdatedCollisions(), and MSNet::writeCollisions().
|
protectedinherited |
Controls container building and deletion;.
Definition at line 882 of file MSNet.h.
Referenced by MSNet::adaptToState(), MSNet::clearState(), MSNet::generateStatistics(), MSNet::getContainerControl(), getContainerControl(), MSNet::hasContainers(), MSNet::MSNet(), MSNet::simulationState(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protectedinherited |
Controls detectors;.
Definition at line 892 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::closeSimulation(), flushOutputsAtEnd(), MSNet::getDetectorControl(), getMeanData(), getMeanDataAttrs(), getMeanDataIDs(), initGUIStructures(), MSNet::MSNet(), MSNet::writeOutput(), and MSNet::~MSNet().
|
protected |
A detector dictionary.
Definition at line 390 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 1028 of file MSNet.h.
Referenced by MSNet::getDynamicShapeUpdater(), and MSNet::makeDynamicShapeUpdater().
|
protectedinherited |
end of loaded edgeData
Definition at line 983 of file MSNet.h.
Referenced by loadEdgeData(), and MSNet::simulationState().
|
protectedinherited |
Controls edges, performs vehicle movement;.
Definition at line 884 of file MSNet.h.
Referenced by MSNet::checkBidiEdges(), MSNet::checkElevation(), MSNet::checkWalkingarea(), MSNet::closeBuilding(), MSNet::getEdgeControl(), MSNet::MSNet(), MSNet::postMoveStep(), MSNet::simulationStep(), MSNet::writeOutput(), and MSNet::~MSNet().
|
protectedinherited |
The net's knowledge about edge efforts/travel times;.
Definition at line 902 of file MSNet.h.
Referenced by MSNet::getWeightsStorage(), MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
|
staticprotectedinherited |
Definition at line 1007 of file MSNet.h.
Referenced by MSNet::getStoppingPlaces().
|
protectedinherited |
Controls events executed at the end of a time step;.
Definition at line 896 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 326 of file GUIGlObject.h.
Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
privateinherited |
The numerical id of the object.
Definition at line 317 of file GUIGlObject.h.
Referenced by GUIGlObject::getGlID().
|
privateinherited |
The type of the object.
Definition at line 320 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GUIGlObject::getClickPriority(), GUIGlObject::getType(), and GUIGlObject::GUIGlObject().
|
protected |
The visualization speed-up.
Definition at line 375 of file GUINet.h.
Referenced by createTLWrapper(), getVisualisationSpeedUp(), getVisualisationSpeedUp(), and initGUIStructures().
|
protected |
The visualization speed-up for secondary shapes.
Definition at line 378 of file GUINet.h.
Referenced by getVisualisationSpeedUp(), initGUIStructures(), and registerRenderedObject().
|
protectedinherited |
Whether the network contains bidirectional rail edges.
Definition at line 974 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::hasBidiEdges().
|
protectedinherited |
Whether the network contains elevation data.
Definition at line 968 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 962 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::hasInternalLinks().
|
protectedinherited |
Whether the network contains pedestrian network elements.
Definition at line 971 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 953 of file MSNet.h.
Referenced by MSNet::hasPermissions(), and MSNet::setPermissionsFound().
|
privateinherited |
icon associatd with this GL Object
Definition at line 329 of file GUIGlObject.h.
Referenced by GUIGlObject::buildPopupHeader(), and GUIGlObject::getGLIcon().
|
protectedinherited |
Controls vehicle insertion;.
Definition at line 890 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::generateStatistics(), MSNet::getInsertionControl(), MSNet::hasFlow(), MSNet::MSNet(), MSNet::postSimStepOutput(), MSNet::simulationState(), MSNet::simulationStep(), MSNet::writeStatistics(), MSNet::writeSummaryOutput(), and MSNet::~MSNet().
|
protectedinherited |
Controls insertion events;.
Definition at line 898 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 855 of file MSNet.h.
Referenced by MSNet::adaptIntermodalRouter(), MSNet::getInstance(), MSNet::hasInstance(), MSNet::MSNet(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 1020 of file MSNet.h.
Referenced by MSNet::getIntermodalRouter(), and MSNet::~MSNet().
|
protectedinherited |
Whether the network was built with higher speed on junctions.
Definition at line 965 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::hasJunctionHigherSpeeds().
|
protectedinherited |
Controls junctions, realizes right-of-way rules;.
Definition at line 886 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::getJunctionControl(), getJunctionPosition(), initGUIStructures(), MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
Wrapped MS-junctions.
Definition at line 387 of file GUINet.h.
Referenced by getJunctionIDs(), initGUIStructures(), and ~GUINet().
|
mutableprotectedinherited |
An RTree structure holding lane IDs.
Definition at line 1023 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
Definition at line 408 of file GUINet.h.
Referenced by getIdleDuration(), getWholeDuration(), and setIdleDuration().
|
protected |
The step durations (simulation, /*visualisation, */idle)
Definition at line 408 of file GUINet.h.
Referenced by getRTFactor(), getSimDuration(), getUPS(), getWholeDuration(), and setSimDuration().
|
protected |
Definition at line 410 of file GUINet.h.
Referenced by getUPS(), and setSimDuration().
|
protectedinherited |
|
protected |
The link-to-logic-id map.
Definition at line 398 of file GUINet.h.
Referenced by createTLWrapper(), getLinkTLID(), and getLinkTLIndex().
|
protected |
loaded edge data for visualization
Definition at line 414 of file GUINet.h.
Referenced by getEdgeData(), getEdgeDataAttrs(), loadEdgeData(), and ~GUINet().
|
mutableprivate |
|
protectedinherited |
Information whether the simulation duration shall be logged.
Definition at line 911 of file MSNet.h.
Referenced by MSNet::closeSimulation(), MSNet::generateStatistics(), MSNet::logSimulationDuration(), MSNet::MSNet(), MSNet::postMoveStep(), MSNet::postSimStepOutput(), MSNet::simulationStep(), and MSNet::writeSummaryOutput().
|
protectedinherited |
Controls tls logics, realizes waiting on tls rules;.
Definition at line 888 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 404 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 914 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::simulate().
|
protectedinherited |
Period between successive step-log outputs.
Definition at line 916 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::simulate().
|
privateinherited |
The key->value map.
Definition at line 137 of file Parameterised.h.
Referenced by Parameterised::clearParameter(), Parameterised::getDouble(), Parameterised::getDoubles(), Parameterised::getParameter(), Parameterised::getParametersMap(), Parameterised::getParametersStr(), Parameterised::knowsParameter(), Parameterised::setParameter(), Parameterised::setParameters(), Parameterised::setParametersMap(), Parameterised::setParametersStr(), Parameterised::unsetParameter(), and Parameterised::writeParams().
|
protectedinherited |
Maximum number of teleports.
Definition at line 867 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::simulationState().
|
protectedinherited |
The edge type specific meso parameters.
Definition at line 959 of file MSNet.h.
Referenced by MSNet::addMesoType(), and MSNet::getMesoType().
|
privateinherited |
ID of GL object.
Definition at line 323 of file GUIGlObject.h.
Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().
|
protected |
Definition at line 411 of file GUINet.h.
Referenced by getMeanRTFactor(), getMeanUPS(), and setSimDuration().
|
protected |
Definition at line 410 of file GUINet.h.
Referenced by setSimDuration().
|
privateinherited |
Parameter table windows which refer to this object.
Definition at line 335 of file GUIGlObject.h.
Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().
|
mutableprotectedinherited |
Definition at line 1019 of file MSNet.h.
Referenced by MSNet::getPedestrianRouter(), and MSNet::~MSNet().
|
protectedinherited |
The names of the last K periodic state files (only only K shall be kept)
Definition at line 942 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
protectedinherited |
Controls person building and deletion;.
Definition at line 880 of file MSNet.h.
Referenced by MSNet::adaptToState(), MSNet::clearState(), MSNet::generateStatistics(), getParameterWindow(), MSNet::getPersonControl(), getPersonControl(), MSNet::hasPersons(), MSNet::MSNet(), MSNet::postMoveStep(), MSNet::simulationState(), MSNet::simulationStep(), MSNet::writeStatistics(), and MSNet::~MSNet().
|
protectedinherited |
Definition at line 929 of file MSNet.h.
Referenced by MSNet::generateStatistics(), MSNet::postMoveStep(), and MSNet::writeStatistics().
|
protectedinherited |
The vehicle class specific speed restrictions.
Definition at line 956 of file MSNet.h.
Referenced by MSNet::addRestriction(), and MSNet::getRestrictions().
|
protectedinherited |
Route loader for dynamic loading of routes.
Definition at line 858 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::loadRoutes(), MSNet::loadState(), MSNet::MSNet(), MSNet::quickReload(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 1018 of file MSNet.h.
Referenced by MSNet::getRouterEffort(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 1017 of file MSNet.h.
Referenced by MSNet::getRouterTT(), and MSNet::~MSNet().
|
protectedinherited |
A container for geometrical shapes;.
Definition at line 900 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::getShapeContainer(), MSNet::makeDynamicShapeUpdater(), MSNet::MSNet(), and MSNet::~MSNet().
|
protectedinherited |
The overall simulation duration.
Definition at line 922 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::generateStatistics(), and MSNet::writeStatistics().
|
protectedinherited |
Definition at line 919 of file MSNet.h.
Referenced by MSNet::postMoveStep(), MSNet::postSimStepOutput(), MSNet::simulationStep(), and MSNet::writeSummaryOutput().
|
protected |
Definition at line 416 of file GUINet.h.
Referenced by flushOutputsAtEnd(), and skipFinalReset().
|
protectedinherited |
The names for the state files.
Definition at line 940 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
The period for writing state.
Definition at line 944 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
name components for periodic state
Definition at line 946 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Definition at line 947 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Times at which a state shall be written.
Definition at line 938 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Current time step.
Definition at line 861 of file MSNet.h.
Referenced by MSNet::clearState(), MSNet::closeSimulation(), MSNet::generateStatistics(), MSNet::getCurrentTimeStep(), MSNet::loadRoutes(), MSNet::MSNet(), MSNet::postMoveStep(), MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), MSNet::registerCollision(), MSNet::removeOutdatedCollisions(), MSNet::setCurrentTimeStep(), MSNet::simulate(), MSNet::simulationState(), MSNet::simulationStep(), MSNet::writeOutput(), MSNet::writeStatistics(), and MSNet::writeSummaryOutput().
|
protectedinherited |
whether libsumo triggered a partial step (executeMove)
Definition at line 864 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
protectedinherited |
Dictionary of bus / container stops.
Definition at line 986 of file MSNet.h.
Referenced by MSNet::adaptIntermodalRouter(), MSNet::addStoppingPlace(), MSNet::clearState(), MSNet::getStoppingPlace(), MSNet::getStoppingPlaceID(), MSNet::getStoppingPlaces(), MSNet::writeChargingStationOutput(), and MSNet::writeOverheadWireSegmentOutput().
|
protectedinherited |
The overall time spent waiting for traci operations including.
Definition at line 925 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::generateStatistics(), MSNet::postMoveStep(), and MSNet::writeStatistics().
|
protectedinherited |
The last simulation step duration.
Definition at line 919 of file MSNet.h.
Referenced by MSNet::postMoveStep(), MSNet::postSimStepOutput(), and MSNet::simulationStep().
|
protectedinherited |
Dictionary of traction substations.
Definition at line 989 of file MSNet.h.
Referenced by MSNet::addTractionSubstation(), MSNet::existTractionSubstation(), MSNet::findTractionSubstation(), and MSNet::writeSubstationOutput().
|
protectedinherited |
Container for transportable state listener.
Definition at line 995 of file MSNet.h.
Referenced by MSNet::addTransportableStateListener(), MSNet::informTransportableStateListener(), and MSNet::removeTransportableStateListener().
|
protectedinherited |
Controls vehicle building and deletion;.
Definition at line 878 of file MSNet.h.
Referenced by MSNet::adaptToState(), MSNet::clearState(), MSNet::generateStatistics(), getGUIMEVehicleControl(), getGUIVehicleControl(), MSNet::getVehicleControl(), MSNet::MSNet(), MSNet::postMoveStep(), MSNet::postSimStepOutput(), MSNet::simulationState(), MSNet::simulationStep(), vehicleExists(), MSNet::writeStatistics(), MSNet::writeSummaryOutput(), and MSNet::~MSNet().
|
protectedinherited |
The overall number of vehicle movements.
Definition at line 928 of file MSNet.h.
Referenced by MSNet::generateStatistics(), getMeanUPS(), MSNet::postMoveStep(), and MSNet::writeStatistics().
|
protectedinherited |
Container for vehicle state listener.
Definition at line 992 of file MSNet.h.
Referenced by MSNet::addVehicleStateListener(), MSNet::informVehicleStateListener(), and MSNet::removeVehicleStateListener().
|
protectedinherited |
the network version
Definition at line 980 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 1010 of file MSNet.h.
Referenced by MSNet::warnOnce().
|
staticinherited |
string constants for simstep stages
Definition at line 830 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticinherited |
Definition at line 833 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticinherited |
Definition at line 832 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticinherited |
Definition at line 831 of file MSNet.h.
Referenced by MSLane::detectCollisions(), and MSNet::simulationStep().
|
staticinherited |
Definition at line 834 of file MSNet.h.
Referenced by MSNet::postMoveStep().
|
staticinherited |
associates object types with strings
Definition at line 70 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GNESelectorFrame::SelectionOperation::loadFromFile(), and GNESelectorFrame::SelectionOperation::onCmdSave().