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