FDO .NET API Reference Feature Data Objects

mgIGetLockInfoImp.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 #include "FDO\Commands\Locking\mgIGetLockInfo.h"
00022 #include "FDO\Commands\mgIFeatureCommandImp.h"
00023 
00024 class FdoIGetLockInfo;
00025 
00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING
00027 public __gc __interface ILockedObjectReader;
00028 
00029 /// \ingroup (OSGeoFDOCommandsLocking)
00030 /// \brief
00031 /// The IGetLockInfoImp class is a concrete implementation of IGetLockedObjects.
00032 /// The IGetLockInfo interface defines the GetLockInfo command, which gets a
00033 /// lock information for the feature instances of a given class that match the
00034 /// specified filter. If the filter is empty, all feature instances of the given class are selected.
00035 private __gc class IGetLockInfoImp : public NAMESPACE_OSGEO_FDO_COMMANDS::IFeatureCommandImp, 
00036                                      public NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING::IGetLockInfo
00037 {
00038 public:
00039     /// \brief
00040     /// Executes the GetLockInfo command, returning an ILockedObjectReader.
00041     /// 
00042     /// \return
00043     /// Returns a locked object reader.
00044     /// 
00045     NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING::ILockedObjectReader* Execute();
00046 
00047 public:
00048     /// \brief
00049     /// Constructs an IGetLockInfoImp managed object based on an unmanaged instance of the object
00050     /// 
00051     /// \param unmanaged 
00052     /// Input A Pointer to the unmanaged object.
00053     /// 
00054     /// \param autoDelete 
00055     /// Input Indicates if the constructed object should be automatically deleted 
00056     /// once it no longer referenced.
00057     /// 
00058     IGetLockInfoImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::IFeatureCommandImp(unmanaged, autoDelete)
00059     {
00060 
00061     }
00062 
00063     inline FdoIGetLockInfo* GetImpObj();
00064 };
00065 
00066 END_NAMESPACE_OSGEO_FDO_COMMANDS_LOCKING
00067 
00068 

Comments or suggestions? Send us feedback.