Updated wrappers
This commit is contained in:
@@ -67,13 +67,8 @@ class OSGDB_EXPORT ReadWriteMutex
|
||||
ReadWriteMutex(const ReadWriteMutex&) {}
|
||||
ReadWriteMutex& operator = (const ReadWriteMutex&) { return *(this); }
|
||||
|
||||
#if 1
|
||||
ReentrantMutex _readWriteMutex;
|
||||
ReentrantMutex _readCountMutex;
|
||||
#else
|
||||
OpenThreads::Mutex _readWriteMutex;
|
||||
OpenThreads::Mutex _readCountMutex;
|
||||
#endif
|
||||
unsigned int _readCount;
|
||||
|
||||
};
|
||||
|
||||
@@ -74,10 +74,6 @@ class OSGSIM_EXPORT ElevationSlice
|
||||
|
||||
/** Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs.*/
|
||||
DatabaseCacheReadCallback* getDatabaseCacheReadCallback() { return _dcrc.get(); }
|
||||
|
||||
/** Get the IntersectionVistor that does the intersection traversal over the scene.
|
||||
* Note, if you want to customized the traversal then you can use the IntersectionVisitor's method to alter its behavior. */
|
||||
osgUtil::IntersectionVisitor& getIntersectionVisitor() { return _intersectionVisitor; }
|
||||
|
||||
protected :
|
||||
|
||||
|
||||
@@ -79,10 +79,6 @@ class OSGSIM_EXPORT HeightAboveTerrain
|
||||
/** Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs.*/
|
||||
DatabaseCacheReadCallback* getDatabaseCacheReadCallback() { return _dcrc.get(); }
|
||||
|
||||
/** Get the IntersectionVistor that does the intersection traversal over the scene.
|
||||
* Note, if you want to customized the traversal then you can use the IntersectionVisitor's method to alter its behavior. */
|
||||
osgUtil::IntersectionVisitor& getIntersectionVisitor() { return _intersectionVisitor; }
|
||||
|
||||
protected :
|
||||
|
||||
struct HAT
|
||||
|
||||
@@ -96,10 +96,6 @@ class OSGSIM_EXPORT LineOfSight
|
||||
/** Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs.*/
|
||||
DatabaseCacheReadCallback* getDatabaseCacheReadCallback() { return _dcrc.get(); }
|
||||
|
||||
/** Get the IntersectionVistor that does the intersection traversal over the scene.
|
||||
* Note, if you want to customized the traversal then you can use the IntersectionVisitor's method to alter its behavior. */
|
||||
osgUtil::IntersectionVisitor& getIntersectionVisitor() { return _intersectionVisitor; }
|
||||
|
||||
protected :
|
||||
|
||||
struct LOS
|
||||
|
||||
Reference in New Issue
Block a user