The geoprocessing task exec class.
More...
#include <processmain.h>
|
virtual bool | OnExecute (wxString sToolName, wxString sToolParameters) |
|
virtual void | PutMessage (wxString sMessage, size_t nIndex, wxGISEnumMessageType nType) |
|
virtual void | SetValue (int value) |
| Set progressor position. More...
|
|
virtual int | GetValue (void) |
|
virtual bool | Show (bool bShow) |
|
virtual void | SetRange (int range) |
| Set progressor range. More...
|
|
virtual int | GetRange (void) |
|
virtual void | Play (void) |
| Start undefined progressor state.
|
|
virtual void | Stop (void) |
| Stop undefined progressor state.
|
|
virtual void | SetYield (bool bYield=false) |
| SetYield Yields control to pending messages in the windowing system. More...
|
|
virtual bool | Initialize (const wxString &sAppName, const wxString &sLogFilePrefix, wxCmdLineParser &parser) |
|
virtual void | Uninitialize () |
|
| ITrackCancel (void) |
| A constructor.
|
|
virtual | ~ITrackCancel (void) |
| A destructor.
|
|
virtual void | Cancel (void) |
|
virtual bool | Continue (void) |
|
virtual void | Reset (void) |
|
virtual IProgressor *const | GetProgressor (void) |
|
virtual void | SetProgressor (IProgressor *pProgressor) |
|
virtual void | PutMessage (const wxString &sMessage, size_t nIndex, wxGISEnumMessageType eType) |
|
virtual wxString | GetLastMessage (void) |
|
virtual | ~IProgressor (void) |
| A destructor.
|
|
virtual bool | ShowProgress (bool bShow)=0 |
| Show/hide progressor. More...
|
|
virtual int | GetRange (void) const =0 |
| Set progressor range. More...
|
|
virtual int | GetValue (void) const =0 |
| Get progressor position. More...
|
|
|
int | m_nValue |
|
int | m_nRange |
|
wxTextOutputStream * | m_pOutTxtStream |
|
wxFFile | m_StdOutFile |
|
wxString | m_sPrevMsg |
|
bool | m_bIsCanceled |
|
IProgressor * | m_pProgressor |
|
The geoprocessing task exec class.
virtual void wxGPTaskExecutor::SetRange |
( |
int |
range | ) |
|
|
inlinevirtual |
Set progressor range.
- Parameters
-
range | The progressor value range |
Implements IProgressor.
void wxGPTaskExecutor::SetValue |
( |
int |
value | ) |
|
|
virtual |
Set progressor position.
- Parameters
-
value | The progressor current value |
Implements IProgressor.
virtual void wxGPTaskExecutor::SetYield |
( |
bool |
bYield = false | ) |
|
|
inlinevirtual |
SetYield Yields control to pending messages in the windowing system.
This can be useful, for example, when a time-consuming process writes to a text window. Without an occasional yield, the text window will not be updated properly, and other processes will not respond.
Implements IProgressor.
The documentation for this class was generated from the following files:
- /home/bishop/work/projects/nextgismanager/include/wxgis/geoprocess/processmain.h
- /home/bishop/work/projects/nextgismanager/src/geoprocess_app/processmain.cpp