Definition of the interface for a collection of PageContent instances.
Define the interface to a factory class that will create subclasses of PageContent.
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
SceneManager * getSceneManager() const
PageContentFactory * mCreator
virtual void unload()=0
Unload - will be called in main thread.
virtual void _notifyAttached(PageContentCollection *parent)
Internal method to notify a page that it is attached.
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
PageManager * getManager() const
virtual void load()=0
Load - will be called in main thread.
PageContent(PageContentFactory *creator)
virtual void save(StreamSerialiser &stream)=0
Save the content to a stream.
virtual void unprepare()=0
Unprepare data - may be called in the background.
virtual const String & getType() const
Get the type of the content, which will match it's factory.
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
PageContentCollection * mParent
virtual bool prepare(StreamSerialiser &ser)=0
Prepare data - may be called in the background.
The PageManager is the entry point through which you load all PagedWorld instances,...