60 void loadConfigOrNet(
const std::string& file,
bool isNet,
bool useStartupOptions,
bool newNet =
false);
OutputDevice * myErrorRetriever
The instances of message retriever encapsulations Needed to be deleted from the handler later on.
void submitEndAndCleanup(GNENet *net, const std::string &guiSettingsFile="", const bool viewportFromRegistry=false)
Closes the loading process.
void retrieveMessage(const MsgHandler::MsgType type, const std::string &msg)
Retrieves messages from the loading module.
FXSynchQue< GUIEvent * > & myEventQue
event Queue
void loadConfigOrNet(const std::string &file, bool isNet, bool useStartupOptions, bool newNet=false)
begins the loading of a netconvert configuration or a a network
OutputDevice * myWarningRetriever
bool myNewNet
if true, a new net is created
MFXInterThreadEventClient * myParent
the parent window to inform about the loading
OutputDevice * myMessageRetriever
virtual ~GNELoadThread()
destructor
OutputDevice * myGLDebugRetriever
std::string myFile
the path to load the network from
OutputDevice * myDebugRetriever
static void fillOptions(OptionsCont &oc)
clears and initializes the OptionsCont
bool initOptions()
init options
GNELoadThread(FXApp *app, MFXInterThreadEventClient *mw, FXSynchQue< GUIEvent * > &eq, FXEX::FXThreadEvent &ev)
constructor
bool myLoadNet
Information whether only the network shall be loaded.
static void setDefaultOptions(OptionsCont &oc)
sets required options for proper functioning
FXint run()
starts the thread. The thread ends after the net has been loaded
FXEX::FXThreadEvent & myEventThrow
event throw
A NBNetBuilder extended by visualisation and editing capabilities.
A storage for options typed value containers)
Static storage of an output device and its base (abstract) implementation.