Version: 0.6.0

A Geoprocessing tools manager. More...

#include <gptoolmngr.h>

Inheritance diagram for wxGISGPToolManager:
Collaboration diagram for wxGISGPToolManager:

Classes

struct  _taskprioinfo
 
struct  _toolinfo
 

Public Types

typedef struct
wxGISGPToolManager::_toolinfo 
TOOLINFO
 
typedef struct
wxGISGPToolManager::_taskprioinfo 
TASKPRIOINFO
 

Public Member Functions

 wxGISGPToolManager (void)
 Class wxGISGPToolManager.
 
virtual bool IsOk (void)
 
virtual IGPToolSPtr GetTool (wxString sToolName, IGxCatalog *pCatalog=NULL)
 
virtual int Execute (IGPToolSPtr pTool, ITrackCancel *pTrackCancel=NULL)
 
virtual size_t GetToolCount ()
 
virtual wxString GetPopularTool (size_t nIndex)
 
virtual void StartProcess (size_t nIndex)
 
virtual void CancelProcess (size_t nIndex)
 
virtual wxGISEnumTaskStateType GetProcessState (size_t nIndex)
 
virtual wxDateTime GetProcessStart (size_t nIndex)
 
virtual wxDateTime GetProcessFinish (size_t nIndex)
 
virtual int GetProcessPriority (size_t nIndex)
 
virtual void SetProcessPriority (size_t nIndex, int nPriority)
 
virtual IGPToolSPtr GetProcessTool (size_t nIndex)
 
virtual void OnFinish (IProcess *pProcess, bool bHasErrors)
 
- Public Member Functions inherited from wxGISConnectionPointContainer
virtual long Advise (wxEvtHandler *pEvtHandler)
 
virtual void Unadvise (long nCookie)
 

Protected Member Functions

virtual int GetPriorityTaskIndex ()
 
virtual bool ExecTask (WXGISEXECDDATA &data, size_t nIndex)
 
virtual void AddPriority (int nIndex, int nPriority)
 
virtual void RunNextTask (void)
 
- Protected Member Functions inherited from wxGISConnectionPointContainer
virtual void AddEvent (const wxEvent &event)
 
virtual void PostEvent (wxEvent *event)
 

Protected Attributes

std::multimap< int, wxString > m_ToolsPopularMap
 
std::map< wxString, TOOLINFOm_ToolsMap
 
std::vector< WXGISEXECDDATAm_ProcessArray
 
std::vector< TASKPRIOINFOm_aPriorityArray
 
short m_nMaxTasks
 
short m_nRunningTasks
 
wxString m_sGeoprocessPath
 
bool m_bIsOk
 
- Protected Attributes inherited from wxGISConnectionPointContainer
wxVector< wxEvtHandler * > m_pPointsArray
 
wxCriticalSection m_CritSectEvt
 

Detailed Description

A Geoprocessing tools manager.

Hold the geoprocessing tools list, execute tools, track tool execution statistics


The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/geoprocessing/gptoolmngr.h
  • /home/bishop/work/projects/nextgismanager/src/geoprocessing/gptoolmngr.cpp