22 #ifndef GUIRunThread_h 23 #define GUIRunThread_h
GUIRunThread(FXApp *app, MFXInterThreadEventClient *mw, FXRealSpinDial &simDelay, MFXEventQue< GUIEvent *> &eq, FXEX::FXThreadEvent &ev)
constructor
virtual FXint run()
starts the execution
virtual bool init(GUINet *net, SUMOTime start, SUMOTime end)
initialises the thread with the new simulation
virtual bool simulationIsStopable() const
virtual bool simulationIsStepable() const
std::vector< SUMOTime > & getBreakpoints()
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)
bool myHaveSignaledEnd
whether the simulation already ended
std::vector< SUMOTime > myBreakpoints
List of breakpoints.
MFXMutex mySimulationLock
virtual ~GUIRunThread()
destructor
virtual bool simulationIsStartable() const
bool simulationAvailable() const
bool mySimulationInProgress
OutputDevice * myWarningRetriever
GUINet * myNet
the loaded simulation network
FXMutex & getBreakpointLock()
OutputDevice * myMessageRetriever
OutputDevice * myErrorRetriever
The instances of message retriever encapsulations Needed to be deleted from the handler later on...
void prepareDestruction()
A MSNet extended by some values for usage within the gui.
MFXEventQue< GUIEvent * > & myEventQue
FXMutex myBreakpointLock
Lock for modifying the list of breakpoints.
Static storage of an output device and its base (abstract) implementation.
FXEX::FXThreadEvent & myEventThrow
SUMOTime mySimStartTime
the times the simulation starts and ends with
SUMOTime getSimEndTime() const
FXRealSpinDial & mySimDelay