29 #ifndef __Ogre_PageContent_H__
30 #define __Ogre_PageContent_H__
#define _OgrePagingExport
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
A viewpoint from which the scene will be rendered.
Definition of the interface for a collection of PageContent instances.
Define the interface to a factory class that will create subclasses of PageContent.
Interface definition for a unit of content within a page.
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
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.
SceneManager * getSceneManager() const
virtual const String & getType() const
Get the type of the content, which will match it's factory.
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.
PageManager * getManager() const
virtual void unprepare()=0
Unprepare data - may be called in the background.
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,...
Manages the organisation and rendering of a 'scene' i.e.
Utility class providing helper methods for reading / writing structured data held in a DataStream.
float Real
Software floating point type.