Go to the documentation of this file.
29 #ifndef __Ogre_SimplePageContentCollection_H__
30 #define __Ogre_SimplePageContentCollection_H__
PageContentCollection * createInstance()
static const uint32 SUBCLASS_CHUNK_ID
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
A viewpoint from which the scene will be rendered.
const String & getName() const
void load()
Load - will be called in main thread.
virtual void save(StreamSerialiser &stream)
Save the collection to a stream.
virtual PageContent * createContent(const String &typeName)
Create a new PageContent within this collection.
void unprepare()
Unprepare data - may be called in the background.
void unload()
Unload - will be called in main thread.
Specialisation of PageContentCollection which just provides a simple list of PageContent instances.
virtual void destroyContent(PageContent *coll)
Destroy a PageContent within this page.
Factory class for SimplePageContentCollection.
~SimplePageContentCollection()
virtual const ContentList & getContentList() const
Get const access to the list of content.
Definition of the interface for a collection of PageContent instances.
SimplePageContentCollectionFactory()
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
SimplePageContentCollection(PageContentCollectionFactory *creator)
static String FACTORY_NAME
Utility class providing helper methods for reading / writing structured data held in a DataStream.
void destroyInstance(PageContentCollection *c)
bool prepare(StreamSerialiser &stream)
Prepare data - may be called in the background.
Interface definition for a unit of content within a page.
float Real
Software floating point type.
vector< PageContent * >::type ContentList
~SimplePageContentCollectionFactory()
Define the interface to a factory class that will create subclasses of PageContentCollection.
static const uint16 SUBCLASS_CHUNK_VERSION
#define _OgrePagingExport
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.