OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
Resource::KeyframeManager Class Reference

Managing of keyframe resources. More...

#include <keyframemanager.hpp>

Inheritance diagram for Resource::KeyframeManager:
Collaboration diagram for Resource::KeyframeManager:

Public Member Functions

 KeyframeManager (const VFS::Manager *vfs)
 
 ~KeyframeManager ()
 
osg::ref_ptr< const
NifOsg::KeyframeHolder
get (const std::string &name)
 
- Public Member Functions inherited from Resource::ResourceManager
 ResourceManager (const VFS::Manager *vfs)
 
virtual ~ResourceManager ()
 
virtual void updateCache (double referenceTime)
 Clear cache entries that have not been referenced for longer than expiryDelay. More...
 
void setExpiryDelay (double expiryDelay)
 How long to keep objects in cache after no longer being referenced. More...
 
const VFS::ManagergetVFS () const
 

Additional Inherited Members

- Protected Attributes inherited from Resource::ResourceManager
const VFS::ManagermVFS
 
osg::ref_ptr
< Resource::ObjectCache
mCache
 
double mExpiryDelay
 

Detailed Description

Managing of keyframe resources.

Note
May be used from any thread.

Constructor & Destructor Documentation

Resource::KeyframeManager::KeyframeManager ( const VFS::Manager vfs)
Resource::KeyframeManager::~KeyframeManager ( )

Member Function Documentation

osg::ref_ptr< const NifOsg::KeyframeHolder > Resource::KeyframeManager::get ( const std::string &  name)

Retrieve a read-only keyframe resource by name (case-insensitive).

Note
Throws an exception if the resource is not found.

Here is the call graph for this function:

Here is the caller graph for this function:


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