23 #include "wxgis/core/core.h"
25 #include <wx/process.h>
26 #include <wx/thread.h>
37 virtual void OnFinish(
wxGISProcess* pProcess,
bool bHasErrors) = 0;
51 virtual void OnTerminate(
int pid,
int status);
53 virtual bool Start(
void);
54 virtual void Stop(
void);
56 virtual void ProcessInput(wxString & sInputData);
57 virtual void SetState(wxGISEnumTaskStateType nState){m_nState = nState;};
58 virtual wxGISEnumTaskStateType GetState(
void)
const {
return m_nState;};
59 virtual wxDateTime GetStart(
void)
const {
return m_dtBeg;};
60 virtual wxDateTime GetFinish(
void)
const {
return m_dtEstEnd;};
63 virtual wxThread::ExitCode Entry();
64 bool CreateAndRunReadThread(
void);
65 void DestroyReadThread(
void);
66 virtual long Execute(
void) = 0;
67 virtual void UpdatePercent(
const wxString &sPercentData);
68 virtual void AddInfo(wxGISEnumMessageType eType,
const wxString &sInfoData) = 0;
71 wxCriticalSection m_ExitLock;
74 wxDateTime m_dtEstEnd;
75 wxGISEnumTaskStateType m_nState;
The wxGISProcess parent interface class.
Definition: process.h:33
The process class which stores the application execution data.
Definition: process.h:43