23 #ifndef GUILoadThread_h
24 #define GUILoadThread_h
70 void load(
const std::string& file,
bool isNet);
87 const std::vector<std::string>& guiSettingsFiles = std::vector<std::string>(),
88 const bool osgView =
false);
OutputDevice * myWarningRetriever
void load(const std::string &file, bool isNet)
begins the loading of the given file
GUILoadThread(FXApp *app, MFXInterThreadEventClient *mw, MFXEventQue &eq, FXEX::FXThreadEvent &ev)
constructor
FXEX::FXThreadEvent & myEventThrow
void submitEndAndCleanup(GUINet *net, const SUMOTime simStartTime, const SUMOTime simEndTime, const std::vector< std::string > &guiSettingsFiles=std::vector< std::string >(), const bool osgView=false)
Closes the loading process.
OutputDevice * myErrorRetriever
The instances of message retriever encapsulations Needed to be deleted from the handler later on...
OutputDevice * myMessageRetriever
virtual ~GUILoadThread()
destructor
virtual bool initOptions()
const std::string & getFileName() const
bool myLoadNet
Information whether only the network shall be loaded.
void retrieveMessage(const MsgHandler::MsgType type, const std::string &msg)
Retrieves messages from the loading module.
A MSNet extended by some values for usage within the gui.
Static storage of an output device and its base (abstract) implementation.
std::string myFile
the path to load the simulation from
MFXInterThreadEventClient * myParent
the parent window to inform about the loading