#include <local_simulation.h>
Public Member Functions | |
local_simulation (QWidget *parent=0) | |
~local_simulation () |
Data Fields | |
QStringList | parameterfile |
QStringList | parameterfile_restart |
Private Slots | |
void | tycho_exectuable () |
void | parameterfile_path () |
void | local_simulation_start () |
void | local_simulation_restart () |
void | local_simulation_stop () |
void | readFromStdout () |
void | save_log () |
void | reset_gui () |
void | run_error_gui () |
void | open_help () |
Private Attributes | |
Ui::local_simulation * | ui |
QProcess * | proc |
run_error * | pro_run |
help_local_simulation * | mylocal_simulation_help |
Definition at line 14 of file local_simulation.h.
|
explicit |
Here are the connects on local simulations are defined and called
Definition at line 20 of file local_simulation.cpp.
References Ui_local_simulation::close, Ui_local_simulation::Help, local_simulation_restart(), local_simulation_start(), local_simulation_stop(), open_help(), parameter_file_global, Ui_local_simulation::parameterfile, parameterfile_path(), Ui_local_simulation::parameterfile_text, proc, readFromStdout(), Ui_local_simulation::reset, reset_gui(), Ui_local_simulation::restart, Ui_local_simulation::run, save_log(), Ui_local_simulation::savelog, Ui_local_simulation::setupUi(), Ui_local_simulation::stop, tycho_exe, Ui_local_simulation::tycho_exe, tycho_exectuable(), Ui_local_simulation::tycho_text, and ui.
local_simulation::~local_simulation | ( | ) |
|
privateslot |
Restarting TYCHO with given parameterfile
Definition at line 123 of file local_simulation.cpp.
References parameter_file_global, parameterfile_restart, proc, run_error_gui(), Ui_local_simulation::textBrowser, tycho_exe, and ui.
Referenced by local_simulation().
|
privateslot |
Starting a local simulation with given executable and parameterfile
Definition at line 100 of file local_simulation.cpp.
References parameter_file_global, parameterfile, proc, run_error_gui(), Ui_local_simulation::textBrowser, tycho_exe, and ui.
Referenced by local_simulation().
|
privateslot |
Stopping a local simulation
Definition at line 146 of file local_simulation.cpp.
References proc.
Referenced by local_simulation().
|
privateslot |
Opens a help window for the local simulatio n
Definition at line 227 of file local_simulation.cpp.
References mylocal_simulation_help.
Referenced by local_simulation().
|
privateslot |
Asking for the parameterfile
Definition at line 85 of file local_simulation.cpp.
References parameter_file_global, Ui_local_simulation::parameterfile_text, and ui.
Referenced by local_simulation().
|
privateslot |
writes the TYCHO standard out to the textBrowser Widget
Definition at line 155 of file local_simulation.cpp.
References proc, Ui_local_simulation::textBrowser, and ui.
Referenced by local_simulation().
|
privateslot |
Resets the local simulation gui
Definition at line 180 of file local_simulation.cpp.
References parameter_file_global, Ui_local_simulation::parameterfile_text, Ui_local_simulation::textBrowser, tycho_exe, Ui_local_simulation::tycho_text, and ui.
Referenced by local_simulation().
|
privateslot |
Reminder to point to TYCHO executable before starting a local simulation
Definition at line 218 of file local_simulation.cpp.
References pro_run.
Referenced by local_simulation_restart(), and local_simulation_start().
|
privateslot |
Let you save the output in a text file
Definition at line 163 of file local_simulation.cpp.
References Ui_local_simulation::textBrowser, and ui.
Referenced by local_simulation().
|
privateslot |
asking for the TYCHO executable
Definition at line 72 of file local_simulation.cpp.
References tycho_exe, Ui_local_simulation::tycho_text, and ui.
Referenced by local_simulation().
|
private |
Definition at line 31 of file local_simulation.h.
Referenced by open_help().
QStringList local_simulation::parameterfile |
Definition at line 22 of file local_simulation.h.
Referenced by local_simulation_start().
QStringList local_simulation::parameterfile_restart |
Definition at line 23 of file local_simulation.h.
Referenced by local_simulation_restart().
|
private |
Definition at line 29 of file local_simulation.h.
Referenced by run_error_gui().
|
private |
Definition at line 27 of file local_simulation.h.
Referenced by local_simulation(), local_simulation_restart(), local_simulation_start(), local_simulation_stop(), and readFromStdout().
|
private |
Definition at line 26 of file local_simulation.h.
Referenced by local_simulation(), local_simulation_restart(), local_simulation_start(), parameterfile_path(), readFromStdout(), reset_gui(), save_log(), tycho_exectuable(), and ~local_simulation().