Version: 0.6.0

#include <task.h>

Inheritance diagram for wxGISTaskCategory:
Collaboration diagram for wxGISTaskCategory:

Public Member Functions

 wxGISTaskCategory (const wxString &sName, wxGISTaskManager *pTaskManager)
 
virtual void ProcessNetMessage (const wxNetMessage &msg)
 
virtual void SetMaxTaskExec (short nMaxExecTaskCount)
 
virtual bool CreateTask (wxGISTask *const pTask)
 
virtual void SendNetMessageAsync (wxGISNetCommand eCmd, wxGISNetCommandState eCmdState, const wxJSONValue &val)
 
virtual wxGISNetCommandState SendNetMessageSync (wxGISNetCommand eCmd, wxGISNetCommandState eCmdState, const wxJSONValue &val)
 
 wxGISTaskCategory (const wxString &sPath, wxGISTaskManager *pTaskManager)
 
virtual bool Load (void)
 
virtual void SetMaxExecTaskCount (int nMaxExecTasks)
 
virtual wxString GetNewStorePath (const wxString &sAddToName, const wxString &sSubDir=wxEmptyString)
 
virtual bool Save (void)
 
virtual void GetChildren (long nMessageId, int nUserId)
 
virtual bool AddTask (const wxJSONValue &TaskConfig, long nMessageId, int nUserId)
 
virtual bool IsGroupIdExecuting (int nGroupId) const
 
virtual int GetRunningTaskCount (void) const
 
virtual void GetQueredTasks (wxGISQueredTasksArray &oaTasks)
 
virtual void StartNextQueredTask (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)
 
- Public Member Functions inherited from wxGISTaskBase
 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)
 
 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 wxString GetStorePath () const
 
- Public Member Functions inherited from wxGISConnectionPointContainer
virtual long Advise (wxEvtHandler *pEvtHandler)
 
virtual void Unadvise (long nCookie)
 

Protected Member Functions

virtual void NetCommand (const wxNetMessage &msg)
 
virtual void NetNote (const wxNetMessage &msg)
 
virtual wxJSONValue GetStoreConfig (void)
 
virtual wxGISTask *const GetQueredTask (void)
 
- Protected Member Functions inherited from wxGISTaskBase
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 void ClearTasks (void)
 
- Protected Member Functions inherited from wxGISConnectionPointContainer
virtual void AddEvent (const wxEvent &event)
 
virtual void PostEvent (wxEvent *event)
 

Protected Attributes

wxGISTaskManagerm_pTaskManager
 
short m_nMaxTasks
 
wxCriticalSection m_CritSect
 
- Protected Attributes inherited from wxGISTaskBase
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 tasks category class.

Library:  wxGISGeoprocessing

The tasks category class.

{gp}

Member Function Documentation

void wxGISTaskCategory::NetCommand ( wxGISNetCommandState  eCmdState,
const wxJSONValue val,
long  nMessageId = wxNOT_FOUND,
int  nUserId = wxNOT_FOUND 
)
virtual
  • case enumGISCmdStPriority: TODO:

Implements wxGISTaskBase.


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