- Main Page
- Related Pages
- Modules
- Classes
- Files

# FeatureAccessManager.h

Go to the documentation of this file.

    00001 #ifndef _FDOFEATUREACCESSMANAGER_H_
    00002 #define _FDOFEATUREACCESSMANAGER_H_
    00003 /***************************************************************************
    00004
    00005 //
    00006 // Copyright (C) 2004-2006  Autodesk, Inc.
    00007 //
    00008 // This library is free software; you can redistribute it and/or
    00009 // modify it under the terms of version 2.1 of the GNU Lesser
    00010 // General Public License as published by the Free Software Foundation.
    00011 //
    00012 // This library is distributed in the hope that it will be useful,
    00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
    00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00015 // Lesser General Public License for more details.
    00016 //
    00017 // You should have received a copy of the GNU Lesser General Public
    00018 // License along with this library; if not, write to the Free Software
    00019 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    00020 //
    00021
    00022  *
    00023  ***************************************************************************/
    00024 #ifdef _WIN32
    00025 #pragma once
    00026 #endif
    00027
    00028 // Include Definitions
    00029 #include <Fdo/IProviderRegistry.h>
    00030 #include <Fdo/ClientServices/ClientServices.h>
    00031
    00032 // Forward Declare References
    00033 class FdoConnectionManager;
    00034 class FdoProviderRegistry;
    00035 class IConnectionManager;
    00036
    00037 /// \brief
    00038 /// The FeatureAccessManager class manages a registry of feature providers stored in the registry
    00039 /// and provides support for dynamic discovery and binding to registered feature providers
    00040 class FdoFeatureAccessManager
    00041 {
    00042 public:
    00043     /// \brief
    00044     /// Static method that gets an object that implements IConnection Manager
    00045     ///
    00046     /// \return
    00047     /// Returns a static instance of an IConnectionManager object.
    00048     /// Throws an instance of FdoClientServicesException * if an error occurs.
    00049     ///
    00050     FDO_API static IConnectionManager* GetConnectionManager();
    00051
    00052     /// \brief
    00053     /// Static method that gets an object that implements IProviderRegistry
    00054     ///
    00055     /// \return
    00056     /// Returns a static instance of an IProviderRegistry object.
    00057     /// Throws an instance of FdoClientServicesException * if an error occurs.
    00058     ///
    00059     FDO_API static IProviderRegistry* GetProviderRegistry();
    00060 /// \cond DOXYGEN-IGNORE
    00061     static void Reset();
    00062 /// \endcond
    00063 private:
    00064     /// Static FdoConnectionManager
    00065     static FdoConnectionManager * m_connectionManager;
    00066
    00067     /// Static FdoProviderRegistry
    00068     static FdoProviderRegistry * m_providerRegistry;
    00069 };
    00070 #endif
    00071
    00072

Please send us your comment about this page