![]() |
SUMO - Simulation of Urban MObility
|
A MSNet extended by some values for usage within the gui. More...
#include <GUINet.h>
Public Types | |
typedef IntermodalRouter< MSEdge, MSLane, MSJunction, SUMOVehicle > | MSIntermodalRouter |
typedef PedestrianRouter< MSEdge, MSLane, MSJunction, MSVehicle > | MSPedestrianRouter |
enum | SimulationState { SIMSTATE_LOADING, SIMSTATE_RUNNING, SIMSTATE_END_STEP_REACHED, SIMSTATE_NO_FURTHER_VEHICLES, SIMSTATE_CONNECTION_CLOSED, SIMSTATE_ERROR_IN_SIM, SIMSTATE_INTERRUPTED, SIMSTATE_TOO_MANY_TELEPORTS } |
Possible states of a simulation - running or stopped with different reasons. More... | |
Public Member Functions | ||||
void | addRestriction (const std::string &id, const SUMOVehicleClass svc, const double speed) | |||
Adds a restriction for an edge type. More... | ||||
void | closeBuilding (const OptionsCont &oc, MSEdgeControl *edges, MSJunctionControl *junctions, SUMORouteLoaderControl *routeLoaders, MSTLLogicControl *tlc, std::vector< SUMOTime > stateDumpTimes, std::vector< std::string > stateDumpFiles, bool hasInternalLinks, bool hasNeighs, bool lefthand, double version) | |||
Closes the network's building process. More... | ||||
void | closeSimulation (SUMOTime start) | |||
Closes the simulation (all files, connections, etc.) More... | ||||
void | createTLWrapper (MSTrafficLightLogic *tll) | |||
creates a wrapper for the given logic More... | ||||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const | |||
Draws additional, user-triggered visualisations. More... | ||||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const | |||
draw name of item More... | ||||
const std::string | generateStatistics (SUMOTime start) | |||
Writes performance output and running vehicle stats. More... | ||||
const Boundary & | getBoundary () const | |||
returns the bounder of the network More... | ||||
SUMOTime | getCurrentTimeStep () const | |||
Returns the current simulation step. More... | ||||
GUIMEVehicleControl * | getGUIMEVehicleControl () | |||
Returns the vehicle control. More... | ||||
GUIVehicleControl * | getGUIVehicleControl () | |||
Returns the vehicle control. More... | ||||
MSIntermodalRouter & | getIntermodalRouter (const int routingMode=0, const MSEdgeVector &prohibited=MSEdgeVector()) const | |||
Position | getJunctionPosition (const std::string &name) const | |||
returns the position of a junction More... | ||||
const NamedRTree & | getLanesRTree () const | |||
Returns an RTree that contains lane IDs. More... | ||||
double | getNetworkVersion () const | |||
return the network version More... | ||||
MSPedestrianRouter & | getPedestrianRouter (const MSEdgeVector &prohibited=MSEdgeVector()) const | |||
const std::map< SUMOVehicleClass, double > * | getRestrictions (const std::string &id) const | |||
Returns the restrictions for an edge type If no restrictions are present, 0 is returned. More... | ||||
SUMOAbstractRouter< MSEdge, SUMOVehicle > & | getRouterEffort (const MSEdgeVector &prohibited=MSEdgeVector()) const | |||
SUMOAbstractRouter< MSEdge, SUMOVehicle > & | getRouterTT (const MSEdgeVector &prohibited=MSEdgeVector()) const | |||
SUMORTree & | getVisualisationSpeedUp () | |||
Returns the RTree used for visualisation speed-up. More... | ||||
const SUMORTree & | getVisualisationSpeedUp () const | |||
Returns the RTree used for visualisation speed-up. More... | ||||
GUINet (MSVehicleControl *vc, MSEventControl *beginOfTimestepEvents, MSEventControl *endOfTimestepEvents, MSEventControl *insertionEvents) | ||||
Constructor. More... | ||||
void | guiSimulationStep () | |||
Some further steps needed for gui processing. More... | ||||
bool | hasElevation () const | |||
return whether the network contains elevation data More... | ||||
bool | hasInternalLinks () const | |||
return whether the network contains internal links More... | ||||
bool | hasPermissions () const | |||
Returns whether the network has specific vehicle class permissions. More... | ||||
void | initGUIStructures () | |||
Initialises gui wrappers. More... | ||||
void | interrupt () | |||
bool | isInterrupted () const | |||
bool | lefthand () const | |||
return whether the network was built for lefthand traffic More... | ||||
void | loadRoutes () | |||
loads routes for the next few steps More... | ||||
void | lock () | |||
grant exclusive access to the simulation state More... | ||||
bool | logSimulationDuration () const | |||
Returns whether duration shall be logged. More... | ||||
void | setCurrentTimeStep (const SUMOTime step) | |||
Sets the current simulation step (used by state loading) More... | ||||
void | setPermissionsFound () | |||
Labels the network to contain vehicle class permissions. More... | ||||
SimulationState | simulate (SUMOTime start, SUMOTime stop) | |||
Simulates from timestep start to stop. More... | ||||
SimulationState | simulationState (SUMOTime stopTime) const | |||
Called after a simulation step, this method returns the current simulation state. More... | ||||
void | simulationStep () | |||
Performs a single simulation step (locking the simulation) More... | ||||
void | unlock () | |||
release exclusive access to the simulation state More... | ||||
bool | vehicleExists (const std::string &name) const | |||
returns the information whether the vehicle still exists More... | ||||
bool | warnOnce (const std::string &typeAndID) | |||
return whether a warning regarding the given object shall be issued More... | ||||
void | writeChargingStationOutput () const | |||
write charging station output More... | ||||
void | writeOutput () | |||
Write netstate, summary and detector output. More... | ||||
~GUINet () | ||||
Destructor. More... | ||||
inherited from GUIGlObject | ||||
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own popup-menu. More... | ||||
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own parameter window. More... | ||||
Boundary | getCenteringBoundary () const | |||
Returns the boundary to which the view shall be centered in order to show the object. More... | ||||
void | drawGL (const GUIVisualizationSettings &s) const | |||
Draws the object. More... | ||||
functions for performance measurements | ||||
int | getWholeDuration () const | |||
Returns the duration of the last step (sim+visualisation+idle) (in ms) More... | ||||
int | getSimDuration () const | |||
Returns the duration of the last step's simulation part (in ms) More... | ||||
double | getRTFactor () const | |||
Returns the simulation speed as a factor to real time. More... | ||||
double | getUPS () const | |||
Returns the update per seconds rate. More... | ||||
double | getMeanRTFactor (int duration) const | |||
Returns the simulation speed as a factor to real time. More... | ||||
double | getMeanUPS () const | |||
Returns the update per seconds rate. More... | ||||
int | getIdleDuration () const | |||
Returns the duration of the last step's idle part (in ms) More... | ||||
void | setSimDuration (int val) | |||
Sets the duration of the last step's simulation part. More... | ||||
void | setIdleDuration (int val) | |||
Sets the duration of the last step's idle part. More... | ||||
double | getAvgRouteLength () const | |||
double | getAvgDuration () const | |||
double | getAvgWaitingTime () const | |||
double | getAvgTimeLoss () const | |||
double | getAvgDepartDelay () const | |||
double | getAvgTripSpeed () const | |||
double | getAvgWalkRouteLength () const | |||
double | getAvgWalkDuration () const | |||
double | getAvgWalkTimeLoss () const | |||
MSTransportableControl & | getPersonControl () | |||
Returns the person control. More... | ||||
MSTransportableControl & | getContainerControl () | |||
Returns the container control. More... | ||||
int | getLinkTLID (MSLink *link) const | |||
int | getLinkTLIndex (MSLink *link) const | |||
locator-methods | ||||
std::vector< GUIGlID > | getJunctionIDs (bool includeInternal) const | |||
std::vector< GUIGlID > | getTLSIDs () const | |||
Returns the gl-ids of all traffic light logics within the net. More... | ||||
Output during the simulation | ||||
void | preSimStepOutput () const | |||
Prints the current step number. More... | ||||
void | postSimStepOutput () const | |||
Prints the statistics of the step at its end. More... | ||||
Retrieval of references to substructures | ||||
MSVehicleControl & | getVehicleControl () | |||
Returns the vehicle control. More... | ||||
bool | hasPersons () const | |||
Returns whether persons are simulated. More... | ||||
bool | hasContainers () const | |||
Returns whether containers are simulated. More... | ||||
MSEdgeControl & | getEdgeControl () | |||
Returns the edge control. More... | ||||
MSInsertionControl & | getInsertionControl () | |||
Returns the insertion control. More... | ||||
MSDetectorControl & | getDetectorControl () | |||
Returns the detector control. More... | ||||
MSTLLogicControl & | getTLSControl () | |||
Returns the tls logics control. More... | ||||
MSJunctionControl & | getJunctionControl () | |||
Returns the junctions control. More... | ||||
MSEventControl * | getBeginOfTimestepEvents () | |||
Returns the event control for events executed at the begin of a time step. More... | ||||
MSEventControl * | getEndOfTimestepEvents () | |||
Returns the event control for events executed at the end of a time step. More... | ||||
MSEventControl * | getInsertionEvents () | |||
Returns the event control for insertion events. More... | ||||
ShapeContainer & | getShapeContainer () | |||
Returns the shapes container. More... | ||||
MSEdgeWeightsStorage & | getWeightsStorage () | |||
Returns the net's internal edge travel times/efforts container. More... | ||||
Insertion and retrieval of stopping places | ||||
bool | addStoppingPlace (const SumoXMLTag category, MSStoppingPlace *stop) | |||
Adds a stopping place. More... | ||||
MSStoppingPlace * | getStoppingPlace (const std::string &id, const SumoXMLTag category) const | |||
Returns the named stopping place of the given category. More... | ||||
std::string | getStoppingPlaceID (const MSLane *lane, const double pos, const SumoXMLTag category) const | |||
Returns the stop of the given category close to the given position. More... | ||||
Atomar getter methods | ||||
Returns the full name appearing in the tool tip
| ||||
const std::string & | getFullName () const | |||
virtual std::string | getParentName () const | |||
Returns the name of the parent object (if any) More... | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. More... | ||||
interfaces to be implemented by derived classes | ||||
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own type parameter window (optional) More... | ||||
virtual const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. More... | ||||
virtual void | setMicrosimID (const std::string &newID) | |||
Changes the microsimID of the object. More... | ||||
GUIGlObjectType | getType () const | |||
Returns the type of the object as coded in GUIGlObjectType. More... | ||||
virtual double | getColorValue (const GUIVisualizationSettings &, int) const | |||
Parameter table window I/O | ||||
Lets this object know a parameter window showing the object's values was opened
| ||||
void | addParameterTable (GUIParameterTableWindow *w) | |||
void | removeParameterTable (GUIParameterTableWindow *w) | |||
Lets this object know a parameter window showing the object's values was closed. More... | ||||
Static Public Member Functions | |
static void | adaptIntermodalRouter (MSIntermodalRouter &router) |
static void | clearAll () |
Clears all dictionaries. More... | |
static double | getEffort (const MSEdge *const e, const SUMOVehicle *const v, double t) |
Returns the effort to pass an edge. More... | |
static GUINet * | getGUIInstance () |
Returns the pointer to the unique instance of GUINet (singleton). More... | |
static MSNet * | getInstance () |
Returns the pointer to the unique instance of MSNet (singleton). More... | |
static std::string | getStateMessage (SimulationState state) |
Returns the message to show if a certain state occurs. More... | |
static double | getTravelTime (const MSEdge *const e, const SUMOVehicle *const v, double t) |
Returns the travel time to pass an edge. More... | |
static bool | hasInstance () |
Returns whether the network was already constructed. More... | |
Static Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings More... | |
Protected Types | |
typedef std::map< MSLink *, std::string > | Links2LogicMap |
Definition of a link-to-logic-id map. More... | |
typedef std::map< MSTrafficLightLogic *, GUITrafficLightLogicWrapper * > | Logics2WrapperMap |
Definition of a traffic light-to-wrapper map. More... | |
Protected Member Functions | |
void | buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More... | |
void | buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More... | |
bool | checkElevation () |
check all lanes for elevation data More... | |
helper methods for building popup-menus | |
void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) |
Builds the header. More... | |
void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to center to the object. More... | |
void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds entries which allow to copy the name / typed name into the clipboard. More... | |
void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to (de)select the object. More... | |
void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the parameter window. More... | |
void | buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the type parameter window. More... | |
void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More... | |
void | buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the manipulator window. More... | |
Protected Attributes | |
bool | myAmInterrupted |
whether an interrupt occured More... | |
Boundary | myBoundary |
The networks boundary. More... | |
std::vector< GUIDetectorWrapper * > | myDetectorWrapper |
A detector dictionary. More... | |
std::vector< GUIEdge * > | myEdgeWrapper |
Wrapped MS-edges. More... | |
LayeredRTree | myGrid |
The visualization speed-up. More... | |
bool | myHasElevation |
Whether the network contains elevation data. More... | |
bool | myHasInternalLinks |
Whether the network contains internal links/lanes/edges. More... | |
bool | myHavePermissions |
Whether the network contains edges which not all vehicles may pass. More... | |
std::map< int, MSIntermodalRouter * > | myIntermodalRouter |
std::vector< GUIJunctionWrapper * > | myJunctionWrapper |
Wrapped MS-junctions. More... | |
std::pair< bool, NamedRTree > | myLanesRTree |
An RTree structure holding lane IDs. More... | |
int | myLastIdleDuration |
int | myLastSimDuration |
The step durations (simulation, /*visualisation, */idle) More... | |
long | myLastVehicleMovementCount |
bool | myLefthand |
Whether the network was built for left-hand traffic. More... | |
Links2LogicMap | myLinks2Logic |
The link-to-logic-id map. More... | |
Logics2WrapperMap | myLogics2Wrapper |
The traffic light-to-wrapper map. More... | |
int | myMaxTeleports |
Maximum number of teleports. More... | |
long | myOverallSimDuration |
long | myOverallVehicleCount |
MSPedestrianRouter * | myPedestrianRouter |
std::map< std::string, std::map< SUMOVehicleClass, double > > | myRestrictions |
The vehicle class specific speed restrictions. More... | |
SUMORouteLoaderControl * | myRouteLoaders |
Route loader for dynamic loading of routes. More... | |
SUMOAbstractRouter< MSEdge, SUMOVehicle > * | myRouterEffort |
SUMOAbstractRouter< MSEdge, SUMOVehicle > * | myRouterTT |
SUMOTime | myStep |
Current time step. More... | |
std::map< SumoXMLTag, NamedObjectCont< MSStoppingPlace * > > | myStoppingPlaces |
Dictionary of bus / container stops. More... | |
std::vector< MSTrafficLightLogic * > | myTLLogicWrapper |
Wrapped TL-Logics. More... | |
std::vector< VehicleStateListener * > | myVehicleStateListeners |
Container for vehicle state listener. More... | |
double | myVersion |
the network version More... | |
std::map< std::string, bool > | myWarnedOnce |
container to record warnings that shall only be issued once More... | |
Substructures | |
MSVehicleControl * | myVehicleControl |
Controls vehicle building and deletion;. More... | |
MSTransportableControl * | myPersonControl |
Controls person building and deletion;. More... | |
MSTransportableControl * | myContainerControl |
Controls container building and deletion;. More... | |
MSEdgeControl * | myEdges |
Controls edges, performs vehicle movement;. More... | |
MSJunctionControl * | myJunctions |
Controls junctions, realizes right-of-way rules;. More... | |
MSTLLogicControl * | myLogics |
Controls tls logics, realizes waiting on tls rules;. More... | |
MSInsertionControl * | myInserter |
Controls vehicle insertion;. More... | |
MSDetectorControl * | myDetectorControl |
Controls detectors;. More... | |
MSEventControl * | myBeginOfTimestepEvents |
Controls events executed at the begin of a time step;. More... | |
MSEventControl * | myEndOfTimestepEvents |
Controls events executed at the end of a time step;. More... | |
MSEventControl * | myInsertionEvents |
Controls insertion events;. More... | |
ShapeContainer * | myShapeContainer |
A container for geometrical shapes;. More... | |
MSEdgeWeightsStorage * | myEdgeWeights |
The net's knowledge about edge efforts/travel times;. More... | |
data needed for computing performance values | |
bool | myLogExecutionTime |
Information whether the simulation duration shall be logged. More... | |
bool | myLogStepNumber |
Information whether the number of the simulation step shall be logged. More... | |
long | myTraCIStepDuration |
The last simulation step duration. More... | |
long | mySimStepDuration |
long | mySimBeginMillis |
The overall simulation duration. More... | |
long long int | myVehiclesMoved |
The overall number of vehicle movements. More... | |
State output variables | |
std::vector< SUMOTime > | myStateDumpTimes |
Times at which a state shall be written. More... | |
std::vector< std::string > | myStateDumpFiles |
The names for the state files. More... | |
SUMOTime | myStateDumpPeriod |
The period for writing state. More... | |
std::string | myStateDumpPrefix |
name components for periodic state More... | |
std::string | myStateDumpSuffix |
Static Protected Attributes | |
static MSNet * | myInstance = nullptr |
Unique instance of MSNet. More... | |
static const std::string | STAGE_EVENTS |
string constants for simstep stages More... | |
static const std::string | STAGE_INSERTIONS |
static const std::string | STAGE_LANECHANGE |
static const std::string | STAGE_MOVEMENTS |
Private Member Functions | |
void | initTLMap () |
Initialises the tl-logic map and wrappers. More... | |
Private Attributes | |
MFXMutex | myLock |
The mutex used to avoid concurrent updates of the vehicle buffer. More... | |
Friends | |
class | GUIOSGBuilder |
class | GUITrafficLightLogicWrapper |
Notification about vehicle state changes | |
void | addVehicleStateListener (VehicleStateListener *listener) |
Adds a vehicle states listener. More... | |
void | removeVehicleStateListener (VehicleStateListener *listener) |
Removes a vehicle states listener. More... | |
void | informVehicleStateListener (const SUMOVehicle *const vehicle, VehicleState to, const std::string &info="") |
Informs all added listeners about a vehicle's state change. More... | |
enum | VehicleState { VEHICLE_STATE_BUILT, VEHICLE_STATE_DEPARTED, VEHICLE_STATE_STARTING_TELEPORT, VEHICLE_STATE_ENDING_TELEPORT, VEHICLE_STATE_ARRIVED, VEHICLE_STATE_NEWROUTE, VEHICLE_STATE_STARTING_PARKING, VEHICLE_STATE_ENDING_PARKING, VEHICLE_STATE_STARTING_STOP, VEHICLE_STATE_ENDING_STOP, VEHICLE_STATE_COLLISION, VEHICLE_STATE_EMERGENCYSTOP } |
Definition of a vehicle state. More... | |
A MSNet extended by some values for usage within the gui.
This gui version of the network allows the retrieval of some more information than the normal network version does. Due to this, not only these retrieval, but also some further initialisation methods must have been implemented. Nonethenless, this class has almost the same functions as the MSNet-class.
Some microsimulation items are wrapped in certain classes to allow their drawing and their enumerated access. This enumeration is realised by inserting the wrapped items into vectors and is needed to fasten the network's drawing as only visible items are being drawn.
|
protected |
|
protected |
|
inherited |
|
inherited |
|
inherited |
Possible states of a simulation - running or stopped with different reasons.
|
inherited |
Definition of a vehicle state.
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 74 of file GUINet.cpp.
References GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::setNetObject().
GUINet::~GUINet | ( | ) |
Destructor.
Definition at line 85 of file GUINet.cpp.
References GUIGlObject_AbstractAdd::clearDictionary(), MFXMutex::locked(), myDetectorWrapper, myJunctionWrapper, myLock, myLogics2Wrapper, and MFXMutex::unlock().
|
staticinherited |
Definition at line 970 of file MSNet.cpp.
References MSInsertionControl::adaptIntermodalRouter(), MSVehicleControl::adaptIntermodalRouter(), IntermodalNetwork< E, L, N, V >::addAccess(), MSNet::getInsertionControl(), IntermodalRouter< E, L, N, V >::getNetwork(), MSNet::getVehicleControl(), MSNet::myInstance, MSNet::myStoppingPlaces, SUMO_TAG_BUS_STOP, and SUMO_TAG_PARKING_AREA.
Referenced by MSNet::getIntermodalRouter(), and MSNet::VehicleStateListener::~VehicleStateListener().
|
inherited |
Definition at line 263 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 296 of file MSNet.cpp.
References MSNet::myRestrictions.
Referenced by NLHandler::myStartElement(), and MSNet::setPermissionsFound().
|
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 863 of file MSNet.cpp.
References Named::getID(), MSNet::myStoppingPlaces, SUMO_TAG_BUS_STOP, and SUMO_TAG_TRAIN_STOP.
Referenced by GUITriggerBuilder::beginParkingArea(), NLTriggerBuilder::beginParkingArea(), GUITriggerBuilder::buildChargingStation(), NLTriggerBuilder::buildChargingStation(), GUITriggerBuilder::buildStoppingPlace(), NLTriggerBuilder::buildStoppingPlace(), and MSNet::getShapeContainer().
|
inherited |
Adds a vehicle states listener.
[in] | listener | The listener to add |
Definition at line 838 of file MSNet.cpp.
References MSNet::myVehicleStateListeners.
Referenced by MSDevice_Vehroutes::init(), TraCIServer::openSocket(), libsumo::Helper::registerVehicleStateListener(), and MSNet::VehicleStateListener::~VehicleStateListener().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 301 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
protectedinherited |
Builds an entry which allows to center to the object.
Definition at line 192 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNENet::getPopUpMenu(), getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
Definition at line 201 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds the header.
Definition at line 183 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNENet::getPopUpMenu(), getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
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.
Definition at line 242 of file GUIGlObject.cpp.
References GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNENet::getPopUpMenu(), getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
Definition at line 211 of file GUIGlObject.cpp.
References GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, ICON_FLAG_MINUS, ICON_FLAG_PLUS, GUISelectedStorage::isSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 278 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
Referenced by GUIPointOfInterest::getPopUpMenu(), and GNEPOI::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
Definition at line 254 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_MANIP, and MID_MANIP.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
Definition at line 224 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
Definition at line 233 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.
Referenced by GUIPerson::getPopUpMenu(), and GUIBaseVehicle::getPopUpMenu().
|
protectedinherited |
check all lanes for elevation data
Definition at line 1000 of file MSNet.cpp.
References MSEdgeControl::getEdges(), and MSNet::myEdges.
Referenced by MSNet::closeBuilding(), and MSNet::isInterrupted().
|
staticinherited |
Clears all dictionaries.
Definition at line 620 of file MSNet.cpp.
References MSTrigger::cleanup(), MSPModel::cleanup(), MSStopOut::cleanup(), MSCModel_NonInteracting::cleanup(), MSDevice_BTsender::cleanup(), MSCalibrator::cleanup(), MSDevice_ToC::cleanup(), TraCIServer::cleanup(), libsumo::Helper::cleanup(), MSDevice_SSM::cleanup(), MSDevice::cleanupAll(), MSRoute::clear(), MSEdge::clear(), MSLane::clear(), OutputDevice::closeAll(), TraCIServer::getInstance(), and MSVehicleTransfer::getInstance().
Referenced by GUILoadThread::run(), MSNet::setPermissionsFound(), and MSNet::~MSNet().
|
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] | lefthand | Whether the network was built for left-hand traffic |
[in] | version | The network version |
Definition at line 219 of file MSNet.cpp.
References MSNet::checkElevation(), SysUtils::getCurrentMillis(), OptionsCont::getString(), MSGlobals::gLateralResolution, MSNet::hasInternalLinks(), MSNet::lefthand(), MSNet::myEdges, MSNet::myHasElevation, MSNet::myHasInternalLinks, MSNet::myJunctions, MSNet::myLefthand, MSNet::myLogics, MSNet::myRouteLoaders, MSNet::mySimBeginMillis, MSNet::myStateDumpFiles, MSNet::myStateDumpPeriod, MSNet::myStateDumpPrefix, MSNet::myStateDumpSuffix, MSNet::myStateDumpTimes, MSNet::myVersion, MSJunctionControl::postloadInitContainer(), string2time(), and WRITE_WARNING.
Referenced by NLBuilder::buildNet(), and MSNet::hasInstance().
|
inherited |
Closes the simulation (all files, connections, etc.)
Writes also performance output
[in] | start | The step the simulation was started with |
Definition at line 423 of file MSNet.cpp.
References MSDetectorControl::close(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSDevice_Vehroutes::generateOutputForUnfinished(), MSNet::generateStatistics(), OptionsCont::getOptions(), MSNet::myDetectorControl, MSNet::myLogExecutionTime, MSNet::myStep, WRITE_MESSAGE, and MSNet::writeChargingStationOutput().
Referenced by libsumo::Simulation::close(), GUIRunThread::deleteSim(), MSNet::setPermissionsFound(), and MSNet::simulate().
|
virtual |
creates a wrapper for the given logic
Reimplemented from MSNet.
Definition at line 145 of file GUINet.cpp.
References SUMORTree::addAdditionalGLObject(), Named::getID(), MSTrafficLightLogic::getLinks(), GUITrafficLightLogicWrapper, myGrid, myLinks2Logic, MSNet::myLogics, and myLogics2Wrapper.
Referenced by getVisualisationSpeedUp(), initTLMap(), and GUITrafficLightLogicWrapper::switchTLSLogic().
|
virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 493 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, GUIPerson, and GUIContainer.
Definition at line 162 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
|
inherited |
draw name of item
Definition at line 330 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show.
Referenced by GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNEJunction::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorExit::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNETAZ::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEEdge::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), and GUIBaseVehicle::drawOnPos().
|
inherited |
Writes performance output and running vehicle stats.
[in] | start | The step the simulation was started with |
Definition at line 368 of file MSNet.cpp.
References MSVehicleControl::getCollisionCount(), SysUtils::getCurrentMillis(), MSVehicleControl::getDepartedVehicleNo(), MSVehicleControl::getEmergencyStops(), MSTransportableControl::getJammedNumber(), MSTransportableControl::getLoadedNumber(), MSVehicleControl::getLoadedVehicleNo(), OptionsCont::getOptions(), MSTransportableControl::getRunningNumber(), MSVehicleControl::getRunningVehicleNo(), MSVehicleControl::getTeleportCount(), MSVehicleControl::getTeleportsJam(), MSVehicleControl::getTeleportsWrongLane(), MSVehicleControl::getTeleportsYield(), MSInsertionControl::getWaitingVehicleNo(), joinToString(), MSNet::myInserter, MSNet::myPersonControl, MSNet::mySimBeginMillis, MSNet::myStep, MSNet::myVehicleControl, MSNet::myVehiclesMoved, MSDevice_Tripinfo::printStatistics(), STEPS2TIME, and toString().
Referenced by MSNet::closeSimulation(), MSNet::setPermissionsFound(), and signalHandler().
|
inline |
Definition at line 216 of file GUINet.h.
References MSDevice_Tripinfo::getAvgDepartDelay().
Referenced by getParameterWindow().
|
inline |
Definition at line 207 of file GUINet.h.
References MSDevice_Tripinfo::getAvgDuration().
Referenced by getParameterWindow().
|
inline |
Definition at line 204 of file GUINet.h.
References MSDevice_Tripinfo::getAvgRouteLength().
Referenced by getParameterWindow().
|
inline |
Definition at line 213 of file GUINet.h.
References MSDevice_Tripinfo::getAvgTimeLoss().
Referenced by getParameterWindow().
|
inline |
Definition at line 219 of file GUINet.h.
References MSDevice_Tripinfo::getAvgDuration(), and MSDevice_Tripinfo::getAvgRouteLength().
Referenced by getParameterWindow().
|
inline |
Definition at line 210 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWaitingTime().
Referenced by getParameterWindow().
|
inline |
Definition at line 225 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWalkDuration().
Referenced by getParameterWindow().
|
inline |
Definition at line 222 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWalkRouteLength().
Referenced by getParameterWindow().
|
inline |
Definition at line 228 of file GUINet.h.
References MSDevice_Tripinfo::getAvgWalkTimeLoss(), getContainerControl(), getJunctionIDs(), getLinkTLID(), getLinkTLIndex(), getPersonControl(), getTLSIDs(), and initGUIStructures().
Referenced by getParameterWindow().
|
inlineinherited |
Returns the event control for events executed at the begin of a time step.
Definition at line 409 of file MSNet.h.
References MSNet::myBeginOfTimestepEvents.
Referenced by MSPModel_NonInteracting::add(), MSCModel_NonInteracting::add(), NLTriggerBuilder::buildVaporizer(), MSPhasedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSTLLogicControl::closeWAUT(), MSLaneSpeedTrigger::init(), MSDevice_DriverState::MSDevice_DriverState(), MSDevice_ToC::MSDevice_ToC(), MSPModel_Remote::MSPModel_Remote(), MSPModel_Striping::MSPModel_Striping(), MSTrafficLightLogic::MSTrafficLightLogic(), MSTriggeredRerouter::myEndElement(), MSDevice_Routing::notifyEnter(), MSPerson::MSPersonStage_Access::proceed(), MSDevice_ToC::requestToC(), MSTriggeredRerouter::setPermissions(), MSDevice_ToC::triggerDownwardToC(), and MSDevice_ToC::triggerMRM().
const Boundary & GUINet::getBoundary | ( | ) | const |
returns the bounder of the network
Definition at line 108 of file GUINet.cpp.
References myBoundary.
Referenced by getCenteringBoundary().
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 497 of file GUINet.cpp.
References getBoundary().
|
inlinevirtualinherited |
Reimplemented in GUILane, GNELane, and GUIEdge.
Definition at line 145 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::showToolTipFor().
|
virtual |
Returns the container control.
If the container control does not exist, yet, it is created.
Reimplemented from MSNet.
Definition at line 123 of file GUINet.cpp.
References MSNet::myContainerControl.
Referenced by getAvgWalkTimeLoss(), and GUIApplicationWindow::handleEvent_SimulationStep().
|
inlineinherited |
Returns the current simulation step.
Definition at line 263 of file MSNet.h.
References MSNet::myStep.
Referenced by MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), libsumo::Person::add(), libsumo::Vehicle::add(), MSBaseVehicle::addContainer(), MSBaseVehicle::addPerson(), GUIEdge::addRerouter(), MSDevice_Vehroutes::addRoute(), MSTLLogicControl::addWAUTJunction(), MSTransportableControl::boardAnyWaiting(), NLDetectorBuilder::buildE2Detector(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSTLLogicControl::closeWAUT(), TraCIServerAPI_Simulation::commandDistanceRequest(), MSDevice_Tripinfo::computeLengthAndDuration(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), TraCIServer::dispatchCommand(), MSActuatedTrafficLightLogic::duration(), MSVehicle::enterLaneAtInsertion(), Command_SaveTLCoupledLaneDet::execute(), Command_SaveTLCoupledDet::execute(), MSVehicle::executeMove(), libsumo::Simulation::findIntermodalRoute(), libsumo::Simulation::findRoute(), MSActuatedTrafficLightLogic::gapControl(), MSDevice_Tripinfo::generateOutputForUnfinished(), MSTransportable::getAngle(), MSLane::getCriticalLeader(), MSInductLoop::getCurrentOccupancy(), MSSOTLTrafficLightLogic::getCurrentPhaseElapsed(), GUIApplicationWindow::getCurrentSimTime(), MSLaneSpeedTrigger::getCurrentSpeed(), libsumo::Simulation::getCurrentTime(), GUIViewTraffic::getCurrentTimeStep(), MSEventControl::getCurrentTimeStep(), libsumo::Simulation::getDistance2D(), libsumo::Simulation::getDistanceRoad(), MSTransportable::getEdgePos(), MSLane::getFirstVehicleInformation(), MSLane::getLastVehicleInformation(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), libsumo::Lane::getLinks(), MESegment::getMeanSpeed(), MSInsertionControl::getPendingEmits(), MSTransportable::getPosition(), MSVehicle::getPosition(), MSTrafficLightLogic::getSpentDuration(), MSTransportable::getWaitingSeconds(), MSLink::getZipperSpeed(), GUIApplicationWindow::handleEvent_SimulationStep(), MSSwarmTrafficLightLogic::init(), MSLaneSpeedTrigger::init(), MSRoutingEngine::initEdgeWeights(), TraCIServer::initialiseSubscription(), MSTLLogicControl::initWautSwitch(), MSLane::isInsertionSuccess(), MSPerson::Influencer::isRemoteControlled(), MSVehicle::Influencer::isRemoteControlled(), MSTransportableControl::loadAnyWaiting(), GUIRunThread::makeStep(), MSPModel_Remote::MSPModel_Remote(), MSPModel_Striping::MSPModel_Striping(), MSDevice_Vehroutes::notifyEnter(), MSDevice_Routing::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Vehroutes::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Transportable::notifyMove(), GUIApplicationWindow::onCmdSaveState(), GUIApplicationWindow::onCmdTimeToggle(), MSBaseVehicle::onDepart(), TraCIServer::postProcessSimulationStep(), MESegment::prepareDetectorForWriting(), MSVehicle::processLaneAdvances(), MSVehicle::processNextStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::resetActionOffset(), MSSOTLTrafficLightLogic::resetCTS(), MSTrafficLightLogic::resetLinkStates(), GUIRunThread::run(), TraCIServer::sendOutputToAll(), libsumo::TrafficLight::setPhase(), libsumo::TrafficLight::setPhaseDuration(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSPhasedTrafficLightLogic::setStep(), MSSOTLTrafficLightLogic::setupCTS(), MSNet::simulate(), MSSimpleTrafficLightLogic::trySwitch(), MSDelayBasedTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), MSSOTLTrafficLightLogic::trySwitch(), MSVehicle::updateActionOffset(), MSSOTLTrafficLightLogic::updateCTS(), MSRailCrossing::updateCurrentPhase(), MSSwarmTrafficLightLogic::updateSensitivities(), and MSVehicle::wasRemoteControlled().
|
inlineinherited |
Returns the detector control.
Definition at line 379 of file MSNet.h.
References MSNet::myDetectorControl.
Referenced by MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildInductLoop(), NLDetectorBuilder::buildInstantInductLoop(), NLDetectorBuilder::buildRouteProbe(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NLDetectorBuilder::createEdgeLaneMeanData(), NLDetectorBuilder::endE3Detector(), libsumo::MultiEntryExit::getDetector(), libsumo::LaneArea::getDetector(), libsumo::InductionLoop::getDetector(), libsumo::LaneArea::getIDCount(), libsumo::MultiEntryExit::getIDCount(), libsumo::InductionLoop::getIDCount(), libsumo::LaneArea::getIDList(), libsumo::MultiEntryExit::getIDList(), libsumo::InductionLoop::getIDList(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), and NLTriggerBuilder::parseAndBuildCalibrator().
|
inlineinherited |
Returns the edge control.
Definition at line 359 of file MSNet.h.
References MSNet::myEdges.
Referenced by MSRoutingEngine::adaptEdgeEfforts(), NLBuilder::build(), libsumo::Helper::convertCartesianToRoadMap(), MSLane::incorporateVehicle(), MSMeanData::init(), MSPModel_Remote::initialize(), MSFCDExport::write(), MSQueueExport::writeEdge(), and MSFullExport::writeEdge().
|
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 134 of file MSNet.cpp.
References MSNet::getInstance(), MSVehicle::getWeightsStorage(), MSNet::getWeightsStorage(), and MSEdgeWeightsStorage::retrieveExistingEffort().
Referenced by MSNet::getRouterEffort(), and MSNet::VehicleStateListener::~VehicleStateListener().
|
inlineinherited |
Returns the event control for events executed at the end of a time step.
Definition at line 419 of file MSNet.h.
References MSNet::myEndOfTimestepEvents.
Referenced by MSDevice_BTreceiver::BTreceiverUpdate::BTreceiverUpdate(), Command_SaveTLSState::Command_SaveTLSState(), Command_SaveTLSSwitches::Command_SaveTLSSwitches(), Command_SaveTLSSwitchStates::Command_SaveTLSSwitchStates(), MSCalibrator::init(), MSRoutingEngine::initWeightUpdate(), and MSVTypeProbe::MSVTypeProbe().
|
inherited |
Definition at line 117 of file GUIGlObject.cpp.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUILaneSpeedTrigger::openManipulator(), GUICalibrator::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inherited |
Returns the numerical id of the object.
Definition at line 129 of file GUIGlObject.cpp.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildRouteProbe(), GUIGlObject::buildSelectionPopupEntry(), GNEAdditionalHandler::buildVaporizer(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEVariableSpeedSign::drawGL(), GNEJunction::drawGL(), GNEInternalLane::drawGL(), GNECrossing::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIPolygon::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GUIPointOfInterest::drawGL(), GNETAZ::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEEdge::drawGL(), GUILane::drawGL(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GNEPoly::getGlID(), GNEPOI::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIPerson::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIEdge::getScaleValue(), GUILane::isLaneOrEdgeSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIPerson::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEFrame::ACHierarchy::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GNEShape::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), GUIMessageWindow::setCursorPos(), GNEShape::unselectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), 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 503 of file GUINet.cpp.
References MSNet::getInstance().
Referenced by GUIEdge::addRerouter(), GUIViewTraffic::doPaintGL(), GUIEdge::drawMesoVehicles(), getVisualisationSpeedUp(), GUIApplicationWindow::onCmdShowStats(), and GUITrafficLightLogicWrapper::switchTLSLogic().
GUIMEVehicleControl * GUINet::getGUIMEVehicleControl | ( | ) |
Returns the vehicle control.
Definition at line 530 of file GUINet.cpp.
References myEdgeWrapper, myJunctionWrapper, and MSNet::myVehicleControl.
Referenced by GUIEdge::drawMesoVehicles(), and getVisualisationSpeedUp().
GUIVehicleControl * GUINet::getGUIVehicleControl | ( | ) |
Returns the vehicle control.
Definition at line 513 of file GUINet.cpp.
References MSNet::myVehicleControl.
Referenced by getVisualisationSpeedUp().
int GUINet::getIdleDuration | ( | ) | const |
Returns the duration of the last step's idle part (in ms)
Definition at line 371 of file GUINet.cpp.
References myLastIdleDuration.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the insertion control.
Definition at line 369 of file MSNet.h.
References MSNet::myInserter.
Referenced by MSNet::adaptIntermodalRouter(), libsumo::Vehicle::add(), MSLane::checkFailure(), libsumo::Simulation::clearPending(), MSStateHandler::closeVehicle(), MSRouteHandler::closeVehicle(), GUIEdge::getColorValue(), libsumo::Simulation::getMinExpectedNumber(), getParameterWindow(), GUILane::getPendingEmits(), GUIEdge::getScaleValue(), GUILane::getScaleValue(), GUIApplicationWindow::handleEvent_SimulationStep(), MSLane::isInsertionSuccess(), MSVehicleTransfer::loadState(), libsumo::Vehicle::moveTo(), libsumo::Vehicle::moveToXY(), MSStateHandler::myStartElement(), MSContainer::MSContainerStage_Driving::proceed(), MSPerson::MSPersonStage_Driving::proceed(), libsumo::Vehicle::remove(), MSBaseVehicle::reroute(), and MSStateHandler::saveState().
|
inlineinherited |
Returns the event control for insertion events.
Definition at line 429 of file MSNet.h.
References MSNet::myInsertionEvents.
Referenced by MSDevice_Routing::MSDevice_Routing(), MSPersonDevice_Routing::MSPersonDevice_Routing(), and MSPersonDevice_Routing::setParameter().
|
staticinherited |
Returns the pointer to the unique instance of MSNet (singleton).
ProcessError | If a network was not yet constructed |
Definition at line 165 of file MSNet.cpp.
References MSNet::myInstance.
Referenced by MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSTransportable::Stage_Waiting::abort(), MSTransportableControl::abortWaitingForVehicle(), MSRoutingEngine::adaptEdgeEfforts(), libsumo::Edge::adaptTraveltime(), libsumo::Polygon::add(), LaneStoringVisitor::add(), MSPModel_Striping::add(), libsumo::POI::add(), libsumo::Person::add(), MSVehicleTransfer::add(), libsumo::Vehicle::add(), MSChargingStation::addChargeValueForOutput(), MSBaseVehicle::addContainer(), MSTrafficLightLogic::addLink(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSBaseVehicle::addPerson(), MSRouteHandler::addPersonTrip(), GUIEdge::addRerouter(), MSDevice_Vehroutes::addRoute(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStopAtStoppingPlace(), MSTLLogicControl::addWAUTJunction(), libsumo::Person::appendDrivingStage(), libsumo::Person::appendWaitingStage(), libsumo::Person::appendWalkingStage(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportableControl::boardAnyWaiting(), MSDevice_BTreceiver::BTreceiverUpdate::BTreceiverUpdate(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NLTriggerBuilder::buildVaporizer(), MEVehicleControl::buildVehicle(), GUIMEVehicleControl::buildVehicle(), GUIVehicleControl::buildVehicle(), MSVehicleControl::buildVehicle(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), libsumo::Vehicle::changeLane(), libsumo::Vehicle::changeLaneRelative(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSPhasedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), libsumo::Vehicle::changeTarget(), MSLane::checkFailure(), GUIApplicationWindow::checkGamingEvents(), MSVehicleTransfer::checkInsertions(), libsumo::Simulation::clearPending(), libsumo::Simulation::close(), MSRouteHandler::closeContainer(), MSRouteHandler::closeFlow(), MSRouteHandler::closePerson(), MSRouteHandler::closeRoute(), MSStateHandler::closeVehicle(), MSRouteHandler::closeVehicle(), MSRouteHandler::closeVehicleTypeDistribution(), MSTLLogicControl::closeWAUT(), Command_SaveTLSState::Command_SaveTLSState(), Command_SaveTLSSwitches::Command_SaveTLSSwitches(), Command_SaveTLSSwitchStates::Command_SaveTLSSwitchStates(), TraCIServerAPI_Simulation::commandDistanceRequest(), MSDevice_Tripinfo::computeLengthAndDuration(), libsumo::Helper::convertCartesianToRoadMap(), NLDetectorBuilder::createEdgeLaneMeanData(), MSCalibrator::currentFlow(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), MSInsertionControl::determineCandidates(), TraCIServer::dispatchCommand(), GUITrafficLightLogicWrapper::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUILane::drawLinkNo(), GUILane::drawLinkRules(), GUILane::drawMarkings(), GUILane::drawTLSLinkNo(), MSVehicleType::duplicateType(), MSActuatedTrafficLightLogic::duration(), GUITriggerBuilder::endParkingArea(), GUITriggerBuilder::endStoppingPlace(), MSVehicle::enterLaneAtInsertion(), MSDevice::equippedByDefaultAssignmentOptions(), METriggeredCalibrator::execute(), MSCalibrator::execute(), Command_SaveTLCoupledLaneDet::execute(), Command_SaveTLCoupledDet::execute(), MSVTypeProbe::execute(), MSPerson::MSPersonStage_Access::ProceedCmd::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), libsumo::Simulation::findIntermodalRoute(), libsumo::Simulation::findRoute(), MSActuatedTrafficLightLogic::gapControl(), MSDevice_Tripinfo::generateOutputForUnfinished(), libsumo::Edge::getAdaptedTraveltime(), MSTransportable::Stage_Waiting::getAngle(), MSTransportable::Stage_Driving::getAngle(), MSTransportable::getAngle(), MSVehicle::getBackPositionOnLane(), libsumo::Simulation::getBusStopWaiting(), GUIEdge::getColorValue(), GUILane::getColorValue(), MSLane::getCriticalLeader(), MSInductLoop::getCurrentLength(), MSInductLoop::getCurrentOccupancy(), MSInductLoop::getCurrentPassedNumber(), MSSOTLTrafficLightLogic::getCurrentPhaseElapsed(), MSLaneSpeedTrigger::getCurrentSpeed(), MSInductLoop::getCurrentSpeed(), libsumo::Simulation::getCurrentTime(), GUIViewTraffic::getCurrentTimeStep(), MSEventControl::getCurrentTimeStep(), MSInductLoop::getCurrentVehicleIDs(), libsumo::MultiEntryExit::getDetector(), libsumo::LaneArea::getDetector(), libsumo::InductionLoop::getDetector(), libsumo::Simulation::getDistance2D(), libsumo::Simulation::getDistanceRoad(), MSTransportable::getEdgePos(), libsumo::Edge::getEffort(), MSNet::getEffort(), MSLane::getFirstVehicleInformation(), getGUIInstance(), libsumo::LaneArea::getIDCount(), libsumo::MultiEntryExit::getIDCount(), libsumo::Person::getIDCount(), libsumo::InductionLoop::getIDCount(), libsumo::LaneArea::getIDList(), libsumo::Polygon::getIDList(), libsumo::MultiEntryExit::getIDList(), libsumo::Person::getIDList(), libsumo::InductionLoop::getIDList(), libsumo::POI::getIDList(), libsumo::Junction::getIDList(), libsumo::TrafficLight::getIDList(), libsumo::Vehicle::getIDList(), libsumo::VehicleType::getIDList(), libsumo::Junction::getJunction(), libsumo::Edge::getLastStepPersonIDs(), MSLane::getLastVehicleInformation(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), libsumo::Lane::getLinks(), GUILane::getLoadedEdgeWeight(), MSLane::getMaximumBrakeDist(), MESegment::getMeanSpeed(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), libsumo::Simulation::getMinExpectedNumber(), MSPModel::getModel(), MSCModel_NonInteracting::getModel(), MSPModel_Striping::getNextLane(), libsumo::Simulation::getParameter(), MSInsertionControl::getPendingEmits(), GUILane::getPendingEmits(), libsumo::Person::getPerson(), MSTLLogicControl::getPhaseDef(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), libsumo::POI::getPoI(), libsumo::Polygon::getPolygon(), MSPModel_NonInteracting::PState::getPosition(), MSTransportable::Stage_Waiting::getPosition(), MSTransportable::Stage_Driving::getPosition(), MSTransportable::getPosition(), MSVehicle::getPosition(), MSVTKExport::getPositions(), MSVehicle::Influencer::getRouterTT(), GUIEdge::getScaleValue(), GUILane::getScaleValue(), MSBaseVehicle::getSingularType(), MSVTKExport::getSpeed(), MSTrafficLightLogic::getSpentDuration(), GUILane::getStoredEdgeTravelTime(), MSEdge::getSuccessors(), libsumo::TrafficLight::getTLS(), MSNet::getTravelTime(), MSEdge::getTravelTimeStatic(), libsumo::Junction::getTree(), libsumo::InductionLoop::getTree(), libsumo::Polygon::getTree(), libsumo::POI::getTree(), libsumo::Vehicle::getVehicle(), libsumo::InductionLoop::getVehicleData(), MSEdge::getViaSuccessors(), libsumo::VehicleType::getVType(), MSTransportable::getWaitingSeconds(), MSLink::getZipperSpeed(), GUIBusStop::GUIBusStop(), GUIContainerStop::GUIContainerStop(), GUIParkingArea::GUIParkingArea(), MSLane::handleCollisionBetween(), MSPModel_Striping::PState::ignoreRed(), MSVehicle::ignoreRed(), MSLane::incorporateVehicle(), MSVehicle::influenceChangeDecision(), MSRailCrossing::init(), MSDevice_Vehroutes::init(), MSRailSignal::init(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSLaneSpeedTrigger::init(), MSCalibrator::init(), MSMeanData::init(), MSDevice_ToC::initColorScheme(), MSRoutingEngine::initEdgeWeights(), TraCIServer::initialiseSubscription(), MSLane::initRestrictions(), MSTLLogicControl::initWautSwitch(), MSRoutingEngine::initWeightUpdate(), MSEdge::insertVehicle(), MSLane::isInsertionSuccess(), libsumo::Vehicle::isOnInit(), MSPerson::Influencer::isRemoteControlled(), MSVehicle::Influencer::isRemoteControlled(), MSSOTLTrafficLightLogic::isThresholdPassed(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSTransportableControl::loadAnyWaiting(), MSVehicleTransfer::loadState(), libsumo::Vehicle::moveTo(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), MSContainer::MSContainerStage_Tranship::moveToNextEdge(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), MSDevice_DriverState::MSDevice_DriverState(), MSDevice_Routing::MSDevice_Routing(), MSDevice_ToC::MSDevice_ToC(), MSParkingArea::MSParkingArea(), MSPersonDevice_Routing::MSPersonDevice_Routing(), MSTrafficLightLogic::MSTrafficLightLogic(), MSVTypeProbe::MSVTypeProbe(), GUITriggeredRerouter::myEndElement(), MSRouteHandler::myEndElement(), MSTriggeredRerouter::myEndElement(), MSStateHandler::myStartElement(), MSRouteHandler::myStartElement(), MSCalibrator::myStartElement(), MSTriggeredRerouter::myStartElement(), MSDevice_Transportable::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSDevice_Routing::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Vehroutes::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Transportable::notifyMove(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), GUISUMOViewParent::onCmdLocate(), GUIApplicationWindow::onCmdSaveState(), MSBaseVehicle::onDepart(), GUIViewTraffic::onGamingClick(), TraCIServer::openSocket(), MSRouteHandler::openVehicleTypeDistribution(), MSRouteHandler::parseWalkPositions(), MSVehicle::planMoveInternal(), libsumo::Helper::postProcessRemoteControl(), MSPerson::Influencer::postProcessRemoteControl(), TraCIServer::postProcessSimulationStep(), MESegment::prepareDetectorForWriting(), MSPerson::MSPersonStage_Walking::proceed(), TraCIServer::processCommandsUntilSimStep(), MSDevice_SSM::processEncounters(), TraCIServerAPI_TrafficLight::processGet(), MSVehicle::processLaneAdvances(), MSVehicle::processNextStop(), TraCIServerAPI_GUI::processSet(), TraCIServerAPI_Vehicle::processSet(), TraCIServerAPI_Person::processSet(), MEVehicle::processStop(), MSVehicle::processTraCISpeedControl(), MSPModel_Striping::PState::PState(), MESegment::receive(), libsumo::Helper::registerVehicleStateListener(), METriggeredCalibrator::remainingVehicleCapacity(), MSCalibrator::remainingVehicleCapacity(), libsumo::Polygon::remove(), libsumo::POI::remove(), libsumo::Vehicle::remove(), MSCalibrator::removePending(), MSTransportable::removeStage(), MSVehicle::replaceRoute(), MEVehicle::replaceRoute(), MSBaseVehicle::replaceVehicleType(), MSTransportable::replaceVehicleType(), MSDevice_ToC::requestToC(), MSRoutingEngine::reroute(), MSBaseVehicle::reroute(), libsumo::Vehicle::rerouteEffort(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), libsumo::Person::rerouteTraveltime(), libsumo::Vehicle::rerouteTraveltime(), MSVehicle::resetActionOffset(), MSSOTLTrafficLightLogic::resetCTS(), MSTrafficLightLogic::resetLinkStates(), MSVehicle::resumeFromStopping(), MSContainer::routeOutput(), MSPerson::routeOutput(), MSStateHandler::saveRNGs(), MSStateHandler::saveState(), libsumo::Simulation::saveState(), MSVehicleControl::scheduleVehicleRemoval(), TraCIServer::sendOutputToAll(), MSVehicleType::setActionStepLength(), MSTransportable::Stage_Trip::setArrived(), MSVehicle::setBlinkerInformation(), libsumo::TrafficLight::setCompleteRedYellowGreenDefinition(), libsumo::Edge::setEffort(), GUIBaseVehicle::setFunctionalColor(), MSLaneSpeedTrigger::setOverriding(), MSLaneSpeedTrigger::setOverridingValue(), MSPersonDevice_Routing::setParameter(), MSDevice_ToC::setParameter(), MSTriggeredRerouter::setPermissions(), libsumo::TrafficLight::setPhase(), libsumo::TrafficLight::setPhaseDuration(), libsumo::POI::setPosition(), libsumo::TrafficLight::setProgram(), libsumo::TrafficLight::setRedYellowGreenState(), libsumo::Polygon::setShape(), libsumo::Vehicle::setSpeed(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSPhasedTrafficLightLogic::setStep(), libsumo::Person::setType(), libsumo::Vehicle::setType(), MSSOTLTrafficLightLogic::setupCTS(), signalHandler(), libsumo::Vehicle::slowDown(), libsumo::Simulation::step(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), MSDevice_ToC::switchHolderType(), MSTLLogicControl::TLSLogicVariants::switchTo(), MELoop::teleportVehicle(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), METriggeredCalibrator::tryEmit(), MSInsertionControl::tryInsert(), MSSimpleTrafficLightLogic::trySwitch(), MSDelayBasedTrafficLightLogic::trySwitch(), MSRailCrossing::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), MSRailSignal::trySwitch(), MSSOTLTrafficLightLogic::trySwitch(), MSVehicle::updateActionOffset(), MSSOTLTrafficLightLogic::updateCTS(), MSRailCrossing::updateCurrentPhase(), MSSOTLTrafficLightLogic::updateDecayThreshold(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSPModel_Remote::usingInternalLanes(), MSPModel_Striping::usingInternalLanesStatic(), MSDetectorFileOutput::vehicleApplies(), MSTriggeredRerouter::vehicleApplies(), MSVehicleControl::vehicleDeparted(), MSPModel_Striping::PState::walk(), MSVehicle::wasRemoteControlled(), MSBatteryExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSAmitranTrajectories::write(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), MSQueueExport::writeEdge(), MSFullExport::writeEdge(), MSDevice_Vehroutes::writeOutput(), MSNet::writeOutput(), MSFullExport::writeTLS(), MSFullExport::writeVehicles(), MSDevice_BTreceiver::BTreceiverUpdate::~BTreceiverUpdate(), MSTransportable::~MSTransportable(), and MSVehicle::~MSVehicle().
|
inherited |
Definition at line 944 of file MSNet.cpp.
References MSNet::adaptIntermodalRouter(), IntermodalNetwork< E, L, N, V >::ALL_JUNCTIONS, OptionsCont::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), MSNet::myIntermodalRouter, IntermodalNetwork< E, L, N, V >::PARKING_AREAS, IntermodalNetwork< E, L, N, V >::PT_STOPS, and ROUTING_MODE_COMBINED.
Referenced by libsumo::Simulation::findIntermodalRoute(), MSTransportable::Stage_Trip::setArrived(), and MSNet::VehicleStateListener::~VehicleStateListener().
|
inlineinherited |
Returns the junctions control.
Definition at line 399 of file MSNet.h.
References MSNet::myJunctions.
Referenced by libsumo::Junction::getIDList(), and libsumo::Junction::getJunction().
std::vector< GUIGlID > GUINet::getJunctionIDs | ( | bool | includeInternal | ) | const |
Definition at line 227 of file GUINet.cpp.
References myJunctionWrapper.
Referenced by getAvgWalkTimeLoss(), and getParameterWindow().
Position GUINet::getJunctionPosition | ( | const std::string & | name | ) | const |
returns the position of a junction
Definition at line 172 of file GUINet.cpp.
References NamedObjectCont< T >::get(), MSJunction::getPosition(), and MSNet::myJunctions.
|
inherited |
Returns an RTree that contains lane IDs.
Definition at line 990 of file MSNet.cpp.
References MSLane::fill(), and MSNet::myLanesRTree.
Referenced by MSNet::VehicleStateListener::~VehicleStateListener().
int GUINet::getLinkTLID | ( | MSLink * | 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 185 of file GUINet.cpp.
References MSTLLogicControl::getActive(), myLinks2Logic, MSNet::myLogics, and myLogics2Wrapper.
Referenced by GUILane::drawLinkRule(), and getAvgWalkTimeLoss().
int GUINet::getLinkTLIndex | ( | MSLink * | 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 200 of file GUINet.cpp.
References MSTLLogicControl::getActive(), myLinks2Logic, MSNet::myLogics, and myLogics2Wrapper.
Referenced by GUILane::drawTLSLinkNo(), and getAvgWalkTimeLoss().
double GUINet::getMeanRTFactor | ( | int | duration | ) | const |
Returns the simulation speed as a factor to real time.
Definition at line 353 of file GUINet.cpp.
References myOverallSimDuration.
double GUINet::getMeanUPS | ( | ) | const |
Returns the update per seconds rate.
Definition at line 362 of file GUINet.cpp.
References myOverallSimDuration, and MSNet::myVehiclesMoved.
Referenced by getParameterWindow().
|
virtualinherited |
Returns the id of the object as known to microsim.
Definition at line 143 of file GUIGlObject.cpp.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GUIGlObject::drawName(), GNEAdditional::getAdditionalID(), GNEConnection::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), GNEDialogACChooser::getObjectName(), GUIDialog_GLObjChooser::getObjectName(), GNEVaporizer::getParentName(), GNERouteProbe::getParentName(), GNEDetectorE3::getParentName(), GNECalibratorRoute::getParentName(), GNEParkingSpace::getParentName(), GNEVariableSpeedSign::getParentName(), GNECalibratorVehicleType::getParentName(), GNERerouter::getParentName(), GNELane::getParentName(), GNEStoppingPlace::getParentName(), GNECalibrator::getParentName(), GNETAZ::getParentName(), GNEDetector::getParentName(), GNEPoly::getParentName(), GNEPOI::getParentName(), GNETLSEditorFrame::handleMultiChange(), GNEEdge::isValid(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNEInspectorFrame::TemplateEditor::onUpdCopyTemplate(), GNENet::registerEdge(), GNENet::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNEEdge::removeConnection(), GNEEdge::setAttribute(), GNENet::splitEdge(), GNEProhibitionFrame::updateDescription(), and GNEConnection::updateID().
|
inlineinherited |
return the network version
Definition at line 620 of file MSNet.h.
References MSNet::myVersion, and MSNet::warnOnce().
|
virtual |
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 411 of file GUINet.cpp.
References GUIParameterTableWindow::closeBuilding(), MSVehicleControl::getArrivedVehicleNo(), getAvgDepartDelay(), getAvgDuration(), getAvgRouteLength(), getAvgTimeLoss(), getAvgTripSpeed(), getAvgWaitingTime(), getAvgWalkDuration(), getAvgWalkRouteLength(), getAvgWalkTimeLoss(), MSVehicleControl::getCollisionCount(), MSVehicleControl::getDepartedVehicleNo(), MSVehicleControl::getDiscardedVehicleNo(), MSVehicleControl::getHaltingVehicleNo(), getIdleDuration(), GUIEdge::getIDs(), MSNet::getInsertionControl(), MSTransportableControl::getJammedNumber(), getJunctionIDs(), MSTransportableControl::getLoadedNumber(), MSVehicleControl::getLoadedVehicleNo(), getMeanUPS(), OptionsCont::getOptions(), getPersonControl(), getRTFactor(), MSTransportableControl::getRunningNumber(), MSVehicleControl::getRunningVehicleNo(), getSimDuration(), MSVehicleControl::getTeleportCount(), GUIEdge::getTotalLength(), getUPS(), MSNet::getVehicleControl(), MSVehicleControl::getVehicleMeanSpeed(), MSVehicleControl::getVehicleMeanSpeedRelative(), MSInsertionControl::getWaitingVehicleNo(), getWholeDuration(), MSNet::logSimulationDuration(), GUIParameterTableWindow::mkItem(), MSNet::myPersonControl, MSNet::myVersion, and toString().
Referenced by GUIApplicationWindow::onCmdShowStats().
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNEPOI, GNEPoly, GNEDetector, GNETAZ, GNECalibrator, GNEStoppingPlace, GUILane, GNELane, GNECalibratorVehicleType, GNERerouter, GNEAccess, GNEVariableSpeedSign, GNECalibratorFlow, GNERerouterInterval, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, GNETAZSink, GNETAZSource, and GNEVaporizer.
Definition at line 123 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
inherited |
Definition at line 934 of file MSNet.cpp.
References MSNet::myPedestrianRouter, and PedestrianRouter< E, L, N, V >::prohibit().
Referenced by MSPModel_Striping::getNextLane(), MSPModel_Striping::PState::PState(), libsumo::Person::rerouteTraveltime(), and MSNet::VehicleStateListener::~VehicleStateListener().
|
virtual |
Returns the person control.
If the person control does not exist, yet, it is created.
Reimplemented from MSNet.
Definition at line 114 of file GUINet.cpp.
References MSNet::myPersonControl.
Referenced by getAvgWalkTimeLoss(), getParameterWindow(), and GUIApplicationWindow::handleEvent_SimulationStep().
|
virtual |
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 399 of file GUINet.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
inherited |
Returns the restrictions for an edge type If no restrictions are present, 0 is returned.
[in] | id | The id of the type |
Definition at line 302 of file MSNet.cpp.
References MSNet::myRestrictions.
Referenced by MSLane::initRestrictions(), and MSNet::setPermissionsFound().
|
inherited |
Definition at line 923 of file MSNet.cpp.
References MSEdge::getAllEdges(), MSNet::getEffort(), MSNet::getTravelTime(), and MSNet::myRouterEffort.
Referenced by MSNet::VehicleStateListener::~VehicleStateListener().
|
inherited |
Definition at line 903 of file MSNet.cpp.
References MSEdge::getAllEdges(), OptionsCont::getOptions(), OptionsCont::getString(), MSNet::getTravelTime(), MSNet::myRouterTT, and WRITE_WARNING.
Referenced by TraCIServerAPI_Simulation::commandDistanceRequest(), libsumo::Simulation::findRoute(), libsumo::Simulation::getDistance2D(), libsumo::Simulation::getDistanceRoad(), MSVehicle::Influencer::getRouterTT(), MSTriggeredRerouter::notifyEnter(), MSTriggeredRerouter::rerouteParkingArea(), and MSNet::VehicleStateListener::~VehicleStateListener().
double GUINet::getRTFactor | ( | ) | const |
Returns the simulation speed as a factor to real time.
Definition at line 335 of file GUINet.cpp.
References DELTA_T, and myLastSimDuration.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the shapes container.
Definition at line 439 of file MSNet.h.
References MSNet::addStoppingPlace(), MSNet::getStoppingPlace(), MSNet::getStoppingPlaceID(), MSNet::getWeightsStorage(), MSNet::myShapeContainer, and MSNet::writeChargingStationOutput().
Referenced by libsumo::Polygon::add(), libsumo::POI::add(), NLHandler::addDistrict(), NLBuilder::build(), libsumo::Polygon::getIDList(), libsumo::POI::getIDList(), libsumo::POI::getPoI(), libsumo::Polygon::getPolygon(), libsumo::Polygon::getTree(), libsumo::POI::getTree(), GUISUMOViewParent::onCmdLocate(), GUIApplicationWindow::onCmdOpenShapes(), libsumo::Polygon::remove(), libsumo::POI::remove(), libsumo::POI::setPosition(), and libsumo::Polygon::setShape().
int GUINet::getSimDuration | ( | ) | const |
Returns the duration of the last step's simulation part (in ms)
Definition at line 321 of file GUINet.cpp.
References myLastSimDuration.
Referenced by getParameterWindow().
|
staticinherited |
Returns the message to show if a certain state occurs.
Definition at line 595 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 GUIApplicationWindow::handleEvent_SimulationEnded(), GUIRunThread::makeStep(), MSNet::setPermissionsFound(), 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 869 of file MSNet.cpp.
References MSNet::myStoppingPlaces.
Referenced by MSRouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStopAtStoppingPlace(), libsumo::Person::appendDrivingStage(), libsumo::Person::appendWaitingStage(), libsumo::Person::appendWalkingStage(), libsumo::Simulation::getBusStopWaiting(), libsumo::Simulation::getParameter(), MSNet::getShapeContainer(), MSRouteHandler::myStartElement(), MSTriggeredRerouter::myStartElement(), MSDevice_Battery::notifyMove(), MSRouteHandler::parseWalkPositions(), MSVehicle::rerouteParkingArea(), and MSTransportable::Stage_Trip::setArrived().
|
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 878 of file MSNet.cpp.
References MSStoppingPlace::getBeginLanePosition(), MSStoppingPlace::getEndLanePosition(), Named::getID(), MSStoppingPlace::getLane(), MSNet::myStoppingPlaces, and POSITION_EPS.
Referenced by MSNet::getShapeContainer(), and MSDevice_Battery::notifyMove().
|
inlineinherited |
Returns the tls logics control.
Definition at line 389 of file MSNet.h.
References MSNet::myLogics.
Referenced by NLBuilder::build(), NLDiscreteEventBuilder::buildSaveTLStateCommand(), NLDiscreteEventBuilder::buildSaveTLSwitchesCommand(), NLDiscreteEventBuilder::buildSaveTLSwitchStatesCommand(), libsumo::TrafficLight::getIDList(), NLJunctionControlBuilder::getTLLogicControlToUse(), libsumo::TrafficLight::getTLS(), initTLMap(), GUIViewTraffic::onGamingClick(), TraCIServerAPI_TrafficLight::processGet(), and MSFullExport::writeTLS().
std::vector< GUIGlID > GUINet::getTLSIDs | ( | ) | const |
Returns the gl-ids of all traffic light logics within the net.
Definition at line 239 of file GUINet.cpp.
References myLogics2Wrapper.
Referenced by getAvgWalkTimeLoss().
|
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 148 of file MSNet.cpp.
References MSNet::getInstance(), MSEdge::getMinimumTravelTime(), MSVehicle::getWeightsStorage(), MSNet::getWeightsStorage(), and MSEdgeWeightsStorage::retrieveExistingTravelTime().
Referenced by MSNet::getRouterEffort(), MSNet::getRouterTT(), MSEdge::getTravelTimeStatic(), MSRoutingEngine::initEdgeWeights(), MSRoutingEngine::reroute(), and MSNet::VehicleStateListener::~VehicleStateListener().
|
inherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 156 of file GUIGlObject.cpp.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GNEAdditional::BlockIcon::draw(), GNEAdditional::ChildConnections::draw(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIVehicle::drawAction_drawRailCarriages(), GUIPerson::drawAction_drawWalkingareaPath(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEJunction::drawGL(), GNEVariableSpeedSign::drawGL(), GNECrossing::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdBegin2TrackPhases(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideLFLinkItems(), GUIPerson::GUIPersonPopupMenu::onCmdHideWalkingareaPath(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFoes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowLFLinkItems(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdShowPhases(), GUIPerson::GUIPersonPopupMenu::onCmdShowWalkingareaPath(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStopTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStopTrack(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLS2Off(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLSLogic(), GNEShape::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNENetElement::unselectAttributeCarrier(), and GNEShape::unselectAttributeCarrier().
|
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, GUIBaseVehicle, GUIMEVehicle, GUIPerson, and GUIContainer.
Definition at line 135 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
double GUINet::getUPS | ( | ) | const |
Returns the update per seconds rate.
Definition at line 344 of file GUINet.cpp.
References myLastSimDuration, and myLastVehicleMovementCount.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the vehicle control.
Definition at line 316 of file MSNet.h.
References MSNet::getPersonControl(), and MSNet::myVehicleControl.
Referenced by MSNet::adaptIntermodalRouter(), libsumo::Person::add(), MSVehicleTransfer::add(), libsumo::Vehicle::add(), MSRouteHandler::addPersonTrip(), MELoop::changeSegment(), GUIApplicationWindow::checkGamingEvents(), MSVehicleTransfer::checkInsertions(), MSRouteHandler::closeContainer(), MSRouteHandler::closePerson(), MSStateHandler::closeVehicle(), MSRouteHandler::closeVehicle(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), MSInsertionControl::determineCandidates(), MSDevice::equippedByDefaultAssignmentOptions(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSVTypeProbe::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), libsumo::Simulation::findIntermodalRoute(), libsumo::Simulation::findRoute(), libsumo::Vehicle::getIDList(), libsumo::VehicleType::getIDList(), MSLane::getMaximumBrakeDist(), libsumo::Simulation::getMinExpectedNumber(), getParameterWindow(), MSVTKExport::getPositions(), MSVTKExport::getSpeed(), libsumo::Vehicle::getVehicle(), libsumo::VehicleType::getVType(), MSLane::handleCollisionBetween(), GUIApplicationWindow::handleEvent_SimulationStep(), MSDevice_ToC::initColorScheme(), libsumo::Vehicle::isOnInit(), libsumo::Vehicle::moveTo(), MSDevice_ToC::MSDevice_ToC(), MSStateHandler::myStartElement(), MSRouteHandler::myStartElement(), MSCalibrator::myStartElement(), MSDevice_Bluelight::notifyMove(), GUIApplicationWindow::onCmdDemandScale(), GUISUMOViewParent::onCmdLocate(), MSBaseVehicle::onDepart(), MSRouteHandler::openVehicleTypeDistribution(), MSContainer::MSContainerStage_Driving::proceed(), MSPerson::MSPersonStage_Driving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processNextStop(), TraCIServerAPI_GUI::processSet(), TraCIServerAPI_Vehicle::processSet(), MEVehicle::processStop(), MESegment::receive(), METriggeredCalibrator::remainingVehicleCapacity(), MSCalibrator::remainingVehicleCapacity(), libsumo::Vehicle::remove(), MSCalibrator::removePending(), MSBaseVehicle::replaceVehicleType(), MSTransportable::replaceVehicleType(), MSVehicle::resumeFromStopping(), MSStateHandler::saveState(), MSVehicleType::setActionStepLength(), MSTransportable::Stage_Trip::setArrived(), MSDevice_ToC::setParameter(), setSimDuration(), libsumo::Person::setType(), libsumo::Vehicle::setType(), MSDevice_ToC::switchHolderType(), MELoop::teleportVehicle(), METriggeredCalibrator::tryEmit(), MSDetectorFileOutput::vehicleApplies(), MSTriggeredRerouter::vehicleApplies(), MSBatteryExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSAmitranTrajectories::write(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), MSNet::writeOutput(), MSFullExport::writeVehicles(), MSTransportable::~MSTransportable(), and MSVehicle::~MSVehicle().
|
inline |
|
inline |
Returns the RTree used for visualisation speed-up.
Definition at line 291 of file GUINet.h.
References createTLWrapper(), getGUIInstance(), getGUIMEVehicleControl(), getGUIVehicleControl(), initTLMap(), lock(), myGrid, and unlock().
|
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 793 of file MSNet.cpp.
References MSNet::myEdgeWeights.
Referenced by libsumo::Edge::adaptTraveltime(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), GUILane::getColorValue(), MSNet::getEffort(), GUILane::getLoadedEdgeWeight(), GUILane::getScaleValue(), MSNet::getShapeContainer(), GUILane::getStoredEdgeTravelTime(), MSNet::getTravelTime(), and libsumo::Edge::setEffort().
int GUINet::getWholeDuration | ( | ) | const |
Returns the duration of the last step (sim+visualisation+idle) (in ms)
Definition at line 315 of file GUINet.cpp.
References myLastIdleDuration, and myLastSimDuration.
Referenced by getParameterWindow().
void GUINet::guiSimulationStep | ( | ) |
Some further steps needed for gui processing.
Definition at line 213 of file GUINet.cpp.
References GLObjectValuePassConnector< T >::updateAll().
Referenced by GUIRunThread::makeStep().
|
inlineinherited |
Returns whether containers are simulated.
Definition at line 349 of file MSNet.h.
References MSNet::myContainerControl.
Referenced by libsumo::Simulation::getMinExpectedNumber(), GUIApplicationWindow::handleEvent_SimulationStep(), MSVehicle::processNextStop(), and MEVehicle::processStop().
|
inlineinherited |
return whether the network contains elevation data
Definition at line 610 of file MSNet.h.
References MSNet::myHasElevation.
Referenced by MSVTypeProbe::execute().
|
inlinestaticinherited |
Returns whether the network was already constructed.
Definition at line 123 of file MSNet.h.
References MSNet::closeBuilding(), MSNet::hasInternalLinks(), MSNet::lefthand(), MSNet::MSNet(), MSNet::myInstance, and MSNet::~MSNet().
Referenced by libsumo::Simulation::close(), libsumo::Simulation::isLoaded(), and signalHandler().
|
inlineinherited |
return whether the network contains internal links
Definition at line 605 of file MSNet.h.
References MSNet::myHasInternalLinks.
Referenced by MSNet::closeBuilding(), MSDevice_Tripinfo::computeLengthAndDuration(), MSNet::hasInstance(), MSTriggeredRerouter::rerouteParkingArea(), MSPModel_Remote::usingInternalLanes(), MSPModel_Striping::usingInternalLanesStatic(), and MSDevice_Vehroutes::writeOutput().
|
inlineinherited |
Returns whether the network has specific vehicle class permissions.
Definition at line 177 of file MSNet.h.
References MSNet::myHavePermissions.
Referenced by MSRoutingEngine::reroute().
|
inlineinherited |
Returns whether persons are simulated.
Definition at line 333 of file MSNet.h.
References MSNet::getContainerControl(), and MSNet::myPersonControl.
Referenced by libsumo::Simulation::getMinExpectedNumber(), GUIApplicationWindow::handleEvent_SimulationStep(), MSVehicle::processNextStop(), and MEVehicle::processStop().
|
inherited |
Informs all added listeners about a vehicle's state change.
[in] | vehicle | The vehicle which changed its state |
[in] | to | The state the vehicle has changed to |
[in] | info | Information regarding the replacement |
Definition at line 855 of file MSNet.cpp.
References MSNet::myVehicleStateListeners.
Referenced by MSVehicleTransfer::add(), MEVehicleControl::buildVehicle(), GUIMEVehicleControl::buildVehicle(), GUIVehicleControl::buildVehicle(), MSVehicleControl::buildVehicle(), MSVehicleTransfer::checkInsertions(), MSVehicle::executeMove(), MSLane::handleCollisionBetween(), MSVehicle::processNextStop(), MSVehicle::replaceRoute(), MEVehicle::replaceRoute(), MSVehicle::resumeFromStopping(), MSVehicleControl::scheduleVehicleRemoval(), MSVehicleControl::vehicleDeparted(), and MSNet::VehicleStateListener::~VehicleStateListener().
void GUINet::initGUIStructures | ( | ) |
Initialises gui wrappers.
Definition at line 254 of file GUINet.cpp.
References Boundary::add(), SUMORTree::addAdditionalGLObject(), MSEdge::getAllEdges(), MSDetectorControl::getAvailableTypes(), GUIJunctionWrapper::getBoundary(), Boundary::getHeight(), MSEdge::getLanes(), MSDetectorControl::getTypedDetectors(), Boundary::getWidth(), Boundary::grow(), initTLMap(), LayeredRTree::Insert(), myBoundary, MSNet::myDetectorControl, myDetectorWrapper, myEdgeWrapper, myGrid, MSNet::myJunctions, myJunctionWrapper, MSPModel::SIDEWALK_OFFSET, NamedObjectCont< T >::size(), Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by getAvgWalkTimeLoss(), and GUILoadThread::run().
|
private |
Initialises the tl-logic map and wrappers.
Definition at line 132 of file GUINet.cpp.
References createTLWrapper(), MSTLLogicControl::getAllLogics(), MSNet::getTLSControl(), and myTLLogicWrapper.
Referenced by getVisualisationSpeedUp(), and initGUIStructures().
|
inlineinherited |
Definition at line 627 of file MSNet.h.
References MSNet::myAmInterrupted.
Referenced by signalHandler().
|
inlineinherited |
Definition at line 631 of file MSNet.h.
References MSNet::checkElevation(), and MSNet::myAmInterrupted.
|
inlineinherited |
return whether the network was built for lefthand traffic
Definition at line 615 of file MSNet.h.
References MSNet::myLefthand.
Referenced by MSNet::closeBuilding(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUILane::drawLinkNo(), GUILane::drawLinkRules(), GUILane::drawMarkings(), GUILane::drawTLSLinkNo(), MSTransportable::Stage_Waiting::getAngle(), MSTransportable::Stage_Driving::getAngle(), MSPModel_NonInteracting::PState::getPosition(), MSVehicle::getPosition(), GUIBusStop::GUIBusStop(), GUIContainerStop::GUIContainerStop(), GUIParkingArea::GUIParkingArea(), MSNet::hasInstance(), MSParkingArea::MSParkingArea(), and MSVehicle::setBlinkerInformation().
|
inherited |
loads routes for the next few steps
Definition at line 362 of file MSNet.cpp.
References SUMORouteLoaderControl::loadNext(), MSNet::myRouteLoaders, and MSNet::myStep.
Referenced by GUIRunThread::init(), NLBuilder::init(), MSNet::setPermissionsFound(), and MSNet::simulationStep().
void GUINet::lock | ( | ) |
grant exclusive access to the simulation state
Definition at line 519 of file GUINet.cpp.
References MFXMutex::lock(), and myLock.
Referenced by GUIViewTraffic::doPaintGL(), and getVisualisationSpeedUp().
|
inherited |
Returns whether duration shall be logged.
Definition at line 770 of file MSNet.cpp.
References MSNet::myLogExecutionTime.
Referenced by getParameterWindow(), and MSNet::setCurrentTimeStep().
|
inherited |
Prints the statistics of the step at its end.
Called on the end of a simulation step
Definition at line 808 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::setCurrentTimeStep(), and MSNet::simulate().
|
inherited |
Prints the current step number.
Called on the begin of a simulation step
Definition at line 802 of file MSNet.cpp.
References MSNet::myStep, and time2string().
Referenced by MSNet::setCurrentTimeStep(), and MSNet::simulate().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 269 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
inherited |
Removes a vehicle states listener.
[in] | listener | The listener to remove |
Definition at line 846 of file MSNet.cpp.
References MSNet::myVehicleStateListeners.
Referenced by MSNet::VehicleStateListener::~VehicleStateListener().
|
inlineinherited |
Sets the current simulation step (used by state loading)
step | the current simulation step |
Definition at line 271 of file MSNet.h.
References MSNet::logSimulationDuration(), MSNet::myStep, MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), and MSNet::writeOutput().
Referenced by GUIRunThread::init().
void GUINet::setIdleDuration | ( | int | val | ) |
Sets the duration of the last step's idle part.
Definition at line 393 of file GUINet.cpp.
References myLastIdleDuration.
Referenced by GUIRunThread::run().
|
virtualinherited |
Changes the microsimID of the object.
Reimplemented in GNEEdge.
Definition at line 149 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNEAdditional::changeAdditionalID(), GNENet::renameJunction(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNELane::setIndex(), GNEEdge::setMicrosimID(), and GNEConnection::updateID().
|
inlineinherited |
Labels the network to contain vehicle class permissions.
Definition at line 183 of file MSNet.h.
References MSNet::addRestriction(), MSNet::clearAll(), MSNet::closeSimulation(), MSNet::generateStatistics(), MSNet::getRestrictions(), MSNet::getStateMessage(), MSNet::loadRoutes(), MSNet::myHavePermissions, MSNet::simulate(), MSNet::simulationState(), and MSNet::simulationStep().
Referenced by NLHandler::addLane().
void GUINet::setSimDuration | ( | int | val | ) |
Sets the duration of the last step's simulation part.
Definition at line 377 of file GUINet.cpp.
References MSVehicleControl::getRunningVehicleNo(), MSNet::getVehicleControl(), myLastSimDuration, myLastVehicleMovementCount, myOverallSimDuration, and myOverallVehicleCount.
Referenced by GUIRunThread::run().
|
inherited |
Simulates from timestep start to stop.
[in] | start | The begin time step of the simulation |
[in] | stop | The end time step of the simulation |
Recheck return value
What exceptions may occure?
Definition at line 312 of file MSNet.cpp.
References MSNet::closeSimulation(), MSNet::getCurrentTimeStep(), TraCIServer::getInstance(), TraCIServer::getLoadArgs(), OptionsCont::getOptions(), MSNet::getStateMessage(), MSNet::myLogStepNumber, MSNet::myStep, MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), OptionsIO::setArgs(), MSNet::SIMSTATE_LOADING, MSNet::SIMSTATE_RUNNING, SIMTIME, MSNet::simulationState(), MSNet::simulationStep(), time2string(), VERSION_STRING, TraCIServer::wasClosed(), and WRITE_MESSAGE.
Referenced by main(), and MSNet::setPermissionsFound().
|
inherited |
Called after a simulation step, this method returns the current simulation state.
[in] | stopTime | The time the simulation shall stop at |
Definition at line 559 of file MSNet.cpp.
References MSVehicleControl::abortWaiting(), MSTransportableControl::abortWaitingForVehicle(), MSVehicleControl::getActiveVehicleCount(), TraCIServer::getInstance(), MSInsertionControl::getPendingFlowCount(), MSVehicleControl::getTeleportCount(), MSTransportableControl::hasNonWaiting(), MSNet::myAmInterrupted, MSNet::myContainerControl, 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::makeStep(), MSNet::setPermissionsFound(), and MSNet::simulate().
void GUINet::simulationStep | ( | ) |
Performs a single simulation step (locking the simulation)
Definition at line 220 of file GUINet.cpp.
References myLock, and MSNet::simulationStep().
Referenced by GUIRunThread::makeStep().
void GUINet::unlock | ( | ) |
release exclusive access to the simulation state
Definition at line 525 of file GUINet.cpp.
References myLock, and MFXMutex::unlock().
Referenced by GUIViewTraffic::doPaintGL(), and getVisualisationSpeedUp().
bool GUINet::vehicleExists | ( | const std::string & | name | ) | const |
returns the information whether the vehicle still exists
Definition at line 179 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 1014 of file MSNet.cpp.
References MSNet::myWarnedOnce.
Referenced by MSVehicle::addStop(), and MSNet::getNetworkVersion().
|
inherited |
write charging station output
Definition at line 892 of file MSNet.cpp.
References OutputDevice::getDeviceByOption(), MSNet::myStoppingPlaces, and SUMO_TAG_CHARGING_STATION.
Referenced by MSNet::closeSimulation(), and MSNet::getShapeContainer().
|
inherited |
Write netstate, summary and detector output.
Definition at line 645 of file MSNet.cpp.
References OutputDevice::closeTag(), DELTA_T, MSDevice_ToC::generatesOutput(), MSVehicleControl::getDepartedVehicleNo(), OutputDevice::getDeviceByOption(), MSEdgeControl::getEdges(), MSVehicleControl::getEndedVehicleNo(), MSVehicleControl::getHaltingVehicleNo(), MSNet::getInstance(), MSDevice_ToC::getInstances(), MSDevice_SSM::getInstances(), OptionsCont::getInt(), MSVehicleControl::getLoadedVehicleNo(), OptionsCont::getOptions(), MSVehicleControl::getRunningVehicleNo(), OptionsCont::getString(), MSVehicleControl::getTotalDepartureDelay(), MSVehicleControl::getTotalTravelTime(), MSNet::getVehicleControl(), MSVehicleControl::getVehicleMeanSpeeds(), MSInsertionControl::getWaitingVehicleNo(), OptionsCont::isSet(), MSNet::myDetectorControl, MSNet::myEdges, MSNet::myHasElevation, MSNet::myInserter, MSNet::myLogExecutionTime, MSNet::mySimStepDuration, MSNet::myStep, MSNet::myVehicleControl, OutputDevice::openTag(), STEPS2TIME, SUMO_ATTR_ID, time2string(), MSDevice_SSM::updateAndWriteOutput(), MSDetectorControl::updateDetectors(), MSVTKExport::write(), MSQueueExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSFullExport::write(), MSAmitranTrajectories::write(), MSXMLRawOut::write(), OutputDevice::writeAttr(), MSDevice_ToC::writeOutput(), and MSDetectorControl::writeOutput().
Referenced by MSNet::setCurrentTimeStep(), and MSNet::simulationStep().
|
friend |
Definition at line 84 of file GUINet.h.
Referenced by createTLWrapper().
|
staticinherited |
Definition at line 70 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOAbstractView::paintGL(), and GUIViewTraffic::stopTrack().
|
protectedinherited |
whether an interrupt occured
Definition at line 654 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 678 of file MSNet.h.
Referenced by MSNet::getBeginOfTimestepEvents(), MSNet::MSNet(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protected |
The networks boundary.
Definition at line 340 of file GUINet.h.
Referenced by getBoundary(), and initGUIStructures().
|
protectedinherited |
Controls container building and deletion;.
Definition at line 666 of file MSNet.h.
Referenced by getContainerControl(), MSNet::getContainerControl(), MSNet::hasContainers(), MSNet::MSNet(), MSNet::simulationState(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protectedinherited |
Controls detectors;.
Definition at line 676 of file MSNet.h.
Referenced by MSNet::closeSimulation(), MSNet::getDetectorControl(), initGUIStructures(), MSNet::MSNet(), MSNet::writeOutput(), and MSNet::~MSNet().
|
protected |
A detector dictionary.
Definition at line 352 of file GUINet.h.
Referenced by initGUIStructures(), and ~GUINet().
|
protectedinherited |
Controls edges, performs vehicle movement;.
Definition at line 668 of file MSNet.h.
Referenced by MSNet::checkElevation(), MSNet::closeBuilding(), MSNet::getEdgeControl(), MSNet::MSNet(), MSNet::simulationStep(), MSNet::writeOutput(), and MSNet::~MSNet().
|
protectedinherited |
The net's knowledge about edge efforts/travel times;.
Definition at line 686 of file MSNet.h.
Referenced by MSNet::getWeightsStorage(), MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
Wrapped MS-edges.
Definition at line 343 of file GUINet.h.
Referenced by getGUIMEVehicleControl(), and initGUIStructures().
|
protectedinherited |
Controls events executed at the end of a time step;.
Definition at line 680 of file MSNet.h.
Referenced by MSNet::getEndOfTimestepEvents(), MSNet::MSNet(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protected |
The visualization speed-up.
Definition at line 337 of file GUINet.h.
Referenced by createTLWrapper(), getVisualisationSpeedUp(), and initGUIStructures().
|
protectedinherited |
Whether the network contains elevation data.
Definition at line 738 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 735 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::hasInternalLinks().
|
protectedinherited |
Whether the network contains edges which not all vehicles may pass.
Definition at line 729 of file MSNet.h.
Referenced by MSNet::hasPermissions(), and MSNet::setPermissionsFound().
|
protectedinherited |
Controls vehicle insertion;.
Definition at line 674 of file MSNet.h.
Referenced by MSNet::generateStatistics(), MSNet::getInsertionControl(), MSNet::MSNet(), MSNet::postSimStepOutput(), MSNet::simulationState(), MSNet::simulationStep(), MSNet::writeOutput(), and MSNet::~MSNet().
|
protectedinherited |
Controls insertion events;.
Definition at line 682 of file MSNet.h.
Referenced by MSNet::getInsertionEvents(), MSNet::MSNet(), MSNet::simulationStep(), and MSNet::~MSNet().
|
staticprotectedinherited |
Unique instance of MSNet.
Definition at line 642 of file MSNet.h.
Referenced by MSNet::adaptIntermodalRouter(), MSNet::getInstance(), MSNet::hasInstance(), MSNet::MSNet(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 762 of file MSNet.h.
Referenced by MSNet::getIntermodalRouter(), and MSNet::~MSNet().
|
protectedinherited |
Controls junctions, realizes right-of-way rules;.
Definition at line 670 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::getJunctionControl(), getJunctionPosition(), initGUIStructures(), MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
Wrapped MS-junctions.
Definition at line 346 of file GUINet.h.
Referenced by getGUIMEVehicleControl(), getJunctionIDs(), initGUIStructures(), and ~GUINet().
|
mutableprotectedinherited |
An RTree structure holding lane IDs.
Definition at line 766 of file MSNet.h.
Referenced by MSNet::getLanesRTree(), MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
Definition at line 368 of file GUINet.h.
Referenced by getIdleDuration(), getWholeDuration(), and setIdleDuration().
|
protected |
The step durations (simulation, /*visualisation, */idle)
Definition at line 368 of file GUINet.h.
Referenced by getRTFactor(), getSimDuration(), getUPS(), getWholeDuration(), and setSimDuration().
|
protected |
Definition at line 370 of file GUINet.h.
Referenced by getUPS(), and setSimDuration().
|
protectedinherited |
Whether the network was built for left-hand traffic.
Definition at line 741 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::lefthand().
|
protected |
The link-to-logic-id map.
Definition at line 358 of file GUINet.h.
Referenced by createTLWrapper(), getLinkTLID(), and getLinkTLIndex().
|
mutableprivate |
|
protectedinherited |
Information whether the simulation duration shall be logged.
Definition at line 695 of file MSNet.h.
Referenced by MSNet::closeSimulation(), MSNet::logSimulationDuration(), MSNet::MSNet(), MSNet::postSimStepOutput(), MSNet::simulationStep(), and MSNet::writeOutput().
|
protectedinherited |
Controls tls logics, realizes waiting on tls rules;.
Definition at line 672 of file MSNet.h.
Referenced by MSNet::closeBuilding(), createTLWrapper(), getLinkTLID(), getLinkTLIndex(), MSNet::getTLSControl(), MSNet::MSNet(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protected |
The traffic light-to-wrapper map.
Definition at line 364 of file GUINet.h.
Referenced by createTLWrapper(), getLinkTLID(), getLinkTLIndex(), getTLSIDs(), and ~GUINet().
|
protectedinherited |
Information whether the number of the simulation step shall be logged.
Definition at line 698 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::simulate().
|
protectedinherited |
Maximum number of teleports.
Definition at line 651 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::simulationState().
|
protected |
Definition at line 371 of file GUINet.h.
Referenced by getMeanRTFactor(), getMeanUPS(), and setSimDuration().
|
protected |
Definition at line 370 of file GUINet.h.
Referenced by setSimDuration().
|
mutableprotectedinherited |
Definition at line 761 of file MSNet.h.
Referenced by MSNet::getPedestrianRouter(), and MSNet::~MSNet().
|
protectedinherited |
Controls person building and deletion;.
Definition at line 664 of file MSNet.h.
Referenced by MSNet::generateStatistics(), getParameterWindow(), getPersonControl(), MSNet::getPersonControl(), MSNet::hasPersons(), MSNet::MSNet(), MSNet::simulationState(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protectedinherited |
The vehicle class specific speed restrictions.
Definition at line 732 of file MSNet.h.
Referenced by MSNet::addRestriction(), and MSNet::getRestrictions().
|
protectedinherited |
Route loader for dynamic loading of routes.
Definition at line 645 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::loadRoutes(), MSNet::MSNet(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 760 of file MSNet.h.
Referenced by MSNet::getRouterEffort(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 759 of file MSNet.h.
Referenced by MSNet::getRouterTT(), and MSNet::~MSNet().
|
protectedinherited |
A container for geometrical shapes;.
Definition at line 684 of file MSNet.h.
Referenced by MSNet::getShapeContainer(), MSNet::MSNet(), and MSNet::~MSNet().
|
protectedinherited |
The overall simulation duration.
Definition at line 704 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::generateStatistics().
|
protectedinherited |
Definition at line 701 of file MSNet.h.
Referenced by MSNet::postSimStepOutput(), MSNet::simulationStep(), and MSNet::writeOutput().
|
protectedinherited |
The names for the state files.
Definition at line 718 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
The period for writing state.
Definition at line 720 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
name components for periodic state
Definition at line 722 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Definition at line 723 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Times at which a state shall be written.
Definition at line 716 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Current time step.
Definition at line 648 of file MSNet.h.
Referenced by MSNet::closeSimulation(), MSNet::generateStatistics(), MSNet::getCurrentTimeStep(), MSNet::loadRoutes(), MSNet::MSNet(), MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), MSNet::setCurrentTimeStep(), MSNet::simulate(), MSNet::simulationState(), MSNet::simulationStep(), and MSNet::writeOutput().
|
protectedinherited |
Dictionary of bus / container stops.
Definition at line 747 of file MSNet.h.
Referenced by MSNet::adaptIntermodalRouter(), MSNet::addStoppingPlace(), MSNet::getStoppingPlace(), MSNet::getStoppingPlaceID(), and MSNet::writeChargingStationOutput().
|
protected |
|
protectedinherited |
The last simulation step duration.
Definition at line 701 of file MSNet.h.
Referenced by MSNet::postSimStepOutput(), and MSNet::simulationStep().
|
protectedinherited |
Controls vehicle building and deletion;.
Definition at line 662 of file MSNet.h.
Referenced by MSNet::generateStatistics(), getGUIMEVehicleControl(), getGUIVehicleControl(), MSNet::getVehicleControl(), MSNet::MSNet(), MSNet::postSimStepOutput(), MSNet::simulationState(), MSNet::simulationStep(), vehicleExists(), MSNet::writeOutput(), and MSNet::~MSNet().
|
protectedinherited |
The overall number of vehicle movements.
Definition at line 707 of file MSNet.h.
Referenced by MSNet::generateStatistics(), getMeanUPS(), and MSNet::simulationStep().
|
protectedinherited |
Container for vehicle state listener.
Definition at line 750 of file MSNet.h.
Referenced by MSNet::addVehicleStateListener(), MSNet::informVehicleStateListener(), and MSNet::removeVehicleStateListener().
|
protectedinherited |
the network version
Definition at line 744 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 753 of file MSNet.h.
Referenced by MSNet::warnOnce().
|
staticprotectedinherited |
string constants for simstep stages
Definition at line 770 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticprotectedinherited |
Definition at line 773 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticprotectedinherited |
Definition at line 772 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticprotectedinherited |
Definition at line 771 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
staticinherited |
associates object types with strings
Definition at line 69 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().