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