29 #ifndef __Ogre_Page_H__
30 #define __Ogre_Page_H__
64 void updateDebugDisplay();
91 virtual bool prepareImpl(PageData* dataToPopulate);
93 virtual void loadImpl();
95 String generateFilename()
const;
123 virtual void touch();
128 virtual void load(
bool synchronous);
131 virtual void unload();
139 virtual bool isHeld()
const;
144 virtual void save(
const String& filename);
149 virtual void frameStart(
Real timeSinceLastFrame);
151 virtual void frameEnd(
Real timeElapsed);
153 virtual void notifyCamera(
Camera* cam);
169 virtual void destroyAllContentCollections();
171 virtual size_t getContentCollectionCount()
const;
175 const ContentCollectionList& getContentCollectionList()
const;
A viewpoint from which the scene will be rendered.
ContentCollectionList collectionsToAdd
float Real
Software floating point type.
static const uint32 CHUNK_CONTENTCOLLECTION_DECLARATION_ID
virtual PageID getID() const
Get the ID of this page, unique within the parent.
ContentCollectionList mContentCollections
General purpose request structure.
static const uint16 CHUNK_VERSION
The PageManager is the entry point through which you load all PagedWorld instances, and the place where PageStrategy instances and factory classes are registered to customise the paging behaviour.
void _notifyModified()
Tell the page that it is modified.
General purpose response structure.
Manages the organisation and rendering of a 'scene' i.e.
virtual unsigned long getFrameLastHeld()
Get the frame number in which this Page was last loaded or held.
Class representing a node in the scene graph.
bool mDeferredProcessInProgress
unsigned long mFrameLastHeld
static const uint32 CHUNK_ID
PagedWorldSection * mParent
Interface definition for a handler of requests.
Definition of the interface for a collection of PageContent instances.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
vector< PageContentCollection * >::type ContentCollectionList
#define _OgrePagingExport
Utility class providing helper methods for reading / writing structured data held in a DataStream...
Interface definition for a handler of responses.
virtual PagedWorldSection * getParentSection() const
Get the PagedWorldSection this page belongs to.
std::ostream & operator<<(std::ostream &o, const TRect< T > &r)
_OgrePagingExport friend std::ostream & operator<<(std::ostream &o, const PageResponse &r)
static const uint16 WORKQUEUE_CHANGECOLLECTION_REQUEST
Interface to a general purpose request / response style background work queue.
Represents a section of the PagedWorld which uses a given PageStrategy, and which is made up of a gen...
_OgrePagingExport friend std::ostream & operator<<(std::ostream &o, const PageRequest &r)
bool isDeferredProcessInProgress() const
If true, it's not safe to access this Page at this time, contents may be changing.
static const uint16 WORKQUEUE_PREPARE_REQUEST
uint32 PageID
Identifier for a page.
Structure for holding background page requests.