![]() |
OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
|
Definition of the interface for a collection of PageContent instances. More...
#include <OgrePageContentCollection.h>
Inheritance diagram for Ogre::PageContentCollection:Public Member Functions | |
| PageContentCollection (PageContentCollectionFactory *creator) | |
| virtual | ~PageContentCollection () |
| virtual void | _notifyAttached (Page *parent) |
| Internal method to notify a collection that it is attached. | |
| virtual void | frameEnd (Real timeElapsed)=0 |
| Called when the frame ends. | |
| virtual void | frameStart (Real timeSinceLastFrame)=0 |
| Called when the frame starts. | |
| PageManager * | getManager () const |
| Page * | getParentPage () const |
| SceneManager * | getSceneManager () const |
| virtual const String & | getType () const |
| Get the type of the collection, which will match it's factory. | |
| virtual void | load ()=0 |
| Load - will be called in main thread. | |
| virtual void | notifyCamera (Camera *cam)=0 |
| Notify a section of the current camera. | |
| virtual bool | prepare (StreamSerialiser &ser)=0 |
| Prepare data - may be called in the background. | |
| virtual void | save (StreamSerialiser &stream)=0 |
| Save the collection to a stream. | |
| virtual void | unload ()=0 |
| Unload - will be called in main thread. | |
| virtual void | unprepare ()=0 |
| Unprepare data - may be called in the background. | |
Static Public Attributes | |
| static const uint32 | CHUNK_ID |
| static const uint16 | CHUNK_VERSION |
Definition of the interface for a collection of PageContent instances.
| Ogre::PageContentCollection::PageContentCollection | ( | PageContentCollectionFactory * | creator | ) |
|
virtual |
| PageManager * Ogre::PageContentCollection::getManager | ( | ) | const |
|
inline |
| SceneManager * Ogre::PageContentCollection::getSceneManager | ( | ) | const |
Get the type of the collection, which will match it's factory.
Internal method to notify a collection that it is attached.
|
pure virtual |
Save the collection to a stream.
Implemented in Ogre::SimplePageContentCollection.
Called when the frame starts.
Implemented in Ogre::SimplePageContentCollection.
Called when the frame ends.
Implemented in Ogre::SimplePageContentCollection.
Notify a section of the current camera.
Implemented in Ogre::SimplePageContentCollection.
|
pure virtual |
Prepare data - may be called in the background.
Implemented in Ogre::SimplePageContentCollection.
Load - will be called in main thread.
Implemented in Ogre::SimplePageContentCollection.
Unload - will be called in main thread.
Implemented in Ogre::SimplePageContentCollection.
Unprepare data - may be called in the background.
Implemented in Ogre::SimplePageContentCollection.