Version: 0.6.0

The geoprocessing task exec class. More...

#include <processmain.h>

Inheritance diagram for wxGPTaskExecutor:
Collaboration diagram for wxGPTaskExecutor:

Public Member Functions

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 ()
 
- Public Member Functions inherited from ITrackCancel
 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)
 
- Public Member Functions inherited from IProgressor
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...
 

Protected Attributes

int m_nValue
 
int m_nRange
 
wxTextOutputStream * m_pOutTxtStream
 
wxFFile m_StdOutFile
 
wxString m_sPrevMsg
 
- Protected Attributes inherited from ITrackCancel
bool m_bIsCanceled
 
IProgressorm_pProgressor
 

Detailed Description

The geoprocessing task exec class.

Member Function Documentation

virtual void wxGPTaskExecutor::SetRange ( int  range)
inlinevirtual

Set progressor range.

Parameters
rangeThe progressor value range

Implements IProgressor.

void wxGPTaskExecutor::SetValue ( int  value)
virtual

Set progressor position.

Parameters
valueThe 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