Public Member Functions | |
DatabaseCacheReadCallback () | |
void | setMaximumNumOfFilesToCache (unsigned int maxNumFilesToCache) |
unsigned int | getMaximumNumOfFilesToCache () const |
void | clearDatabaseCache () |
void | pruneUnusedDatabaseCache () |
virtual osg::Node * | readNodeFile (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 |
typedef std::map<std::string, osg::ref_ptr<osg::Node> > osgSim::DatabaseCacheReadCallback::FileNameSceneMap [protected] |
osgSim::DatabaseCacheReadCallback::DatabaseCacheReadCallback | ( | ) |
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.
unsigned int osgSim::DatabaseCacheReadCallback::_maxNumFilesToCache [protected] |
OpenThreads::Mutex osgSim::DatabaseCacheReadCallback::_mutex [protected] |