A Remote Server GxObject. More...
#include <gxremoteserver.h>
Public Member Functions | |
wxGxRemoteServer (wxGISNetClientConnection *const pNetConn, wxGxObject *oParent, const wxString &soName=wxEmptyString, const CPLString &soPath="") | |
virtual wxString | GetBaseName (void) const |
virtual wxString | GetFullName (void) const |
virtual wxString | GetCategory (void) const |
virtual bool | Destroy (void) |
virtual bool | AreChildrenViewable (void) |
virtual bool | Connect (void) |
virtual bool | Disconnect (void) |
virtual bool | IsConnected (void) |
virtual void | OnGisNetEvent (wxGISNetEvent &event) |
Public Member Functions inherited from wxRxCatalog | |
wxRxCatalog (wxGxObject *oParent, const wxString &soName=wxEmptyString, const CPLString &soPath="") | |
virtual bool | Create (wxGxObject *oParent, const wxString &soName=wxEmptyString, const CPLString &soPath="") |
virtual void | RegisterRemoteObject (wxRxObject *pObj) |
virtual void | UnRegisterRemoteObject (long nId) |
virtual wxRxObject *const | GetRegisterRemoteObject (long nId) |
virtual void | SendNetMessage (const wxNetMessage &msg) |
wxRxCatalog (wxGxObject *oParent=NULL, const wxString &soName=_("Catalog"), const CPLString &soPath="") | |
virtual wxString | GetClassName (void) const |
virtual void | ProcessNetEvent (wxGISNetEvent &event) |
virtual void | OnNetEvent (wxGISNetEvent &event) |
Public Member Functions inherited from wxGxCatalog | |
wxGxCatalog (wxGxObject *oParent=NULL, const wxString &soName=_("Catalog"), const CPLString &soPath="") | |
virtual void | ObjectAdded (long nObjectID) |
virtual void | ObjectChanged (long nObjectID) |
virtual void | ObjectDeleted (long nObjectID) |
virtual void | ObjectRefreshed (long nObjectID) |
virtual bool | CreateChildren (wxGxObject *pParent, char **&pFileNames, wxArrayLong &pChildrenIds) |
virtual void | EnableRootItem (size_t nItemId, bool bEnable) |
virtual wxGxObject *const | GetRootItemByType (const wxClassInfo *info) const |
virtual wxGxObjectFactory *const | GetObjectFactoryByClassName (const wxString &sClassName) |
virtual wxGxObjectFactory *const | GetObjectFactoryByName (const wxString &sFactoryName) |
virtual wxVector < wxGxCatalog::ROOTITEM > *const | GetRootItems (void) |
virtual wxVector < wxGxObjectFactory * > *const | GetObjectFactories (void) |
virtual bool | AddFSWatcherPath (const wxFileName &path, int events=wxFSW_EVENT_ALL) |
virtual bool | AddFSWatcherTree (const wxFileName &path, int events=wxFSW_EVENT_ALL, const wxString &filespec=wxEmptyString) |
virtual bool | RemoveFSWatcherPath (const wxFileName &path) |
virtual bool | RemoveFSWatcherTree (const wxFileName &path) |
virtual void | StopFSWatcher () |
virtual void | StartFSWatcher () |
virtual void | OnFileSystemEvent (wxFileSystemWatcherEvent &event) |
Public Member Functions inherited from wxGxCatalogBase | |
wxGxCatalogBase (wxGxObject *oParent=NULL, const wxString &soName=_("Catalog"), const CPLString &soPath="") | |
virtual bool | AreChildrenViewable (void) const |
virtual wxString | ConstructFullName (const wxGxObject *pObject) const |
virtual void | RegisterObject (wxGxObject *pObj) |
virtual void | UnRegisterObject (long nId) |
virtual wxGxObject *const | GetRegisterObject (long nId) |
virtual bool | Init (void) |
virtual bool | GetShowHidden (void) const |
virtual bool | GetShowExt (void) const |
virtual void | SetShowHidden (bool bShowHidden) |
virtual void | SetShowExt (bool bShowExt) |
Public Member Functions inherited from wxGxObjectContainer | |
wxGxObjectContainer (wxGxObject *oParent, const wxString &soName=wxEmptyString, const CPLString &soPath="") | |
virtual void | AddChild (wxGxObject *child) |
virtual void | RemoveChild (wxGxObject *child) |
virtual bool | DestroyChild (wxGxObject *child) |
virtual bool | IsNameExist (const wxString &sName) const |
virtual bool | HasChildren (void) |
virtual const wxGxObjectList & | GetChildren () const |
virtual bool | CanCreate (long nDataType, long DataSubtype) |
virtual wxGxObjectList & | GetChildren () |
virtual wxGxObject * | FindGxObjectByPath (const wxString &sPath) |
virtual wxGxObject * | FindGxObject (const wxString &sPath) |
Public Member Functions inherited from wxGxObject | |
wxGxObject (wxGxObject *oParent, const wxString &soName=wxEmptyString, const CPLString &soPath="") | |
virtual void | SetParent (wxGxObject *oParent) |
virtual wxString | GetName (void) const |
virtual CPLString | GetPath (void) const |
virtual void | SetName (const wxString &soName) |
virtual void | SetPath (const CPLString &soPath) |
virtual wxGxObject * | GetParent (void) const |
virtual long | GetId (void) const |
virtual void | SetId (long nId) |
Public Member Functions inherited from wxGISConnectionPointContainer | |
virtual long | Advise (wxEvtHandler *pEvtHandler) |
virtual void | Unadvise (long nCookie) |
Public Member Functions inherited from wxRxObjectContainer | |
wxRxObjectContainer (wxRxCatalog *const pRxCatalog, long nId, wxGxObject *oParent, const wxString &soName=wxEmptyString, const CPLString &soPath="") | |
virtual bool | Create (wxRxCatalog *const pRxCatalog, long nId, wxGxObject *oParent, const wxString &soName=wxEmptyString, const CPLString &soPath="") |
virtual void | Refresh (void) |
virtual bool | DestroyChildren () |
virtual void | SendChildren (const wxGxObjectList &Children, long nSourceId, int nNetClientId) |
Public Member Functions inherited from wxRxObject | |
virtual void | SetRemoteId (long nId) |
virtual long | GetRemoteId (void) const |
virtual wxXmlNode * | GetXmlDescription (void) const |
Protected Attributes | |
bool | m_bAuth |
long | m_ConnectionPointNetCookie |
Protected Attributes inherited from wxRxCatalog | |
wxGISNetClientConnection * | m_pNetConn |
std::map< long, wxRxObject * > | m_moRxObject |
Protected Attributes inherited from wxGxCatalog | |
wxArrayString | m_CatalogRootItemArray |
wxVector< wxGxObjectFactory * > | m_ObjectFactoriesArray |
wxVector< ROOTITEM > | m_staRootitems |
wxFileSystemWatcher * | m_pWatcher |
bool | m_bFSWatcherEnable |
wxCriticalSection | m_oCritFSSect |
Protected Attributes inherited from wxGxCatalogBase | |
long | m_nGlobalId |
std::map< long, wxGxObject * > | m_moGxObject |
bool | m_bIsInitialized |
bool | m_bShowHidden |
bool | m_bShowExt |
Protected Attributes inherited from wxGxObjectContainer | |
wxGxObjectList | m_Children |
Protected Attributes inherited from wxGxObject | |
wxString | m_sName |
CPLString | m_sPath |
wxGxObject * | m_oParent |
long | m_nId |
Protected Attributes inherited from wxGISConnectionPointContainer | |
wxVector< wxEvtHandler * > | m_pPointsArray |
wxCriticalSection | m_CritSectEvt |
Protected Attributes inherited from wxRxObjectContainer | |
bool | m_bIsChildrenLoaded |
Protected Attributes inherited from wxRxObject | |
wxRxCatalog * | m_pRxCatalog |
long | m_nRemoteId |
Additional Inherited Members | |
Public Types inherited from wxGxCatalog | |
typedef struct wxGxCatalog::_root_item | ROOTITEM |
Protected Member Functions inherited from wxRxCatalog | |
virtual wxString | GetConfigName (void) const |
Protected Member Functions inherited from wxGxCatalog | |
virtual void | LoadObjectFactories (const wxXmlNode *pNode) |
virtual void | LoadObjectFactories (void) |
virtual void | LoadChildren (void) |
virtual void | LoadChildren (wxXmlNode *const pNode) |
virtual void | EmptyObjectFactories (void) |
virtual void | SerializePlugins (wxXmlNode *pNode, bool bStore=false) |
virtual bool | IsPathWatched (const wxString &sPath) |
Protected Member Functions inherited from wxGISConnectionPointContainer | |
virtual void | AddEvent (const wxEvent &event) |
virtual void | PostEvent (wxEvent *event) |
Protected Member Functions inherited from wxRxObjectContainer | |
virtual void | LoadRemoteChildren (const wxXmlNode *pChildrenNode) |
virtual void | GetRemoteChildren (void) |
A Remote Server GxObject.