Version: 0.6.0

#include <gxcatalog.h>

Inheritance diagram for wxGxCatalog:
Collaboration diagram for wxGxCatalog:

Classes

struct  _root_item
 

Public Types

typedef struct
wxGxCatalog::_root_item 
ROOTITEM
 

Public Member Functions

 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 bool Destroy (void)
 
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 wxString GetFullName (void) const
 
virtual wxString GetCategory (void) const
 
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 DestroyChildren ()
 
virtual bool HasChildren (void)
 
virtual const wxGxObjectList & GetChildren () const
 
virtual bool CanCreate (long nDataType, long DataSubtype)
 
virtual wxGxObjectList & GetChildren ()
 
virtual void Refresh (void)
 
virtual wxGxObjectFindGxObjectByPath (const wxString &sPath)
 
virtual wxGxObjectFindGxObject (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 wxGxObjectGetParent (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)
 

Protected Member Functions

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 wxString GetConfigName (void) const
 
virtual bool IsPathWatched (const wxString &sPath)
 
- Protected Member Functions inherited from wxGISConnectionPointContainer
virtual void AddEvent (const wxEvent &event)
 
virtual void PostEvent (wxEvent *event)
 

Protected Attributes

wxArrayString m_CatalogRootItemArray
 
wxVector< wxGxObjectFactory * > m_ObjectFactoriesArray
 
wxVector< ROOTITEMm_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
 
wxGxObjectm_oParent
 
long m_nId
 
- Protected Attributes inherited from wxGISConnectionPointContainer
wxVector< wxEvtHandler * > m_pPointsArray
 
wxCriticalSection m_CritSectEvt
 

Detailed Description

The main catalog class. Catalog stores and provides access to the tree of geodata objects (GxObjects)

Library:  wxGISCatalog

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