|
| wxGISTask (wxGISTaskBase *pParentTask=NULL, const wxJSONValue &TaskConfig=wxJSONValue()) |
|
virtual wxString | GetDescription (void) const |
|
virtual wxString | GetExecutable (void) const |
|
virtual wxDateTime | GetDateBegin (void) const |
|
virtual wxDateTime | GetDateEnd (void) const |
|
virtual wxDateTime | GetDateCreated (void) const |
|
virtual wxULongLong | GetVolume (void) const |
|
virtual long | GetPriority (void) const |
|
virtual void | SetPriority (long nPriority) |
|
virtual double | GetDone (void) const |
|
virtual void | SetState (wxGISEnumTaskStateType eState) |
|
virtual int | GetChildrenCount () const |
|
virtual wxJSONValue | GetParameters (void) const |
|
virtual wxJSONValue | GetConfig (void) |
|
virtual void | AddSubTask (wxGISTask *pTask) |
|
virtual void | ChangeTask (const wxJSONValue &val) |
|
virtual wxGISTaskMessagesArray | GetMessages (void) const |
|
virtual wxGISTaskMessage | GetMessage (long nMessageId) const |
|
virtual void | AddMessage (wxGISTaskMessage *pMessage) |
|
virtual bool | StartTask (bool bWait=false) |
|
virtual bool | StopTask (bool bWait=false) |
|
| wxGISTask (wxGISTaskBase *pParentTask, const wxString &sPath) |
|
virtual int | GetGroupId (void) const |
|
virtual bool | Load (void) |
|
virtual bool | Delete (long nMessageId=-2, int nUserId=-2) |
|
virtual void | GetChildren (long nMessageId, int nUserId) |
|
virtual bool | StartTask (long nMessageId, int nUserId) |
|
virtual bool | StopTask (long nMessageId, int nUserId) |
|
virtual bool | ChangeTask (const wxJSONValue &TaskVal, long nMessageId, int nUserId) |
|
virtual bool | Create (const wxJSONValue &TaskConfig) |
|
virtual wxJSONValue | GetAsJSON (void) |
|
virtual long | GetCommonPriority (void) |
|
virtual void | OnDestroy (void) |
|
virtual void | OnStart (void) |
|
virtual void | OnStop (void) |
|
virtual void | OnTerminate (int pid, int status) |
|
virtual int | GetRunningTaskCount (void) const |
|
virtual void | GetQueredTasks (wxGISQueredTasksArray &oaTasks) |
|
virtual void | ChangeTask (void) |
|
virtual void | ChangeTaskMsg (wxGISEnumMessageType nType, const wxString &sInfoData) |
|
virtual long | Execute (void) |
|
virtual bool | IsGroupIdExecuting (int nGroupId) const |
|
virtual void | AddInfo (wxGISEnumMessageType nType, const wxString &sInfoData) |
|
virtual void | UpdatePercent (const wxString &sPercentData) |
|
virtual bool | Start (void) |
|
virtual void | SendNetMessage (wxGISNetCommand eCmd, wxGISNetCommandState eCmdState, wxGISMessagePriority ePrio, const wxJSONValue &val, const wxString &sMsg, long nMessageId=wxNOT_FOUND, int nUserId=wxNOT_FOUND) |
|
virtual void | NetMessage (wxGISNetCommand eCmd, wxGISNetCommandState eCmdState, const wxJSONValue &val, long nMessageId=wxNOT_FOUND, int nUserId=wxNOT_FOUND) |
|
virtual void | NetCommand (wxGISNetCommandState eCmdState, const wxJSONValue &val, long nMessageId=wxNOT_FOUND, int nUserId=wxNOT_FOUND) |
|
| wxGISTaskBase (wxGISTaskBase *pParentTask=NULL) |
|
virtual wxString | GetName () const |
|
virtual wxString | GetLastError () const |
|
virtual int | GetId (void) const |
|
virtual wxGISEnumTaskStateType | GetState (void) const |
|
virtual bool | Delete (void) |
|
virtual void | NetMessage (wxGISNetCommand eCmd, wxGISNetCommandState eCmdState, const wxJSONValue &val) |
|
virtual size_t | GetSubTaskCount (void) const |
|
virtual wxGISTaskBase * | GetSubTask (size_t nIndex) const |
|
virtual wxGISTaskBase * | GetSubTask (int nId) const |
|
virtual int | GetRunTaskCount (void) const |
|
virtual void | AddTask (const wxJSONValue &val) |
|
virtual bool | RenameTask (const wxString &sNewName) |
|
virtual void | OnSubTaskChanged (int nId) |
|
virtual void | SendNetMessageAsync (wxGISNetCommand eCmd, wxGISNetCommandState eCmdState, const wxJSONValue &val) |
|
virtual wxGISNetCommandState | SendNetMessageSync (wxGISNetCommand eCmd, wxGISNetCommandState eCmdState, const wxJSONValue &val) |
|
| wxGISTaskBase (wxGISTaskBase *pParentTask) |
|
virtual wxString | GetName () const |
|
virtual int | GetId (void) const |
|
virtual int | GetNewId (void) |
|
virtual void | Delete (wxGISTaskBase *pTask) |
|
virtual bool | HasName (const wxString &sName) const |
|
virtual void | StartNextQueredTask (void) |
|
virtual wxString | GetNewStorePath (const wxString &sAddToName, const wxString &sSubDir=wxEmptyString) |
|
virtual wxString | GetStorePath () const |
|
virtual bool | Save (void) |
|
virtual long | Advise (wxEvtHandler *pEvtHandler) |
|
virtual void | Unadvise (long nCookie) |
|
| wxGISProcess (IGISProcessParent *pParent=NULL) |
|
virtual void | Stop (void) |
|
virtual void | ProcessInput (wxString &sInputData) |
|
virtual wxGISEnumTaskStateType | GetState (void) const |
|
virtual wxDateTime | GetStart (void) const |
|
virtual wxDateTime | GetFinish (void) const |
|
The task is class which controls executing geoprocessing operation (tool). The tasks add to the quere. Then user start executing the task, the task state changes to the quered and task is waiting for the task manager tool. The task really starts it state changes to the working.
The task class.