SUMO - Simulation of Urban MObility
|
A MSNet extended by some values for usage within the gui. More...
#include <GUINet.h>
Public Types | |
enum | SimulationState { SIMSTATE_RUNNING, SIMSTATE_END_STEP_REACHED, SIMSTATE_NO_FURTHER_VEHICLES, SIMSTATE_CONNECTION_CLOSED, SIMSTATE_ERROR_IN_SIM, SIMSTATE_TOO_MANY_VEHICLES } |
Possible states of a simulation - running or stopped with different reasons. More... | |
Public Member Functions | |
void | closeBuilding (MSEdgeControl *edges, MSJunctionControl *junctions, SUMORouteLoaderControl *routeLoaders, MSTLLogicControl *tlc, std::vector< SUMOTime > stateDumpTimes, std::vector< std::string > stateDumpFiles) |
Closes the network's building process. More... | |
void | closeSimulation (SUMOTime start) |
Closes the simulation (all files, connections, etc.) More... | |
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const |
Draws additional, user-triggered visualisations. More... | |
void | drawName (const Position &pos, const SUMOReal scale, const GUIVisualizationTextSettings &settings, const SUMOReal angle=0) const |
const Boundary & | getBoundary () const |
returns the bounder of the network More... | |
SUMOTime | getCurrentTimeStep () const |
Returns the current simulation step (in s) More... | |
GUIVehicleControl * | getGUIVehicleControl () |
Returns the vehicle control. More... | |
Position | getJunctionPosition (const std::string &name) const |
returns the position of a junction More... | |
SUMOAbstractRouter< MSEdge, SUMOVehicle > & | getRouterEffort (const std::vector< MSEdge * > &prohibited=std::vector< MSEdge * >()) const |
SUMOAbstractRouter< MSEdge, SUMOVehicle > & | getRouterTT (const std::vector< MSEdge * > &prohibited=std::vector< MSEdge * >()) 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... | |
void | initGUIStructures () |
Initialises gui wrappers. 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... | |
int | 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... | |
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 | |
unsigned int | getWholeDuration () const |
Returns the duration of the last step (sim+visualisation+idle) (in ms) More... | |
unsigned int | getSimDuration () const |
Returns the duration of the last step's simulation part (in ms) More... | |
SUMOReal | getRTFactor () const |
Returns the simulation speed as a factor to real time. More... | |
SUMOReal | getUPS () const |
Returns the update per seconds rate. More... | |
SUMOReal | getMeanRTFactor (int duration) const |
Returns the simulation speed as a factor to real time. More... | |
SUMOReal | getMeanUPS () const |
Returns the update per seconds rate. More... | |
unsigned 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... | |
MSPersonControl & | getPersonControl () |
Returns the person control. More... | |
unsigned 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... | |
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 bus stops | |
bool | addBusStop (MSBusStop *busStop) |
Adds a bus stop. More... | |
MSBusStop * | getBusStop (const std::string &id) const |
Returns the named bus stop. More... | |
std::string | getBusStopID (const MSLane *lane, const SUMOReal pos) const |
Returns the bus stop close to the given position. More... | |
Atomar getter methods | |
const std::string & | getFullName () const |
Returns the full name appearing in the tool tip. More... | |
GUIGlID | getGlID () const |
Returns the numerical id of the object. More... | |
interfaces to be implemented by derived classes | |
const std::string & | getMicrosimID () const |
Returns the id of the object as known to microsim. More... | |
void | setMicrosimID (const std::string &newID) |
Changes the microsimID of the object (happens in NETEDIT) More... | |
GUIGlObjectType | getType () const |
Returns the type of the object as coded in GUIGlObjectType. More... | |
Parameter table window I/O | |
void | addParameterTable (GUIParameterTableWindow *w) |
Lets this object know a parameter window showing the object's values was opened. More... | |
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 | clearAll () |
Clears all dictionaries. More... | |
static SUMOReal | getEffort (const MSEdge *const e, const SUMOVehicle *const v, SUMOReal 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 SUMOReal | getTravelTime (const MSEdge *const e, const SUMOVehicle *const v, SUMOReal t) |
Returns the travel time to pass an edge. More... | |
Static Public Attributes | |
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 | setPrefix (const std::string &prefix) |
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 | 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 | |
Boundary | myBoundary |
The networks boundary. More... | |
NamedObjectCont< MSBusStop * > | myBusStopDict |
Dictionary of bus stops. More... | |
std::vector< GUIDetectorWrapper * > | myDetectorDict |
A detector dictionary. More... | |
std::vector< GUIEdge * > | myEdgeWrapper |
Wrapped MS-edges. More... | |
LayeredRTree | myGrid |
The visualization speed-up. More... | |
std::vector< GUIJunctionWrapper * > | myJunctionWrapper |
Wrapped MS-junctions. More... | |
unsigned int | myLastIdleDuration |
unsigned int | myLastSimDuration |
The step durations (simulation, /*visualisation, */idle) More... | |
long | myLastVehicleMovementCount |
Links2LogicMap | myLinks2Logic |
The link-to-logic-id map. More... | |
Logics2WrapperMap | myLogics2Wrapper |
The traffic light-to-wrapper map. More... | |
long | myOverallSimDuration |
long | myOverallVehicleCount |
SUMORouteLoaderControl * | myRouteLoaders |
Route loader for dynamic loading of routes. More... | |
DijkstraRouterEffort_ByProxi < MSEdge, SUMOVehicle, prohibited_withRestrictions < MSEdge, SUMOVehicle > > * | myRouterEffort |
AStarRouterTT_ByProxi< MSEdge, SUMOVehicle, prohibited_withRestrictions < MSEdge, SUMOVehicle > > * | myRouterTTAStar |
DijkstraRouterTT_ByProxi < MSEdge, SUMOVehicle, prohibited_withRestrictions < MSEdge, SUMOVehicle > > * | myRouterTTDijkstra |
bool | myRouterTTInitialized |
SUMOTime | myStep |
Current time step. More... | |
std::vector < MSTrafficLightLogic * > | myTLLogicWrappers |
Wrapped TL-Logics. More... | |
int | myTooManyVehicles |
Storage for maximum vehicle number. More... | |
std::vector < VehicleStateListener * > | myVehicleStateListeners |
Container for vehicle state listener. More... | |
Substructures | |
MSVehicleControl * | myVehicleControl |
Controls vehicle building and deletion;. More... | |
MSPersonControl * | myPersonControl |
Controls person 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 | mySimStepBegin |
The last simulation step begin, end and duration. More... | |
long | mySimStepEnd |
long | mySimStepDuration |
long | mySimBeginMillis |
The overall simulation duration. More... | |
SUMOLong | 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... | |
Static Protected Attributes | |
static MSNet * | myInstance = 0 |
Unique instance of MSNet. More... | |
Private Member Functions | |
GUIGlID | createTLWrapper (MSTrafficLightLogic *tll) |
creates a wrapper for the given logic and returns the GlID More... | |
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) |
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 } |
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 |
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 86 of file GUINet.cpp.
References GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::setNetObject().
GUINet::~GUINet | ( | ) |
Destructor.
Definition at line 96 of file GUINet.cpp.
References GUIGlObject_AbstractAdd::clearDictionary(), MFXMutex::locked(), myDetectorDict, myJunctionWrapper, myLock, myLogics2Wrapper, and MFXMutex::unlock().
Adds a bus stop.
If another bus stop with the same id exists, false is returned. Otherwise, the bus stop is added to the internal bus stop container "myBusStopDict".
This control gets responsible for deletion of the added bus stop.
[in] | busStop | The bus stop to add |
Definition at line 678 of file MSNet.cpp.
References NamedObjectCont< T >::add(), Named::getID(), and MSNet::myBusStopDict.
Referenced by GUITriggerBuilder::buildBusStop(), and NLTriggerBuilder::buildBusStop().
|
inherited |
Lets this object know a parameter window showing the object's values was opened.
[in] | w | The opened parameter window |
Definition at line 187 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
|
inherited |
Adds a vehicle states listener.
[in] | listener | The listener to add |
Definition at line 651 of file MSNet.cpp.
References MSNet::myVehicleStateListeners.
Referenced by MSDevice_Vehroutes::init(), and traci::TraCIServer::TraCIServer().
|
protectedinherited |
Builds an entry which allows to center to the object.
in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 125 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIVehicle::getPopUpMenu(), GUIEdge::getPopUpMenu(), getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 134 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIVehicle::getPopUpMenu(), GUIEdge::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds the header.
in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 115 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIVehicle::getPopUpMenu(), GUIEdge::getPopUpMenu(), getPopUpMenu(), and GUILane::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.
in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 166 of file GUIGlObject.cpp.
References GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIVehicle::getPopUpMenu(), GUIEdge::getPopUpMenu(), getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 144 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 GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIVehicle::getPopUpMenu(), GUIEdge::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 178 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.
in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 157 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIDetectorWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIVehicle::getPopUpMenu(), GUIEdge::getPopUpMenu(), getPopUpMenu(), and GUILane::getPopUpMenu().
|
staticinherited |
Clears all dictionaries.
Definition at line 487 of file MSNet.cpp.
References MSTrigger::cleanup(), MSCalibrator::cleanup(), MSDevice_Routing::cleanup(), MSRoute::clear(), MSLane::clear(), MSEdge::clear(), and MSVehicleTransfer::getInstance().
Referenced by GUILoadThread::run(), and MSNet::~MSNet().
|
inherited |
Closes the network's building process.
Assigns the structures built while loading to this network.
[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 |
Definition at line 201 of file MSNet.cpp.
References SysUtils::getCurrentMillis(), MSNet::myEdges, MSNet::myJunctions, MSNet::myLogExecutionTime, MSNet::myLogics, MSNet::myRouteLoaders, MSNet::mySimBeginMillis, MSNet::myStateDumpFiles, MSNet::myStateDumpTimes, and MSJunctionControl::postloadInitContainer().
Referenced by NLBuilder::buildNet().
|
inherited |
Closes the simulation (all files, connections, etc.)
Writes also performance output
[in] | start | The step the simulation was started with |
Definition at line 308 of file MSNet.cpp.
References MSDetectorControl::close(), traci::TraCIServer::close(), MSDevice_Vehroutes::generateOutputForUnfinished(), MSVehicleControl::getCollisionCount(), SysUtils::getCurrentMillis(), MSVehicleControl::getDepartedVehicleNo(), MSVehicleControl::getLoadedVehicleNo(), OptionsCont::getOptions(), MSVehicleControl::getRunningVehicleNo(), MSVehicleControl::getTeleportCount(), MSInsertionControl::getWaitingVehicleNo(), MSNet::myDetectorControl, MSNet::myInserter, MSNet::myLogExecutionTime, MSNet::mySimBeginMillis, MSNet::myStep, MSNet::myVehicleControl, MSNet::myVehiclesMoved, STEPS2TIME, SUMOReal, toString(), and WRITE_MESSAGE.
Referenced by GUIRunThread::deleteSim(), and MSNet::simulate().
|
private |
creates a wrapper for the given logic and returns the GlID
Definition at line 147 of file GUINet.cpp.
References SUMORTree::addAdditionalGLObject(), GUIGlObject::getGlID(), Named::getID(), MSTrafficLightLogic::getLinks(), GUITrafficLightLogicWrapper, myGrid, myLinks2Logic, MSNet::myLogics, and myLogics2Wrapper.
Referenced by initTLMap(), and GUITrafficLightLogicWrapper::switchTLSLogic().
|
virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 462 of file GUINet.cpp.
|
inlinevirtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIVehicle, and GUIPerson.
Definition at line 182 of file GUIGlObject.h.
References UNUSED_PARAMETER.
|
inherited |
Definition at line 214 of file GUIGlObject.cpp.
References GUIVisualizationTextSettings::color, GLHelper::drawText(), GUIGlObject::getMicrosimID(), GLO_MAX, GUIVisualizationTextSettings::show, and GUIVisualizationTextSettings::size.
Referenced by GUIPerson::drawGL(), GUIPolygon::drawGL(), GUILaneSpeedTrigger::drawGL(), GUICalibrator::drawGL(), GUIPointOfInterest::drawGL(), GUIJunctionWrapper::drawGL(), GUIVehicle::drawGL(), GUIBusStop::drawGL(), and GUIEdge::drawGL().
|
inlineinherited |
Returns the event control for events executed at the begin of a time step.
Definition at line 319 of file MSNet.h.
References MSNet::myBeginOfTimestepEvents.
Referenced by NLTriggerBuilder::buildVaporizer(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSTLLogicControl::closeWAUT(), MSLaneSpeedTrigger::init(), MSTrafficLightLogic::MSTrafficLightLogic(), MSDevice_Routing::notifyEnter(), and MSPerson::MSPersonStage_Walking::proceed().
const Boundary & GUINet::getBoundary | ( | ) | const |
returns the bounder of the network
Definition at line 119 of file GUINet.cpp.
References myBoundary.
Referenced by getCenteringBoundary().
|
inherited |
Returns the named bus stop.
[in] | id | The id of the bus stop to return. |
Definition at line 684 of file MSNet.cpp.
References NamedObjectCont< T >::get(), and MSNet::myBusStopDict.
Referenced by MSRouteHandler::addStop(), MSVehicle::addStop(), MSRouteHandler::myStartElement(), and TraCIServerAPI_Simulation::processGet().
Returns the bus stop close to the given position.
[in] | lane | the lane of the bus stop to return. |
[in] | pos | the position of the bus stop to return. |
Definition at line 690 of file MSNet.cpp.
References MSBusStop::getEndLanePosition(), Named::getID(), MSBusStop::getLane(), NamedObjectCont< T >::getMyMap(), MSNet::myBusStopDict, and POSITION_EPS.
Referenced by MSVehicle::addTraciStop().
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 466 of file GUINet.cpp.
References getBoundary().
|
inherited |
Returns the current simulation step (in s)
Definition at line 500 of file MSNet.cpp.
References MSNet::myStep.
Referenced by MSDevice_Vehroutes::addRoute(), MSTLLogicControl::addWAUTJunction(), NLDetectorBuilder::buildE2Detector(), MSVehicle::checkRewindLinkLanes(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSTLLogicControl::closeWAUT(), MSInductLoop::collectVehiclesOnDet(), traci::TraCIServer::commandAddVehicle(), TraCIServerAPI_Simulation::commandDistanceRequest(), GUIPerson::drawAction_drawAsImage(), GUIPerson::drawAction_drawAsPoly(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSPersonControl::erase(), Command_SaveTLCoupledLaneDet::execute(), Command_SaveTLCoupledDet::execute(), MSActuatedTrafficLightLogic::gapControl(), MSInductLoop::getCurrentOccupancy(), GUIApplicationWindow::getCurrentSimTime(), MSLaneSpeedTrigger::getCurrentSpeed(), GUIViewTraffic::getCurrentTimeStep(), MSEventControl::getCurrentTimeStep(), MSLane::getLeaderOnConsecutive(), GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIApplicationWindow::handleEvent_SimulationStep(), MSLaneSpeedTrigger::init(), traci::TraCIServer::initialiseSubscription(), MSTLLogicControl::initWautSwitch(), MSLane::isInsertionSuccess(), GUIRunThread::makeStep(), MSDevice_Vehroutes::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Person::notifyLeave(), MSDevice_Vehroutes::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_Person::notifyMove(), GUIApplicationWindow::onCmdTimeToggle(), MSBaseVehicle::onDepart(), traci::TraCIServer::postProcessSimulationStep2(), TraCIServerAPI_Lane::processGet(), MSVehicle::processNextStop(), TraCIServerAPI_TLS::processSet(), MSTrafficLightLogic::resetLinkStates(), GUIRunThread::run(), MSNet::simulate(), MSSimpleTrafficLightLogic::trySwitch(), and MSActuatedTrafficLightLogic::trySwitch().
|
inlineinherited |
Returns the detector control.
Definition at line 289 of file MSNet.h.
References MSNet::myDetectorControl.
Referenced by NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildInductLoop(), NLDetectorBuilder::buildInstantInductLoop(), NLDetectorBuilder::buildRouteProbe(), NLDetectorBuilder::createEdgeLaneMeanData(), NLDetectorBuilder::endE3Detector(), TraCIServerAPI_InductionLoop::getPosition(), TraCIServerAPI_InductionLoop::getTree(), TraCIServerAPI_InductionLoop::processGet(), and TraCIServerAPI_MeMeDetector::processGet().
|
inlineinherited |
Returns the edge control.
Definition at line 269 of file MSNet.h.
References MSNet::myEdges.
Referenced by MSDevice_Routing::adaptEdgeEfforts(), MSDevice_Routing::buildVehicleDevices(), TraCIServerAPI_Simulation::convertCartesianToRoadMap(), TraCIServerAPI_Vehicle::getOrBuildVTDMap(), TraCIServerAPI_Edge::getTree(), TraCIServerAPI_Lane::getTree(), MSLane::incorporateVehicle(), MSMeanData::init(), 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 118 of file MSNet.cpp.
References MSNet::getInstance(), MSVehicle::getWeightsStorage(), MSNet::getWeightsStorage(), MSEdgeWeightsStorage::retrieveExistingEffort(), and SUMOReal.
Referenced by MSNet::getRouterEffort().
|
inlineinherited |
Returns the event control for events executed at the end of a time step.
Definition at line 329 of file MSNet.h.
References MSNet::myEndOfTimestepEvents.
Referenced by MSDevice_Routing::buildVehicleDevices(), Command_SaveTLSState::Command_SaveTLSState(), Command_SaveTLSSwitches::Command_SaveTLSSwitches(), Command_SaveTLSSwitchStates::Command_SaveTLSSwitchStates(), MSCalibrator::init(), and MSVTypeProbe::MSVTypeProbe().
|
inlineinherited |
Returns the full name appearing in the tool tip.
Definition at line 107 of file GUIGlObject.h.
References GUIGlObject::myFullName.
Referenced by GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), GUISelectedStorage::save(), and GUISUMOAbstractView::showToolTipFor().
|
inlineinherited |
Returns the numerical id of the object.
Definition at line 115 of file GUIGlObject.h.
References GUIGlObject::myGlID.
Referenced by GUIGlObject::buildSelectionPopupEntry(), createTLWrapper(), GUIPerson::drawGL(), GUIPolygon::drawGL(), GUICalibrator::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPointOfInterest::drawGL(), GUIJunctionWrapper::drawGL(), GUIVehicle::drawGL(), GUIBusStop::drawGL(), GUIEdge::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), GUIVehicle::drawGLAdditional(), GUILane::drawLinkRules(), GUILane::getColorValue(), GUIVehicle::getColorValue(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUIVehicle::getPopUpMenu(), GUIDialog_GLObjChooser::GUIDialog_GLObjChooser(), GUIGlChildWindow::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIVehicle::GUIVehiclePopupMenu::onCmdStartTrack(), GUISUMOAbstractView::removeAdditionalGLVisualisation(), GLObjectValuePassConnector< std::pair< int, MSPhaseDefinition > >::removeObject(), GUIVehicle::selectBlockingFoes(), and GUIGlObject::~GUIGlObject().
|
static |
Returns the pointer to the unique instance of GUINet (singleton).
ProcessError | If a network was not yet constructed |
Definition at line 472 of file GUINet.cpp.
References MSNet::getInstance().
Referenced by GUIViewTraffic::doPaintGL(), GUIEdge::drawGL(), and GUITrafficLightLogicWrapper::switchTLSLogic().
GUIVehicleControl * GUINet::getGUIVehicleControl | ( | ) |
Returns the vehicle control.
Definition at line 482 of file GUINet.cpp.
References MSNet::myVehicleControl.
unsigned int GUINet::getIdleDuration | ( | ) | const |
Returns the duration of the last step's idle part (in ms)
Definition at line 375 of file GUINet.cpp.
References myLastIdleDuration.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the insertion control.
Definition at line 279 of file MSNet.h.
References MSNet::myInserter.
Referenced by MSRouteHandler::closeFlow(), MSRouteHandler::closeVehicle(), getParameterWindow(), MSLane::isInsertionSuccess(), MSPerson::MSPersonStage_Driving::proceed(), and TraCIServerAPI_Vehicle::processSet().
|
inlineinherited |
Returns the event control for insertion events.
Definition at line 339 of file MSNet.h.
References MSNet::myInsertionEvents.
Referenced by MSDevice_Routing::MSDevice_Routing().
|
staticinherited |
Returns the pointer to the unique instance of MSNet (singleton).
ProcessError | If a network was not yet constructed |
Definition at line 150 of file MSNet.cpp.
References MSNet::myInstance.
Referenced by MSDevice_Routing::adaptEdgeEfforts(), MSInsertionControl::add(), MSTrafficLightLogic::addLink(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSDevice_Vehroutes::addRoute(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSVehicle::addTraciStop(), MSVehicleTransfer::addVeh(), MSTLLogicControl::addWAUTJunction(), GUITrafficLightLogicWrapper::begin2TrackPhases(), NLTriggerBuilder::buildVaporizer(), GUIVehicleControl::buildVehicle(), MSVehicleControl::buildVehicle(), MSDevice_Routing::buildVehicleDevices(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSInsertionControl::checkFlows(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkRewindLinkLanes(), MSRouteHandler::closeFlow(), MSRouteHandler::closePerson(), MSRouteHandler::closeRoute(), MSRouteHandler::closeVehicle(), MSRouteHandler::closeVehicleTypeDistribution(), MSTLLogicControl::closeWAUT(), MSInductLoop::collectVehiclesOnDet(), Command_SaveTLSState::Command_SaveTLSState(), Command_SaveTLSSwitches::Command_SaveTLSSwitches(), Command_SaveTLSSwitchStates::Command_SaveTLSSwitchStates(), traci::TraCIServer::commandAddVehicle(), TraCIServerAPI_Simulation::commandDistanceRequest(), MSAbstractLaneChangeModel::continueLaneChangeManeuver(), TraCIServerAPI_Simulation::convertCartesianToRoadMap(), NLDetectorBuilder::createEdgeLaneMeanData(), MSLane::detectCollisions(), traci::TraCIServer::dispatchCommand(), GUIPerson::drawAction_drawAsImage(), GUIPerson::drawAction_drawAsPoly(), GUITrafficLightLogicWrapper::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSDevice::equippedByDefaultAssignmentOptions(), MSPersonControl::erase(), MSCalibrator::execute(), Command_SaveTLCoupledLaneDet::execute(), Command_SaveTLCoupledDet::execute(), MSVTypeProbe::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), MSActuatedTrafficLightLogic::gapControl(), MSDevice_Vehroutes::generateOutput(), GUIPerson::getCenteringBoundary(), GUIPerson::getColorValue(), GUILane::getColorValue(), MSInductLoop::getCurrentLength(), MSInductLoop::getCurrentOccupancy(), MSInductLoop::getCurrentPassedNumber(), MSLaneSpeedTrigger::getCurrentSpeed(), MSInductLoop::getCurrentSpeed(), GUIViewTraffic::getCurrentTimeStep(), MSEventControl::getCurrentTimeStep(), MSInductLoop::getCurrentVehicleIDs(), MSNet::getEffort(), getGUIInstance(), MSLane::getLeaderOnConsecutive(), TraCIServerAPI_Vehicle::getOrBuildVTDMap(), MSTLLogicControl::getPhaseDef(), TraCIServerAPI_POI::getPoI(), TraCIServerAPI_Polygon::getPolygon(), TraCIServerAPI_InductionLoop::getPosition(), TraCIServerAPI_Junction::getPosition(), TraCIServerAPI_Vehicle::getPosition(), MSVTKExport::getPositions(), MSVTKExport::getSpeed(), GUILane::getStoredEdgeTravelTime(), MSInductLoop::getTimestepsSinceLastDetection(), MSNet::getTravelTime(), TraCIServerAPI_InductionLoop::getTree(), TraCIServerAPI_Junction::getTree(), TraCIServerAPI_Edge::getTree(), TraCIServerAPI_POI::getTree(), TraCIServerAPI_Lane::getTree(), TraCIServerAPI_Polygon::getTree(), MSLane::incorporateVehicle(), MSDevice_Vehroutes::init(), MSCalibrator::init(), MSLaneSpeedTrigger::init(), MSMeanData::init(), traci::TraCIServer::initialiseSubscription(), MSTLLogicControl::initWautSwitch(), MSLane::isInsertionSuccess(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), MSDevice_Routing::MSDevice_Routing(), MSTrafficLightLogic::MSTrafficLightLogic(), MSVTypeProbe::MSVTypeProbe(), MSRouteHandler::myEndElement(), MSRouteHandler::myStartElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSDevice_Vehroutes::notifyEnter(), MSDevice_Person::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSDevice_Routing::notifyEnter(), MSDevice_Person::notifyLeave(), MSDevice_Vehroutes::notifyLeave(), MSInstantInductLoop::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSDevice_BTreceiver::notifyMove(), MSDevice_Person::notifyMove(), MSInstantInductLoop::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSInductLoop::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), GUISUMOViewParent::onCmdLocate(), MSBaseVehicle::onDepart(), GUIViewTraffic::onGamingClick(), MSRouteHandler::openVehicleTypeDistribution(), MSVehicle::planMoveInternal(), traci::TraCIServer::postProcessSimulationStep2(), traci::TraCIServer::postProcessVTD(), MSPerson::MSPersonStage_Walking::proceed(), TraCIServerAPI_Edge::processGet(), TraCIServerAPI_MeMeDetector::processGet(), TraCIServerAPI_InductionLoop::processGet(), TraCIServerAPI_Polygon::processGet(), TraCIServerAPI_VehicleType::processGet(), TraCIServerAPI_Lane::processGet(), TraCIServerAPI_TLS::processGet(), TraCIServerAPI_POI::processGet(), TraCIServerAPI_Junction::processGet(), TraCIServerAPI_Vehicle::processGet(), TraCIServerAPI_Simulation::processGet(), MSVehicle::processNextStop(), TraCIServerAPI_Edge::processSet(), TraCIServerAPI_Polygon::processSet(), TraCIServerAPI_POI::processSet(), TraCIServerAPI_TLS::processSet(), TraCIServerAPI_Vehicle::processSet(), TraCIServerAPI_GUI::processSet(), TraCIServerAPI_VehicleType::processSet(), MSCalibrator::remainingVehicleCapacity(), MSVehicle::replaceRoute(), MSTrafficLightLogic::resetLinkStates(), MSStateHandler::saveState(), MSVehicleControl::scheduleVehicleRemoval(), GUIVehicle::setFunctionalColor(), MSLaneSpeedTrigger::setOverriding(), MSLaneSpeedTrigger::setOverridingValue(), traci::TraCIServer::TraCIServer(), MSSimpleTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), MSVehicleControl::vehicleDeparted(), MSFCDExport::write(), MSEmissionExport::write(), MSMeanData_HBEFA::MSLaneMeanDataValues::write(), MSQueueExport::writeEdge(), MSFullExport::writeEdge(), MSNet::writeOutput(), MSFullExport::writeTLS(), MSFullExport::writeVehicles(), and traci::TraCIServer::~TraCIServer().
|
inlineinherited |
Returns the junctions control.
Definition at line 309 of file MSNet.h.
References MSNet::myJunctions.
Referenced by TraCIServerAPI_Junction::getPosition(), TraCIServerAPI_Junction::getTree(), and TraCIServerAPI_Junction::processGet().
Definition at line 229 of file GUINet.cpp.
References myJunctionWrapper.
Position GUINet::getJunctionPosition | ( | const std::string & | name) | const |
returns the position of a junction
Definition at line 174 of file GUINet.cpp.
References NamedObjectCont< T >::get(), MSJunction::getPosition(), and MSNet::myJunctions.
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 187 of file GUINet.cpp.
References MSTLLogicControl::getActive(), myLinks2Logic, MSNet::myLogics, and myLogics2Wrapper.
Referenced by GUILane::drawLinkRules().
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 202 of file GUINet.cpp.
References MSTLLogicControl::getActive(), myLinks2Logic, MSNet::myLogics, and myLogics2Wrapper.
Referenced by GUILane::drawTLSLinkNo().
Returns the simulation speed as a factor to real time.
Definition at line 357 of file GUINet.cpp.
References myOverallSimDuration, and SUMOReal.
SUMOReal GUINet::getMeanUPS | ( | ) | const |
Returns the update per seconds rate.
Definition at line 366 of file GUINet.cpp.
References myOverallSimDuration, MSNet::myVehiclesMoved, and SUMOReal.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the id of the object as known to microsim.
Definition at line 146 of file GUIGlObject.h.
References GUIGlObject::myMicrosimID.
Referenced by GUIGlObject::createFullName(), GUIGlObject::drawName(), GUIDialog_GLObjChooser::GUIDialog_GLObjChooser(), and GUIGLObjectPopupMenu::onCmdCopyName().
|
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 415 of file GUINet.cpp.
References GUIParameterTableWindow::closeBuilding(), MSVehicleControl::getCollisionCount(), MSVehicleControl::getDepartedVehicleNo(), MSVehicleControl::getEndedVehicleNo(), getIdleDuration(), MSNet::getInsertionControl(), MSVehicleControl::getLoadedVehicleNo(), getMeanUPS(), OptionsCont::getOptions(), getRTFactor(), MSVehicleControl::getRunningVehicleNo(), getSimDuration(), MSVehicleControl::getTeleportCount(), getUPS(), MSNet::getVehicleControl(), MSInsertionControl::getWaitingVehicleNo(), getWholeDuration(), MSNet::logSimulationDuration(), and GUIParameterTableWindow::mkItem().
|
virtual |
Returns the person control.
If the person control does not exist, yet, it is created.
Reimplemented from MSNet.
Definition at line 125 of file GUINet.cpp.
References MSNet::myPersonControl.
|
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 403 of file GUINet.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
inherited |
Definition at line 730 of file MSNet.cpp.
References MSNet::getEffort(), MSNet::getTravelTime(), MSNet::myRouterEffort, MSEdge::numericalDictSize(), and prohibited_withRestrictions< E, V >::prohibit().
|
inherited |
Definition at line 703 of file MSNet.cpp.
References OptionsCont::getOptions(), OptionsCont::getString(), MSNet::getTravelTime(), MSNet::myRouterTTAStar, MSNet::myRouterTTDijkstra, MSNet::myRouterTTInitialized, MSEdge::numericalDictSize(), prohibited_withRestrictions< E, V >::prohibit(), and WRITE_WARNING.
Referenced by TraCIServerAPI_Simulation::commandDistanceRequest(), MSRouteHandler::myStartElement(), MSTriggeredRerouter::notifyEnter(), and TraCIServerAPI_Vehicle::processSet().
SUMOReal GUINet::getRTFactor | ( | ) | const |
Returns the simulation speed as a factor to real time.
Definition at line 339 of file GUINet.cpp.
References myLastSimDuration, and SUMOReal.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the shapes container.
Definition at line 349 of file MSNet.h.
References MSNet::myShapeContainer.
Referenced by NLHandler::addPOI(), NLHandler::addPoly(), TraCIServerAPI_POI::getPoI(), TraCIServerAPI_Polygon::getPolygon(), TraCIServerAPI_POI::getTree(), TraCIServerAPI_Polygon::getTree(), GUISUMOViewParent::onCmdLocate(), TraCIServerAPI_POI::processGet(), TraCIServerAPI_Polygon::processGet(), TraCIServerAPI_POI::processSet(), and TraCIServerAPI_Polygon::processSet().
unsigned int GUINet::getSimDuration | ( | ) | const |
Returns the duration of the last step's simulation part (in ms)
Definition at line 325 of file GUINet.cpp.
References myLastSimDuration.
Referenced by getParameterWindow().
|
staticinherited |
Returns the message to show if a certain state occurs.
Definition at line 466 of file MSNet.cpp.
References MSNet::SIMSTATE_CONNECTION_CLOSED, MSNet::SIMSTATE_END_STEP_REACHED, MSNet::SIMSTATE_ERROR_IN_SIM, MSNet::SIMSTATE_NO_FURTHER_VEHICLES, MSNet::SIMSTATE_RUNNING, and MSNet::SIMSTATE_TOO_MANY_VEHICLES.
Referenced by GUIApplicationWindow::handleEvent_SimulationEnded(), GUIRunThread::makeStep(), and MSNet::simulate().
|
inlineinherited |
Returns the tls logics control.
Definition at line 299 of file MSNet.h.
References MSNet::myLogics.
Referenced by NLDiscreteEventBuilder::buildSaveTLStateCommand(), NLDiscreteEventBuilder::buildSaveTLSwitchesCommand(), NLDiscreteEventBuilder::buildSaveTLSwitchStatesCommand(), NLJunctionControlBuilder::getTLLogicControlToUse(), initTLMap(), GUIViewTraffic::onGamingClick(), TraCIServerAPI_TLS::processGet(), TraCIServerAPI_TLS::processSet(), and MSFullExport::writeTLS().
std::vector< GUIGlID > GUINet::getTLSIDs | ( | ) | const |
Returns the gl-ids of all traffic light logics within the net.
Definition at line 241 of file GUINet.cpp.
References myLogics2Wrapper.
|
staticinherited |
Returns the travel time to pass an edge.
[in] | e | The edge for which the travel time to be passed shall be returned |
[in] | v | The vehicle that is rerouted |
[in] | t | The time for which the travel time shall be returned [s] |
Definition at line 132 of file MSNet.cpp.
References MSNet::getInstance(), MSEdge::getMinimumTravelTime(), MSVehicle::getWeightsStorage(), MSNet::getWeightsStorage(), MSEdgeWeightsStorage::retrieveExistingTravelTime(), and SUMOReal.
Referenced by MSDevice_Routing::buildVehicleDevices(), MSNet::getRouterEffort(), and MSNet::getRouterTT().
|
inlineinherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 159 of file GUIGlObject.h.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawRailCarriages(), GUIPerson::drawGL(), GUICalibrator::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIJunctionWrapper::drawGL(), GUIVehicle::drawGL(), GUIBusStop::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIVehicle::drawGLAdditional(), GUILane::getColorValue(), GUISUMOAbstractView::getObjectAtPosition(), GUIGlChildWindow::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), LayeredRTree::selectLayer(), and GUISelectedStorage::toggleSelection().
SUMOReal GUINet::getUPS | ( | ) | const |
Returns the update per seconds rate.
Definition at line 348 of file GUINet.cpp.
References myLastSimDuration, myLastVehicleMovementCount, and SUMOReal.
Referenced by getParameterWindow().
|
inlineinherited |
Returns the vehicle control.
Definition at line 248 of file MSNet.h.
References MSNet::myVehicleControl.
Referenced by MSInsertionControl::add(), MSVehicleTransfer::addVeh(), MSInsertionControl::checkFlows(), MSVehicleTransfer::checkInsertions(), MSRouteHandler::closePerson(), MSRouteHandler::closeVehicle(), traci::TraCIServer::commandAddVehicle(), MSLane::detectCollisions(), MSDevice::equippedByDefaultAssignmentOptions(), MSCalibrator::execute(), MSVTypeProbe::execute(), MSLane::executeMovements(), getParameterWindow(), TraCIServerAPI_Vehicle::getPosition(), MSVTKExport::getPositions(), MSVTKExport::getSpeed(), MSStateHandler::myStartElement(), MSDevice_BTreceiver::notifyMove(), GUISUMOViewParent::onCmdLocate(), MSBaseVehicle::onDepart(), MSRouteHandler::openVehicleTypeDistribution(), traci::TraCIServer::postProcessVTD(), MSPerson::MSPersonStage_Driving::proceed(), TraCIServerAPI_VehicleType::processGet(), TraCIServerAPI_Vehicle::processGet(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), TraCIServerAPI_GUI::processSet(), TraCIServerAPI_VehicleType::processSet(), MSCalibrator::remainingVehicleCapacity(), MSStateHandler::saveState(), setSimDuration(), MSEmissionExport::write(), MSFCDExport::write(), MSMeanData_HBEFA::MSLaneMeanDataValues::write(), MSNet::writeOutput(), and MSFullExport::writeVehicles().
|
inline |
|
inline |
|
inherited |
Returns the net's internal edge travel times/efforts container.
If the net does not have such a container, it is built.
Definition at line 611 of file MSNet.cpp.
References MSNet::myEdgeWeights.
Referenced by NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort::addEdgeWeight(), NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime::addEdgeWeight(), GUILane::getColorValue(), MSNet::getEffort(), GUILane::getStoredEdgeTravelTime(), MSNet::getTravelTime(), and TraCIServerAPI_Edge::processSet().
unsigned int GUINet::getWholeDuration | ( | ) | const |
Returns the duration of the last step (sim+visualisation+idle) (in ms)
Definition at line 319 of file GUINet.cpp.
References myLastIdleDuration, and myLastSimDuration.
Referenced by getParameterWindow().
void GUINet::guiSimulationStep | ( | ) |
Some further steps needed for gui processing.
Definition at line 215 of file GUINet.cpp.
References GLObjectValuePassConnector< T >::updateAll().
Referenced by GUIRunThread::makeStep().
|
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 |
Definition at line 668 of file MSNet.cpp.
References MSNet::myVehicleStateListeners.
Referenced by MSVehicleTransfer::addVeh(), GUIVehicleControl::buildVehicle(), MSVehicleControl::buildVehicle(), MSVehicleTransfer::checkInsertions(), MSVehicle::replaceRoute(), MSVehicleControl::scheduleVehicleRemoval(), and MSVehicleControl::vehicleDeparted().
void GUINet::initGUIStructures | ( | ) |
Initialises gui wrappers.
Definition at line 256 of file GUINet.cpp.
References Boundary::add(), SUMORTree::addAdditionalGLObject(), GUIEdge::fill(), GUIJunctionWrapper::getBoundary(), Boundary::getHeight(), MSEdge::getLanes(), NamedObjectCont< T >::getMyMap(), MSDetectorControl::getTypedDetectors(), Boundary::getWidth(), Boundary::grow(), initTLMap(), LayeredRTree::Insert(), myBoundary, MSNet::myDetectorControl, myDetectorDict, MSDetectorControl::myDetectors, myEdgeWrapper, myGrid, MSNet::myJunctions, myJunctionWrapper, MSPerson::SIDEWALK_OFFSET, NamedObjectCont< T >::size(), Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by GUILoadThread::run().
|
private |
Initialises the tl-logic map and wrappers.
Definition at line 134 of file GUINet.cpp.
References createTLWrapper(), MSTLLogicControl::getAllLogics(), MSNet::getTLSControl(), and myTLLogicWrappers.
Referenced by initGUIStructures().
|
inherited |
loads routes for the next few steps
Definition at line 302 of file MSNet.cpp.
References SUMORouteLoaderControl::loadNext(), MSNet::myRouteLoaders, and MSNet::myStep.
Referenced by GUIRunThread::init(), MSNet::simulate(), and MSNet::simulationStep().
void GUINet::lock | ( | ) |
grant exclusive access to the simulation state
Definition at line 488 of file GUINet.cpp.
References MFXMutex::lock(), and myLock.
Referenced by GUIViewTraffic::doPaintGL().
|
inherited |
Returns whether duration shall be logged.
Definition at line 596 of file MSNet.cpp.
References MSNet::myLogExecutionTime.
Referenced by getParameterWindow().
|
inherited |
Prints the statistics of the step at its end.
Called on the end of a simulation step
Definition at line 626 of file MSNet.cpp.
References DELTA_T, MSVehicleControl::getDepartedVehicleNo(), MSVehicleControl::getRunningVehicleNo(), MSNet::myLogExecutionTime, MSNet::mySimStepDuration, MSNet::myStep, MSNet::myVehicleControl, OUTPUT_ACCURACY, SUMOReal, and time2string().
Referenced by MSNet::simulate().
|
inherited |
Prints the current step number.
Called on the begin of a simulation step
Definition at line 620 of file MSNet.cpp.
References MSNet::myStep, and time2string().
Referenced by 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 193 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 659 of file MSNet.cpp.
References MSNet::myVehicleStateListeners.
Referenced by traci::TraCIServer::~TraCIServer().
void GUINet::setIdleDuration | ( | int | val) |
Sets the duration of the last step's idle part.
Definition at line 397 of file GUINet.cpp.
References myLastIdleDuration.
Referenced by GUIRunThread::run().
|
inherited |
Changes the microsimID of the object (happens in NETEDIT)
Definition at line 108 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
|
protectedinherited |
Definition at line 202 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myPrefix.
void GUINet::setSimDuration | ( | int | val) |
Sets the duration of the last step's simulation part.
Definition at line 381 of file GUINet.cpp.
References MSVehicleControl::getRunningVehicleNo(), MSNet::getVehicleControl(), myLastSimDuration, myLastVehicleMovementCount, myOverallSimDuration, and myOverallVehicleCount.
Referenced by GUIRunThread::run().
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 257 of file MSNet.cpp.
References MSNet::closeSimulation(), MSNet::getCurrentTimeStep(), OptionsCont::getOptions(), MSNet::getStateMessage(), MSNet::loadRoutes(), MSNet::myLogStepNumber, MSNet::myStep, MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), MSNet::SIMSTATE_RUNNING, MSNet::simulationState(), MSNet::simulationStep(), time2string(), traci::TraCIServer::wasClosed(), and WRITE_MESSAGE.
Referenced by main().
|
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 435 of file MSNet.cpp.
References MSPersonControl::abortWaiting(), MSVehicleControl::abortWaiting(), MSVehicleControl::getActiveVehicleCount(), OptionsCont::getInt(), OptionsCont::getOptions(), MSInsertionControl::getPendingFlowCount(), MSVehicleControl::getRunningVehicleNo(), MSPersonControl::hasNonWaiting(), MSEventControl::isEmpty(), MSNet::myInserter, MSNet::myInsertionEvents, MSNet::myPersonControl, MSNet::myStep, MSNet::myTooManyVehicles, MSNet::myVehicleControl, MSNet::SIMSTATE_CONNECTION_CLOSED, MSNet::SIMSTATE_END_STEP_REACHED, MSNet::SIMSTATE_NO_FURTHER_VEHICLES, MSNet::SIMSTATE_RUNNING, MSNet::SIMSTATE_TOO_MANY_VEHICLES, and traci::TraCIServer::wasClosed().
Referenced by GUIRunThread::makeStep(), and MSNet::simulate().
void GUINet::simulationStep | ( | ) |
Performs a single simulation step (locking the simulation)
Definition at line 222 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 494 of file GUINet.cpp.
References myLock, and MFXMutex::unlock().
Referenced by GUIViewTraffic::doPaintGL().
bool GUINet::vehicleExists | ( | const std::string & | name) | const |
returns the information whether the vehicle still exists
Definition at line 181 of file GUINet.cpp.
References MSVehicleControl::getVehicle(), and MSNet::myVehicleControl.
|
inherited |
Write netstate, summary and detector output.
Definition at line 506 of file MSNet.cpp.
References OutputDevice::closeTag(), DELTA_T, MSVehicleControl::getDepartedVehicleNo(), OutputDevice::getDeviceByOption(), MSEdgeControl::getEdges(), MSVehicleControl::getEndedVehicleNo(), MSNet::getInstance(), MSVehicleControl::getLoadedVehicleNo(), OptionsCont::getOptions(), MSVehicleControl::getRunningVehicleNo(), OptionsCont::getString(), MSNet::getVehicleControl(), MSInsertionControl::getWaitingVehicleNo(), MSNet::myDetectorControl, MSNet::myEdges, MSNet::myInserter, MSNet::myLogExecutionTime, MSNet::mySimStepDuration, MSNet::myStep, MSNet::myVehicleControl, OutputDevice::openTag(), MSVehicleControl::printMeanTravelTime(), MSVehicleControl::printMeanWaitingTime(), STEPS2TIME, SUMO_ATTR_ID, time2string(), MSDetectorControl::updateDetectors(), MSVTKExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSQueueExport::write(), MSFullExport::write(), MSXMLRawOut::write(), OutputDevice::writeAttr(), and MSDetectorControl::writeOutput().
Referenced by MSNet::simulationStep().
|
friend |
Definition at line 92 of file GUINet.h.
Referenced by createTLWrapper().
|
protectedinherited |
Controls events executed at the begin of a time step;.
Definition at line 521 of file MSNet.h.
Referenced by MSNet::getBeginOfTimestepEvents(), MSNet::MSNet(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protected |
The networks boundary.
Definition at line 311 of file GUINet.h.
Referenced by getBoundary(), and initGUIStructures().
|
protectedinherited |
Dictionary of bus stops.
Definition at line 570 of file MSNet.h.
Referenced by MSNet::addBusStop(), MSNet::getBusStop(), and MSNet::getBusStopID().
|
protectedinherited |
Controls detectors;.
Definition at line 519 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 323 of file GUINet.h.
Referenced by initGUIStructures(), and ~GUINet().
|
protectedinherited |
Controls edges, performs vehicle movement;.
Definition at line 511 of file MSNet.h.
Referenced by 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 529 of file MSNet.h.
Referenced by MSNet::getWeightsStorage(), MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
|
protectedinherited |
Controls events executed at the end of a time step;.
Definition at line 523 of file MSNet.h.
Referenced by MSNet::getEndOfTimestepEvents(), MSNet::MSNet(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protected |
The visualization speed-up.
Definition at line 308 of file GUINet.h.
Referenced by createTLWrapper(), getVisualisationSpeedUp(), and initGUIStructures().
|
protectedinherited |
Controls vehicle insertion;.
Definition at line 517 of file MSNet.h.
Referenced by MSNet::closeSimulation(), MSNet::getInsertionControl(), MSNet::MSNet(), MSNet::simulationState(), MSNet::simulationStep(), MSNet::writeOutput(), and MSNet::~MSNet().
|
protectedinherited |
Controls insertion events;.
Definition at line 525 of file MSNet.h.
Referenced by MSNet::getInsertionEvents(), MSNet::MSNet(), MSNet::simulationState(), MSNet::simulationStep(), and MSNet::~MSNet().
|
staticprotectedinherited |
Unique instance of MSNet.
Definition at line 493 of file MSNet.h.
Referenced by MSNet::getInstance(), MSNet::MSNet(), and MSNet::~MSNet().
|
protectedinherited |
Controls junctions, realizes right-of-way rules;.
Definition at line 513 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::getJunctionControl(), getJunctionPosition(), initGUIStructures(), MSNet::MSNet(), and MSNet::~MSNet().
|
protected |
Wrapped MS-junctions.
Definition at line 317 of file GUINet.h.
Referenced by getJunctionIDs(), initGUIStructures(), and ~GUINet().
|
protected |
Definition at line 339 of file GUINet.h.
Referenced by getIdleDuration(), getWholeDuration(), and setIdleDuration().
|
protected |
The step durations (simulation, /*visualisation, */idle)
Definition at line 339 of file GUINet.h.
Referenced by getRTFactor(), getSimDuration(), getUPS(), getWholeDuration(), and setSimDuration().
|
protected |
Definition at line 341 of file GUINet.h.
Referenced by getUPS(), and setSimDuration().
|
protected |
The link-to-logic-id map.
Definition at line 329 of file GUINet.h.
Referenced by createTLWrapper(), getLinkTLID(), and getLinkTLIndex().
|
mutableprivate |
|
protectedinherited |
Information whether the simulation duration shall be logged.
Definition at line 538 of file MSNet.h.
Referenced by MSNet::closeBuilding(), 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 515 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 335 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 541 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::simulate().
|
protected |
Definition at line 342 of file GUINet.h.
Referenced by getMeanRTFactor(), getMeanUPS(), and setSimDuration().
|
protected |
Definition at line 341 of file GUINet.h.
Referenced by setSimDuration().
|
protectedinherited |
Controls person building and deletion;.
Definition at line 509 of file MSNet.h.
Referenced by getPersonControl(), MSNet::getPersonControl(), MSNet::MSNet(), MSNet::simulationState(), MSNet::simulationStep(), and MSNet::~MSNet().
|
protectedinherited |
Route loader for dynamic loading of routes.
Definition at line 496 of file MSNet.h.
Referenced by MSNet::closeBuilding(), MSNet::loadRoutes(), MSNet::MSNet(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 583 of file MSNet.h.
Referenced by MSNet::getRouterEffort(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 582 of file MSNet.h.
Referenced by MSNet::getRouterTT(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 581 of file MSNet.h.
Referenced by MSNet::getRouterTT(), and MSNet::~MSNet().
|
mutableprotectedinherited |
Definition at line 580 of file MSNet.h.
Referenced by MSNet::getRouterTT().
|
protectedinherited |
A container for geometrical shapes;.
Definition at line 527 of file MSNet.h.
Referenced by MSNet::getShapeContainer(), MSNet::MSNet(), and MSNet::~MSNet().
|
protectedinherited |
The overall simulation duration.
Definition at line 547 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::closeSimulation().
|
protectedinherited |
The last simulation step begin, end and duration.
Definition at line 544 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
protectedinherited |
Definition at line 544 of file MSNet.h.
Referenced by MSNet::postSimStepOutput(), MSNet::simulationStep(), and MSNet::writeOutput().
|
protectedinherited |
Definition at line 544 of file MSNet.h.
Referenced by MSNet::simulationStep().
|
protectedinherited |
The names for the state files.
Definition at line 561 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Times at which a state shall be written.
Definition at line 559 of file MSNet.h.
Referenced by MSNet::closeBuilding(), and MSNet::simulationStep().
|
protectedinherited |
Current time step.
Definition at line 499 of file MSNet.h.
Referenced by MSNet::closeSimulation(), MSNet::getCurrentTimeStep(), MSNet::loadRoutes(), MSNet::MSNet(), MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), MSNet::simulate(), MSNet::simulationState(), MSNet::simulationStep(), and MSNet::writeOutput().
|
protected |
|
protectedinherited |
Storage for maximum vehicle number.
Definition at line 566 of file MSNet.h.
Referenced by MSNet::MSNet(), and MSNet::simulationState().
|
protectedinherited |
Controls vehicle building and deletion;.
Definition at line 507 of file MSNet.h.
Referenced by MSNet::closeSimulation(), 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 550 of file MSNet.h.
Referenced by MSNet::closeSimulation(), getMeanUPS(), and MSNet::simulationStep().
|
protectedinherited |
Container for vehicle state listener.
Definition at line 573 of file MSNet.h.
Referenced by MSNet::addVehicleStateListener(), MSNet::informVehicleStateListener(), and MSNet::removeVehicleStateListener().
|
staticinherited |
associates object types with strings
Definition at line 99 of file GUIGlObject.h.