OpenSceneGraph  3.0.1
Public Member Functions | Protected Types | Protected Attributes | List of all members
osgSim::DatabaseCacheReadCallback Class Reference
Inheritance diagram for osgSim::DatabaseCacheReadCallback:
Inheritance graph
[legend]

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
 

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::Mutex * getGlobalReferencedMutex ()
 Get the optional global Referenced mutex, this can be shared between all osg::Referenced. More...
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 Set whether reference counting should use a mutex for thread safe reference counting. More...
 
static bool getThreadSafeReferenceCounting ()
 Get whether reference counting is active. More...
 
static void setDeleteHandler (DeleteHandler *handler)
 Set a DeleteHandler to which deletion of all referenced counted objects will be delegated. More...
 
static DeleteHandlergetDeleteHandler ()
 Get a DeleteHandler. More...
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 

Member Typedef Documentation

Constructor & Destructor Documentation

osgSim::DatabaseCacheReadCallback::DatabaseCacheReadCallback ( )

Member Function Documentation

void osgSim::DatabaseCacheReadCallback::clearDatabaseCache ( )
unsigned int osgSim::DatabaseCacheReadCallback::getMaximumNumOfFilesToCache ( ) const
inline
void osgSim::DatabaseCacheReadCallback::pruneUnusedDatabaseCache ( )
virtual osg::Node* osgSim::DatabaseCacheReadCallback::readNodeFile ( const std::string &  filename)
virtual
void osgSim::DatabaseCacheReadCallback::setMaximumNumOfFilesToCache ( unsigned int  maxNumFilesToCache)
inline

Member Data Documentation

FileNameSceneMap osgSim::DatabaseCacheReadCallback::_filenameSceneMap
protected
unsigned int osgSim::DatabaseCacheReadCallback::_maxNumFilesToCache
protected
OpenThreads::Mutex osgSim::DatabaseCacheReadCallback::_mutex
protected

The documentation for this class was generated from the following file:

osg logo
Generated at Wed Feb 13 2013 17:59:02 for the OpenSceneGraph by doxygen 1.8.3.1.