|
Antares Simulator
Power System Simulator
|
Dedicated class to customize the job. More...
Public Member Functions | |
| JobExecute (const wxString &command, const wxString &workingdirectory, const wxString &title, const wxString &subTitle, const char *icon) | |
Public Member Functions inherited from Antares::Toolbox::Jobs::Job | |
| Job (const wxString &title, const wxString &subTitle, const char *icon) | |
| Constructor. | |
| virtual | ~Job () |
| Destructor. | |
| bool | displayProgression () const |
| void | displayProgression (const bool v) |
| bool | canCancel () const |
| void | canCancel (const bool v) |
| bool | result () const |
| void | result (const bool v) |
| bool | isRunning () const |
| Get if the job is running. | |
| bool | run () |
| Run the job. | |
| void | stop () |
| Stop the job gracefully. | |
Protected Member Functions | |
| virtual bool | executeTask () |
| Execute the real task. | |
| virtual void | onBeforeRunning () |
| Event: Before the thread is launched. More... | |
| virtual bool | onRunQuery () |
| Event: Ask if the job is allow to run. More... | |
| virtual void | onCancel () |
| Event: The user ask to cancel the operation. | |
| void | disable () |
Protected Member Functions inherited from Antares::Toolbox::Jobs::Job | |
| void | updateTheProgressValue (double progress) |
| Update the progress value. More... | |
| void | updateTheMessage (const wxString &msg, bool mustBeInterpreted=true) |
| Update the message displayed for the user. More... | |
| void | stopAllGuiComponents () |
| Gracefully Stop all Gui components. | |
| void | manageLogLevelMessage (enum LogLevel lvl, const wxString &msg) |
| Dispatch a log entry, grabbed from from the standard output. | |
| void | onCancel (void *) |
| Event: The user asks to cancel the operation. | |
| void | evtOnClose (wxCloseEvent &evt) |
| void | onLogMessage (int, const std::string &message) |
| wxSizer * | createMainPnl (wxWindow *parent) |
| Create the main panel, which contains all important controls. | |
| wxSizer * | createPnlButtons (wxWindow *parent) |
| Create the bottom panel, which contains buttons to cancel and to continue. | |
| wxSizer * | createPnlLoading (wxWindow *parent) |
| void | displayGauge (const bool visible=true) |
| Display (or not) the gauge. | |
| void | displayMessage (const wxString &line) |
| void | onUIUpdateProgression (uint value) |
| void | onUIUpdateMessage () |
| void | onUIUpdateLabelErrors () |
| void | onUIUpdateElapsedTime (const Yuni::String &text) |
| void | onUIUpdateRemainingTime (const Yuni::String &text) |
| void | evtOnInit (wxInitDialogEvent &event) |
| void | deleteAllThreads () |
| void | recomputeWindowSize () |
| void | disableAllComponents () |
Friends | |
| class | JobProcess |
Dedicated class to customize the job.
|
protectedvirtual |
Event: Before the thread is launched.
This method will be fired before the thread is launched when the job is asked to run.
Reimplemented from Antares::Toolbox::Jobs::Job.
|
protectedvirtual |
Event: Ask if the job is allow to run.
This method is fired before running the job. It is actually thefirst check done by the method run()
Reimplemented from Antares::Toolbox::Jobs::Job.