OGRE  1.12.8
Object-Oriented Graphics Rendering Engine
Ogre::SimplePageContentCollection Class Reference

Specialisation of PageContentCollection which just provides a simple list of PageContent instances. More...

#include <OgreSimplePageContentCollection.h>

+ Inheritance diagram for Ogre::SimplePageContentCollection:

Public Types

typedef std::vector< PageContent * > ContentList
 

Public Member Functions

 SimplePageContentCollection (PageContentCollectionFactory *creator)
 
 ~SimplePageContentCollection ()
 
virtual PageContentcreateContent (const String &typeName)
 Create a new PageContent within this collection. More...
 
virtual void destroyContent (PageContent *coll)
 Destroy a PageContent within this page. More...
 
virtual void frameEnd (Real timeElapsed)
 Called when the frame ends. More...
 
virtual void frameStart (Real timeSinceLastFrame)
 Called when the frame starts. More...
 
virtual const ContentListgetContentList () const
 Get const access to the list of content. More...
 
void load ()
 Load - will be called in main thread. More...
 
virtual void notifyCamera (Camera *cam)
 Notify a section of the current camera. More...
 
bool prepare (StreamSerialiser &stream)
 Prepare data - may be called in the background. More...
 
virtual void save (StreamSerialiser &stream)
 Save the collection to a stream. More...
 
void unload ()
 Unload - will be called in main thread. More...
 
void unprepare ()
 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...
 
PageManagergetManager () const
 
PagegetParentPage () const
 
SceneManagergetSceneManager () const
 
virtual const StringgetType () 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
 

Detailed Description

Specialisation of PageContentCollection which just provides a simple list of PageContent instances.

The data format for this in a file is:
SimplePageContentCollectionData (Identifier 'SPCD')
[Version 1]
Name Type Description
Nested contents Nested chunk list A sequence of nested PageContent chunks

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