Go to the documentation of this file.
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;
bool isDeferredProcessInProgress() const
If true, it's not safe to access this Page at this time, contents may be changing.
virtual PagedWorldSection * getParentSection() const
Get the PagedWorldSection this page belongs to.
Interface to a general purpose request / response style background work queue.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
General purpose request structure.
A viewpoint from which the scene will be rendered.
virtual unsigned long getFrameLastHeld()
Get the frame number in which this Page was last loaded or held.
virtual PageID getID() const
Get the ID of this page, unique within the parent.
static const uint16 WORKQUEUE_PREPARE_REQUEST
unsigned long mFrameLastHeld
The PageManager is the entry point through which you load all PagedWorld instances,...
General purpose response structure.
ContentCollectionList collectionsToAdd
Class representing a node in the scene graph.
uint32 PageID
Identifier for a page.
std::ostream & operator<<(std::ostream &o, const TRect< T > &r)
Manages the organisation and rendering of a 'scene' i.e.
Definition of the interface for a collection of PageContent instances.
Interface definition for a handler of responses.
void _notifyModified()
Tell the page that it is modified.
static const uint32 CHUNK_ID
static const uint32 CHUNK_CONTENTCOLLECTION_DECLARATION_ID
Represents a section of the PagedWorld which uses a given PageStrategy, and which is made up of a gen...
bool mDeferredProcessInProgress
Utility class providing helper methods for reading / writing structured data held in a DataStream.
static const uint16 CHUNK_VERSION
Interface definition for a handler of requests.
float Real
Software floating point type.
vector< PageContentCollection * >::type ContentCollectionList
PagedWorldSection * mParent
static const uint16 WORKQUEUE_CHANGECOLLECTION_REQUEST
ContentCollectionList mContentCollections
#define _OgrePagingExport
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15