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