24 #include "wxgis/geoprocessing/geoprocessing.h"
25 #include "wxgis/core/process.h"
39 virtual void ProcessInput(wxString sInputData);
58 public IProcessParent,
64 virtual bool IsOk(
void){
return m_bIsOk;};
65 virtual IGPToolSPtr GetTool(wxString sToolName, IGxCatalog* pCatalog = NULL);
66 virtual int Execute(IGPToolSPtr pTool,
ITrackCancel* pTrackCancel = NULL);
67 virtual size_t GetToolCount();
68 virtual wxString GetPopularTool(
size_t nIndex);
69 virtual void StartProcess(
size_t nIndex);
70 virtual void CancelProcess(
size_t nIndex);
72 virtual wxGISEnumTaskStateType GetProcessState(
size_t nIndex);
73 virtual wxDateTime GetProcessStart(
size_t nIndex);
74 virtual wxDateTime GetProcessFinish(
size_t nIndex);
75 virtual int GetProcessPriority(
size_t nIndex);
76 virtual void SetProcessPriority(
size_t nIndex,
int nPriority);
77 virtual IGPToolSPtr GetProcessTool(
size_t nIndex);
79 virtual void OnFinish(IProcess* pProcess,
bool bHasErrors);
81 virtual int GetPriorityTaskIndex();
83 virtual void AddPriority(
int nIndex,
int nPriority);
84 virtual void RunNextTask(
void);
100 std::multimap<int, wxString> m_ToolsPopularMap;
101 std::map<wxString, TOOLINFO> m_ToolsMap;
102 std::vector<WXGISEXECDDATA> m_ProcessArray;
103 std::vector<TASKPRIOINFO> m_aPriorityArray;
104 short m_nMaxTasks, m_nRunningTasks;
105 wxString m_sGeoprocessPath;
A Geoprocess class.
Definition: gptoolmngr.h:32
Definition: gptoolmngr.h:45
The process class which stores the application execution data.
Definition: process.h:43
wxGPProcess(wxString sCommand, wxArrayString saParams, IProcessParent *pParent, ITrackCancel *pTrackCancel)
Class wxGPProcess.
Definition: gptoolmngr.cpp:33
A TrackCancel interface class.
Definition: core.h:144