OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
keyframemanager.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_COMPONENTS_KEYFRAMEMANAGER_H
2 #define OPENMW_COMPONENTS_KEYFRAMEMANAGER_H
3 
4 #include <osg/ref_ptr>
5 #include <string>
6 
8 
9 #include "resourcemanager.hpp"
10 
11 namespace Resource
12 {
13 
17  {
18  public:
19  KeyframeManager(const VFS::Manager* vfs);
21 
24  osg::ref_ptr<const NifOsg::KeyframeHolder> get(const std::string& name);
25 
26  void reportStats(unsigned int frameNumber, osg::Stats* stats) const;
27  };
28 
29 }
30 
31 #endif
void reportStats(unsigned int frameNumber, osg::Stats *stats) const
Definition: keyframemanager.cpp:37
Managing of keyframe resources.
Definition: keyframemanager.hpp:16
KeyframeManager(const VFS::Manager *vfs)
Definition: keyframemanager.cpp:10
~KeyframeManager()
Definition: keyframemanager.cpp:15
The main class responsible for loading files from a virtual file system.
Definition: manager.hpp:20
Base class for managers that require a virtual file system and object cache.
Definition: resourcemanager.hpp:23
const char * name
Definition: crashcatcher.cpp:67