[fdo-commits] r723 - branches/3.2.x/Fdo/Unmanaged/Inc/Geometry/Fgf

svn_fdo at osgeo.org svn_fdo at osgeo.org
Wed Feb 7 02:16:59 EST 2007


Author: gavincramer
Date: 2007-02-07 02:16:59 -0500 (Wed, 07 Feb 2007)
New Revision: 723

Modified:
   branches/3.2.x/Fdo/Unmanaged/Inc/Geometry/Fgf/Factory.h
Log:
Fix Geometry pool sharing objects between threads

Modified: branches/3.2.x/Fdo/Unmanaged/Inc/Geometry/Fgf/Factory.h
===================================================================
--- branches/3.2.x/Fdo/Unmanaged/Inc/Geometry/Fgf/Factory.h	2007-02-07 00:45:53 UTC (rev 722)
+++ branches/3.2.x/Fdo/Unmanaged/Inc/Geometry/Fgf/Factory.h	2007-02-07 07:16:59 UTC (rev 723)
@@ -49,6 +49,9 @@
     /// The object returned may maintain internal pools
     /// of other objects in this package, for performance.
     /// Pools will be small, tuned to transient object use.
+    /// Objects returned by this factory are safe to pass
+    /// to other threads (i.e. they won't try to interact
+    /// with the originating thread).
     /// 
     /// \return
     /// Returns a FdoFgfGeometryFactory object
@@ -61,7 +64,8 @@
     /// \remarks
     /// This class is its own factory. 
     /// This method will return a new, private instance, with any internal
-    /// object pools tuned to the input parameters.
+    /// object pools tuned to the input parameters.  NOTE:  objects created
+    /// by this factory should NOT be passed between threads.
     /// 
     /// \param numGeometries 
     /// Input Minimum number of geometries to pool.
@@ -544,6 +548,16 @@
     /// 
     FDO_GEOM_API ~FdoFgfGeometryFactory();
 
+/// \cond DOXYGEN-IGNORE
+    /// Constructor for a private instance.
+    FdoFgfGeometryFactory(
+        FdoInt32 numGeometries,
+        FdoInt32 numPositions,
+        FdoInt32 numEnvelopes,
+        FdoInt32 numCurveSegments,
+        FdoInt32 numRings);
+/// \endcond
+
 };
 #endif
 



More information about the fdo-commits mailing list