osgSim::DatabaseCacheReadCallback Class Reference

Inheritance diagram for osgSim::DatabaseCacheReadCallback:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 DatabaseCacheReadCallback ()
void setMaximumNumOfFilesToCache (unsigned int maxNumFilesToCache)
unsigned int getMaximumNumOfFilesToCache () const
void clearDatabaseCache ()
void pruneUnusedDatabaseCache ()
virtual osg::NodereadNodeFile (const std::string &filename)

Protected Types

typedef std::map
< std::string,
osg::ref_ptr
< osg::Node > > 
FileNameSceneMap

Protected Attributes

unsigned int _maxNumFilesToCache
OpenThreads::Mutex _mutex
FileNameSceneMap _filenameSceneMap


Member Typedef Documentation

typedef std::map<std::string, osg::ref_ptr<osg::Node> > osgSim::DatabaseCacheReadCallback::FileNameSceneMap [protected]


Constructor & Destructor Documentation

osgSim::DatabaseCacheReadCallback::DatabaseCacheReadCallback (  ) 


Member Function Documentation

void osgSim::DatabaseCacheReadCallback::setMaximumNumOfFilesToCache ( unsigned int  maxNumFilesToCache  )  [inline]

unsigned int osgSim::DatabaseCacheReadCallback::getMaximumNumOfFilesToCache (  )  const [inline]

void osgSim::DatabaseCacheReadCallback::clearDatabaseCache (  ) 

void osgSim::DatabaseCacheReadCallback::pruneUnusedDatabaseCache (  ) 

virtual osg::Node* osgSim::DatabaseCacheReadCallback::readNodeFile ( const std::string &  filename  )  [virtual]

Implements osgUtil::IntersectionVisitor::ReadCallback.


Member Data Documentation

unsigned int osgSim::DatabaseCacheReadCallback::_maxNumFilesToCache [protected]

OpenThreads::Mutex osgSim::DatabaseCacheReadCallback::_mutex [protected]

FileNameSceneMap osgSim::DatabaseCacheReadCallback::_filenameSceneMap [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:46 2007 for the OpenSceneGraph by doxygen 1.5.3.