OGRE
master
Object-Oriented Graphics Rendering Engine
|
Specialisation of PageContentCollection which just provides a simple list of PageContent instances. More...
#include <OgreSimplePageContentCollection.h>
Public Types | |
typedef std::vector< PageContent * > | ContentList |
Public Member Functions | |
SimplePageContentCollection (PageContentCollectionFactory *creator) | |
~SimplePageContentCollection () | |
virtual PageContent * | createContent (const String &typeName) |
Create a new PageContent within this collection. More... | |
virtual void | destroyContent (PageContent *coll) |
Destroy a PageContent within this page. More... | |
void | frameEnd (Real timeElapsed) override |
Called when the frame ends. More... | |
void | frameStart (Real timeSinceLastFrame) override |
Called when the frame starts. More... | |
virtual const ContentList & | getContentList () const |
Get const access to the list of content. More... | |
void | load () override |
Load - will be called in main thread. More... | |
void | notifyCamera (Camera *cam) override |
Notify a section of the current camera. More... | |
bool | prepare (StreamSerialiser &stream) override |
Prepare data - may be called in the background. More... | |
void | save (StreamSerialiser &stream) override |
Save the collection to a stream. More... | |
void | unload () override |
Unload - will be called in main thread. More... | |
void | unprepare () override |
Unprepare data - may be called in the background. More... | |
Public Member Functions inherited from Ogre::PageContentCollection | |
PageContentCollection (PageContentCollectionFactory *creator) | |
virtual | ~PageContentCollection () |
virtual void | _notifyAttached (Page *parent) |
Internal method to notify a collection that it is attached. More... | |
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. More... | |
Static Public Attributes | |
static const uint32 | SUBCLASS_CHUNK_ID |
static const uint16 | SUBCLASS_CHUNK_VERSION |
Static Public Attributes inherited from Ogre::PageContentCollection | |
static const uint32 | CHUNK_ID |
static const uint16 | CHUNK_VERSION |
Specialisation of PageContentCollection which just provides a simple list of PageContent instances.
Name | Type | Description |
Nested contents | Nested chunk list | A sequence of nested PageContent chunks |
typedef std::vector<PageContent*> Ogre::SimplePageContentCollection::ContentList |
Ogre::SimplePageContentCollection::SimplePageContentCollection | ( | PageContentCollectionFactory * | creator | ) |
Ogre::SimplePageContentCollection::~SimplePageContentCollection | ( | ) |
|
virtual |
Create a new PageContent within this collection.
typeName | The name of the type of content (see PageManager::getContentFactories) |
|
virtual |
Destroy a PageContent within this page.
This is equivalent to calling detachContent and PageManager::destroyContent.
|
inlinevirtual |
Get const access to the list of content.
|
overridevirtual |
Save the collection to a stream.
Implements Ogre::PageContentCollection.
|
overridevirtual |
Called when the frame starts.
Implements Ogre::PageContentCollection.
|
overridevirtual |
Called when the frame ends.
Implements Ogre::PageContentCollection.
|
overridevirtual |
Notify a section of the current camera.
Implements Ogre::PageContentCollection.
|
overridevirtual |
Prepare data - may be called in the background.
Implements Ogre::PageContentCollection.
|
overridevirtual |
Load - will be called in main thread.
Implements Ogre::PageContentCollection.
|
overridevirtual |
Unload - will be called in main thread.
Implements Ogre::PageContentCollection.
|
overridevirtual |
Unprepare data - may be called in the background.
Implements Ogre::PageContentCollection.
|
static |
|
static |