 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef GUIRunThread_h
20 #define GUIRunThread_h
SUMOTime mySimStartTime
the times the simulation starts and ends with
virtual bool simulationIsStopable() const
FXMutex myBreakpointLock
Lock for modifying the list of breakpoints.
Static storage of an output device and its base (abstract) implementation.
bool myHaveSignaledEnd
whether the simulation already ended
std::vector< SUMOTime > & getBreakpoints()
virtual ~GUIRunThread()
destructor
void retrieveMessage(const MsgHandler::MsgType type, const std::string &msg)
Retrieves messages from the loading module.
bool myHalting
information whether the simulation is halting (is not being executed)
virtual bool simulationIsStartable() const
FXMutex & getBreakpointLock()
bool simulationAvailable() const
bool mySimulationInProgress
OutputDevice * myWarningRetriever
GUINet * myNet
the loaded simulation network
virtual bool simulationIsStepable() const
OutputDevice * myMessageRetriever
OutputDevice * myErrorRetriever
The instances of message retriever encapsulations Needed to be deleted from the handler later on.
std::vector< SUMOTime > myBreakpoints
List of breakpoints.
void waitForSnapshots(const SUMOTime snapshotTime)
FXSynchQue< GUIEvent * > & myEventQue
FXEX::FXThreadEvent & myEventThrow
SUMOTime getSimEndTime() const
A MSNet extended by some values for usage within the gui.
virtual FXint run()
starts the execution
virtual bool init(GUINet *net, SUMOTime start, SUMOTime end)
initialises the thread with the new simulation
void prepareDestruction()
GUIRunThread(FXApp *app, MFXInterThreadEventClient *mw, double &simDelay, FXSynchQue< GUIEvent * > &eq, FXEX::FXThreadEvent &ev)
constructor