Version: 0.6.0
wxGxObjectContainerUpdater Class Referenceabstract

#include <contupdater.h>

Inheritance diagram for wxGxObjectContainerUpdater:
Collaboration diagram for wxGxObjectContainerUpdater:

Public Member Functions

 wxGxObjectContainerUpdater (wxGxObject *oParent, const wxString &soName=wxEmptyString, const CPLString &soPath="")
 
virtual void OnGetUpdates ()
 
- 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 DestroyChildren ()
 
virtual bool HasChildren (void)
 
virtual bool AreChildrenViewable (void) const =0
 
virtual const wxGxObjectList & GetChildren () const
 
virtual bool CanCreate (long nDataType, long DataSubtype)
 
virtual bool Destroy (void)
 
virtual wxGxObjectList & GetChildren ()
 
virtual void Refresh (void)
 
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 bool Create (wxGxObject *oParent=NULL, 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 wxString GetBaseName (void) const
 
virtual wxString GetFullName (void) const
 
virtual wxString GetCategory (void) const
 
virtual wxGxObject * GetParent (void) const
 
virtual long GetId (void) const
 
virtual void SetId (long nId)
 

Protected Member Functions

virtual wxThread::ExitCode Entry ()
 
virtual bool CreateAndRunThread (void)
 
virtual void StopThread ()
 
virtual wxGxObject * GetChildByRemoteId (int nRemoteId) const
 
virtual wxGxObjectMap GetRemoteObjects ()=0
 
virtual void DeleteObject (int nRemoteId)
 
virtual void RenameObject (int nRemoteId, const wxString &sNewName)
 
virtual void AddObject (int nRemoteId, const wxString &sName)=0
 

Protected Attributes

wxGxObjectMap m_smObjects
 
int m_nLongWait
 
int m_nShortWait
 
int m_nProcessUpdatesRequests
 
bool m_bChildrenLoaded
 
- 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
 

Detailed Description

A special class to periodically request the changes from remote container and update children

Library:  wxGISCatalog

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