#include <OgrePage.h>
Classes | |
struct | PageData |
struct | PageRequest |
Structure for holding background page requests. More... | |
struct | PageResponse |
Public Types | |
typedef vector< PageContentCollection * >::type | ContentCollectionList |
Protected Member Functions | |
String | generateFilename () const |
virtual void | loadImpl () |
virtual bool | prepareImpl (PageData *dataToPopulate) |
virtual bool | prepareImpl (StreamSerialiser &str, PageData *dataToPopulate) |
void | updateDebugDisplay () |
Friends | |
_OgrePagingExport friend std::ostream & | operator<< (std::ostream &o, const Page &p) |
Function for writing to a stream. | |
Page class.
Definition at line 49 of file OgrePage.h.
Definition at line 53 of file OgrePage.h.
Ogre::Page::Page | ( | PageID | pageID, |
PagedWorldSection * | parent | ||
) |
|
virtual |
void Ogre::Page::_notifyModified | ( | ) |
Tell the page that it is modified.
Definition at line 188 of file OgrePage.h.
|
virtual |
WorkQueue::RequestHandler override.
Reimplemented from Ogre::WorkQueue::RequestHandler.
|
virtual |
WorkQueue::ResponseHandler override.
Reimplemented from Ogre::WorkQueue::ResponseHandler.
|
virtual |
Create a new PageContentCollection within this page.
This is equivalent to calling PageManager::createContentCollection and then attachContentCollection.
typeName | The name of the type of content collection (see PageManager::getContentCollectionFactories) |
Destroy all PageContentCollections within this page.
|
virtual |
Destroy a PageContentCollection within this page.
This is equivalent to calling detachContentCollection and PageManager::destroyContentCollection.
Called when the frame starts.
|
protected |
|
virtual |
Get a content collection.
Get the number of content collections.
const ContentCollectionList & Ogre::Page::getContentCollectionList | ( | ) | const |
Get the list of content collections.
Get the frame number in which this Page was last loaded or held.
Definition at line 121 of file OgrePage.h.
Get the ID of this page, unique within the parent.
Definition at line 113 of file OgrePage.h.
PageManager * Ogre::Page::getManager | ( | ) | const |
|
virtual |
Get the PagedWorldSection this page belongs to.
Definition at line 115 of file OgrePage.h.
SceneManager * Ogre::Page::getSceneManager | ( | ) | const |
|
virtual |
WorkQueue::RequestHandler override.
Implements Ogre::WorkQueue::RequestHandler.
|
virtual |
WorkQueue::ResponseHandler override.
Implements Ogre::WorkQueue::ResponseHandler.
bool Ogre::Page::isDeferredProcessInProgress | ( | ) | const |
If true, it's not safe to access this Page at this time, contents may be changing.
Definition at line 110 of file OgrePage.h.
Returns whether this page was 'held' in the last frame, that is was it either directly needed, or requested to stay in memory (held - as in a buffer region for example).
If not, this page is eligible for removal.
bool Ogre::Page::isModified | ( | ) | const |
Definition at line 189 of file OgrePage.h.
Load this page.
synchronous | Whether to force this to happen synchronously. |
Notify a section of the current camera.
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
protectedvirtual |
|
virtual |
Save page data to a serialiser.
|
protected |
|
friend |
Function for writing to a stream.
Definition at line 101 of file OgrePage.h.
Definition at line 98 of file OgrePage.h.
Definition at line 99 of file OgrePage.h.
|
protected |
Definition at line 58 of file OgrePage.h.
|
protected |
Definition at line 63 of file OgrePage.h.
|
protected |
Definition at line 60 of file OgrePage.h.
Definition at line 57 of file OgrePage.h.
|
protected |
Definition at line 55 of file OgrePage.h.
|
protected |
Definition at line 61 of file OgrePage.h.
|
protected |
Definition at line 56 of file OgrePage.h.
|
protected |
Definition at line 59 of file OgrePage.h.
Definition at line 192 of file OgrePage.h.
Definition at line 191 of file OgrePage.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.