FDO .NET API Reference | Feature Data Objects |
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 /// \cond DOXYGEN-IGNORE 00022 BEGIN_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES 00023 /// \endcond 00024 00025 /// \ingroup (OSGeoFDOConnectionsCapabilities) 00026 /// \brief 00027 /// The ThreadCapability enumeration defines the threading capabilities of a feature provider. 00028 public __value enum ThreadCapability 00029 { 00030 /// The feature provider is not thread safe. 00031 ThreadCapability_SingleThreaded = FdoThreadCapability_SingleThreaded, 00032 00033 /// The feature provider supports a single thread per connection. Multiple concurrent threads 00034 /// cannot access the same connection object and only one command can be executing per 00035 /// connection. Multiple connections can be active concurrently as long as each is 00036 /// executing on its own thread. 00037 ThreadCapability_PerConnectionThreaded = FdoThreadCapability_PerConnectionThreaded, 00038 00039 /// The feature provider supports a single thread per command. Multiple concurrent threads 00040 /// cannot access the same command object; however, multiple commands can be executing 00041 /// concurrently against a single connection. 00042 ThreadCapability_PerCommandThreaded = FdoThreadCapability_PerCommandThreaded, 00043 00044 /// The feature provider is fully multi-threaded. Concurrent thread access is safe 00045 /// for all objects. 00046 ThreadCapability_MultiThreaded = FdoThreadCapability_MultiThreaded 00047 }; 00048 00049 /// \cond DOXYGEN-IGNORE 00050 END_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES 00051 /// \endcond
Comments or suggestions? Send us feedback. |