Version: 0.6.0

#include <task.h>

Inheritance diagram for wxGISTaskBase:
Collaboration diagram for wxGISTaskBase:

Public Member Functions

 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 wxJSONValue GetConfig (void)
 
virtual void NetMessage (wxGISNetCommand eCmd, wxGISNetCommandState eCmdState, const wxJSONValue &val)
 
virtual size_t GetSubTaskCount (void) const
 
virtual wxGISTaskBaseGetSubTask (size_t nIndex) const
 
virtual wxGISTaskBaseGetSubTask (int nId) const
 
virtual int GetRunTaskCount (void) const
 
virtual void ChangeTask (const wxJSONValue &val)
 
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 OnDestroy (void)
 
virtual void StartNextQueredTask (void)
 
virtual wxString GetNewStorePath (const wxString &sAddToName, const wxString &sSubDir=wxEmptyString)
 
virtual wxString GetStorePath () const
 
virtual bool Save (void)
 
virtual bool Load (void)=0
 
virtual void SendNetMessage (wxGISNetCommand eCmd, wxGISNetCommandState eCmdState, wxGISMessagePriority ePrio, const wxJSONValue &val, const wxString &sMsg, long nMessageId=wxNOT_FOUND, int nUserId=wxNOT_FOUND)=0
 
virtual void NetMessage (wxGISNetCommand eCmd, wxGISNetCommandState eCmdState, const wxJSONValue &val, long nMessageId=wxNOT_FOUND, int nUserId=wxNOT_FOUND)=0
 
virtual void NetCommand (wxGISNetCommandState eCmdState, const wxJSONValue &val, long nMessageId=wxNOT_FOUND, int nUserId=wxNOT_FOUND)=0
 
- Public Member Functions inherited from wxGISConnectionPointContainer
virtual long Advise (wxEvtHandler *pEvtHandler)
 
virtual void Unadvise (long nCookie)
 

Protected Member Functions

virtual void Delete (wxGISTaskBase *pTask)
 
virtual void ClearTasks (void)
 
virtual void NetCommand (wxGISNetCommandState eCmdState, const wxJSONValue &val)
 
virtual void NetNote (wxGISNetCommandState eCmdState, const wxJSONValue &val)
 
virtual wxJSONValue GetStoreConfig (void)=0
 
virtual void ClearTasks (void)
 
- Protected Member Functions inherited from wxGISConnectionPointContainer
virtual void AddEvent (const wxEvent &event)
 
virtual void PostEvent (wxEvent *event)
 

Protected Attributes

wxGISTaskBasem_pParentTask
 
int m_nId
 
wxString m_sName
 
wxGISEnumTaskStateType m_nState
 
wxString m_sLastError
 
wxGISTaskMap m_omSubTasks
 
int m_nTaskCounter
 
wxString m_sStoragePath
 
- Protected Attributes inherited from wxGISConnectionPointContainer
wxVector< wxEvtHandler * > m_pPointsArray
 
wxCriticalSection m_CritSectEvt
 

Detailed Description

The base task class.

Library:  wxGISGeoprocessing

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