23 #include "wxgis/net/netfactory.h"
24 #include "wxgis/net/netevent.h"
37 wxGISTaskManagerEvent(wxEventType eventType = wxGISTASKMNGR_CONNECT) : wxEvent(wxNOT_FOUND, eventType)
50 #define wxGISTaskManagerEventHandler(func) \
51 wxEVENT_HANDLER_CAST(wxGISTaskManagerEventFunction, func)
53 #define EVT_GISTASKMNGR_CONNECT(func) wx__DECLARE_EVT0(wxGISTASKMNGR_CONNECT, wxGISTaskManagerEventHandler(func))
54 #define EVT_GISTASKMNGR_DISCONNECT(func) wx__DECLARE_EVT0(wxGISTASKMNGR_DISCONNECT, wxGISTaskManagerEventHandler(func))
73 virtual bool Connect(
void);
74 virtual bool Disconnect(
void);
75 virtual wxString GetLastError(
void)
const;
78 virtual void OnSocketEvent(wxSocketEvent& event);
104 virtual bool CreateCategory(
const wxString& sName);
105 virtual bool DeleteCategory(
const wxString& sName);
106 virtual wxString GetLastError(
void)
const;
107 virtual bool SetMaxTaskExec(
int nMaxExecTaskCount);
108 virtual bool SetExecState(wxGISNetCommandState eExitState);
109 virtual bool IsValid(
void)
const;
111 virtual void StartTaskManagerServer(
void);
112 virtual void ClearCategories(
void);
117 virtual void SendNetMessageAsync(
const wxNetMessage& msg);
121 virtual void OnTimer( wxTimerEvent & event);
123 wxGISTaskCategoryMap m_omCategories;
125 long m_nConnectionPointConnCookie;
128 wxGISNetCommandState m_eExitState;
129 bool m_bDetailesFilled;
130 wxString m_sLastError;
132 DECLARE_EVENT_TABLE()
The JSON value class implementation.
Definition: jsonval.h:91
Task Manager Server communicate class.
Definition: tskmngr.h:89
The connection to communicate with local Task Manager Server.
Definition: tskmngr.h:61
Definition: netevent.h:34