Defines the interface to a strategy class which is responsible for deciding when Page instances are requested for addition and removal from the paging system. More...
#include <OgrePageStrategy.h>

Public Member Functions | |
| PageStrategy (const String &name, PageManager *manager) | |
| virtual | ~PageStrategy () |
| virtual PageStrategyData * | createData ()=0 |
| Create a PageStrategyData instance containing the data specific to this PageStrategy. More... | |
| virtual void | destroyData (PageStrategyData *d)=0 |
| Destroy a PageStrategyData instance containing the data specific to this PageStrategy. More... | |
| virtual void | frameEnd (Real timeElapsed, PagedWorldSection *section) |
| Called when the frame ends. More... | |
| virtual void | frameStart (Real timeSinceLastFrame, PagedWorldSection *section) |
| Called when the frame starts. More... | |
| PageManager * | getManager () const |
| const String & | getName () const |
| virtual PageID | getPageID (const Vector3 &worldPos, PagedWorldSection *section)=0 |
| Get the page ID for a given world position. More... | |
| virtual void | notifyCamera (Camera *cam, PagedWorldSection *section) |
| Called when a camera is used for any kind of rendering. More... | |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More... | |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new More... | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More... | |
| void * | operator new[] (size_t sz) |
| virtual void | updateDebugDisplay (Page *p, SceneNode *sn)=0 |
| Update the contents of the passed in SceneNode to reflect the debug display of a given page. More... | |
Protected Attributes | |
| PageManager * | mManager |
| String | mName |
Defines the interface to a strategy class which is responsible for deciding when Page instances are requested for addition and removal from the paging system.
Definition at line 73 of file OgrePageStrategy.h.
| Ogre::PageStrategy::PageStrategy | ( | const String & | name, |
| PageManager * | manager | ||
| ) |
Definition at line 79 of file OgrePageStrategy.h.
|
virtual |
Definition at line 85 of file OgrePageStrategy.h.
|
pure virtual |
Create a PageStrategyData instance containing the data specific to this PageStrategy.
Implemented in Ogre::Grid2DPageStrategy, and Ogre::Grid3DPageStrategy.
|
pure virtual |
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
Implemented in Ogre::Grid2DPageStrategy, and Ogre::Grid3DPageStrategy.
|
virtual |
Called when the frame ends.
Definition at line 93 of file OgrePageStrategy.h.
|
virtual |
Called when the frame starts.
Definition at line 91 of file OgrePageStrategy.h.
| PageManager* Ogre::PageStrategy::getManager | ( | ) | const |
Definition at line 88 of file OgrePageStrategy.h.
| const String& Ogre::PageStrategy::getName | ( | void | ) | const |
Definition at line 87 of file OgrePageStrategy.h.
|
pure virtual |
Get the page ID for a given world position.
Implemented in Ogre::Grid2DPageStrategy, and Ogre::Grid3DPageStrategy.
|
virtual |
Called when a camera is used for any kind of rendering.
| cam | Camera which is being used for rendering. Class should not rely on this pointer remaining valid permanently because no notification will be given when the camera is destroyed. |
Reimplemented in Ogre::Grid2DPageStrategy, and Ogre::Grid3DPageStrategy.
Definition at line 102 of file OgrePageStrategy.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
Implemented in Ogre::Grid2DPageStrategy, and Ogre::Grid3DPageStrategy.
|
protected |
Definition at line 77 of file OgrePageStrategy.h.
|
protected |
Definition at line 76 of file OgrePageStrategy.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Wed Apr 22 2015 18:15:46