FDO .NET API Reference Feature Data Objects

mgFeatureAccessManager.h

Go to the documentation of this file.
00001 /*
00002 * Copyright (C) 2004-2006  Autodesk, Inc.
00003 * 
00004 * This library is free software; you can redistribute it and/or
00005 * modify it under the terms of version 2.1 of the GNU Lesser
00006 * General Public License as published by the Free Software Foundation.
00007 * 
00008 * This library is distributed in the hope that it will be useful,
00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 * Lesser General Public License for more details.
00012 * 
00013 * You should have received a copy of the GNU Lesser General Public
00014 * License along with this library; if not, write to the Free Software
00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00016 *
00017 */
00018 
00019 #pragma  once
00020 
00021 
00022 BEGIN_NAMESPACE_OSGEO_FDO
00023 public __gc __interface IConnectionManager;
00024 public __gc __interface IProviderRegistry;
00025 END_NAMESPACE_OSGEO_FDO
00026 
00027 BEGIN_NAMESPACE_OSGEO_FDO_CLIENTSERVICES
00028 
00029 /// \ingroup (OSGeoFDOClientServices)
00030 /// \brief
00031 /// The FeatureAccessManager class manages the set of feature providers stored in the FDO provider registry
00032 /// and provides support for dynamic discovery and binding to registered feature providers
00033 public __sealed __gc class FeatureAccessManager 
00034 {
00035 public:
00036     /// \brief
00037     /// Static method that gets an object that implements IConnectionManager
00038     /// 
00039     /// \return
00040     /// Returns a static instance of an IConnectionManager object. 
00041     /// Throws an instance of Exception if an error occurs.
00042     /// 
00043     static NAMESPACE_OSGEO_FDO::IConnectionManager* GetConnectionManager();
00044 
00045     /// \brief
00046     /// Static method that gets an object that implements IProviderRegistry
00047     /// 
00048     /// \return
00049     /// Returns a static instance of an IProviderRegistry object. 
00050     /// Throws an instance of Exception if an error occurs.
00051     /// 
00052     static NAMESPACE_OSGEO_FDO::IProviderRegistry* GetProviderRegistry();
00053 
00054 private:
00055     FeatureAccessManager(){}
00056 };
00057 
00058 END_NAMESPACE_OSGEO_FDO_CLIENTSERVICES
00059 
00060 

Comments or suggestions? Send us feedback.