Abstract class that can be implemented by the user application to provide a way to retrieve or generate page data from a source of their choosing. More...
#include <OgrePageManager.h>
Public Member Functions | |
PageProvider () | |
virtual | ~PageProvider () |
virtual bool | prepareProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to prepare page content procedurally. | |
virtual bool | loadProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to load page content procedurally. | |
virtual bool | unloadProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to unload page content procedurally. | |
virtual bool | unprepareProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to unprepare page content procedurally. | |
virtual StreamSerialiser * | readWorldStream (const String &filename) |
Get a serialiser set up to read PagedWorld data for the given world filename. | |
virtual StreamSerialiser * | writeWorldStream (const String &filename) |
Get a serialiser set up to write PagedWorld data for the given world filename. | |
virtual StreamSerialiser * | readPageStream (PageID pageID, PagedWorldSection *section) |
Get a serialiser set up to read Page data for the given PageID, or null if this provider cannot supply one. | |
virtual StreamSerialiser * | writePageStream (PageID pageID, PagedWorldSection *section) |
Get a serialiser set up to write Page data for the given PageID, or null if this provider cannot supply one. |
Abstract class that can be implemented by the user application to provide a way to retrieve or generate page data from a source of their choosing.
Definition at line 58 of file OgrePageManager.h.
Ogre::PageProvider::PageProvider | ( | ) |
Definition at line 61 of file OgrePageManager.h.
virtual Ogre::PageProvider::~PageProvider | ( | ) | [virtual] |
Definition at line 62 of file OgrePageManager.h.
virtual bool Ogre::PageProvider::loadProceduralPage | ( | Page * | page, | |
PagedWorldSection * | section | |||
) | [virtual] |
Give a provider the opportunity to load page content procedurally.
Definition at line 77 of file OgrePageManager.h.
virtual bool Ogre::PageProvider::prepareProceduralPage | ( | Page * | page, | |
PagedWorldSection * | section | |||
) | [virtual] |
Give a provider the opportunity to prepare page content procedurally.
Definition at line 70 of file OgrePageManager.h.
virtual StreamSerialiser* Ogre::PageProvider::readPageStream | ( | PageID | pageID, | |
PagedWorldSection * | section | |||
) | [virtual] |
Get a serialiser set up to read Page data for the given PageID, or null if this provider cannot supply one.
pageID | The ID of the page being requested | |
section | The parent section to which this page will belong |
Definition at line 115 of file OgrePageManager.h.
virtual StreamSerialiser* Ogre::PageProvider::readWorldStream | ( | const String & | filename | ) | [virtual] |
Get a serialiser set up to read PagedWorld data for the given world filename.
Definition at line 100 of file OgrePageManager.h.
virtual bool Ogre::PageProvider::unloadProceduralPage | ( | Page * | page, | |
PagedWorldSection * | section | |||
) | [virtual] |
Give a provider the opportunity to unload page content procedurally.
Definition at line 85 of file OgrePageManager.h.
virtual bool Ogre::PageProvider::unprepareProceduralPage | ( | Page * | page, | |
PagedWorldSection * | section | |||
) | [virtual] |
Give a provider the opportunity to unprepare page content procedurally.
Definition at line 93 of file OgrePageManager.h.
virtual StreamSerialiser* Ogre::PageProvider::writePageStream | ( | PageID | pageID, | |
PagedWorldSection * | section | |||
) | [virtual] |
Get a serialiser set up to write Page data for the given PageID, or null if this provider cannot supply one.
pageID | The ID of the page being requested | |
section | The parent section to which this page will belong |
Definition at line 125 of file OgrePageManager.h.
virtual StreamSerialiser* Ogre::PageProvider::writeWorldStream | ( | const String & | filename | ) | [virtual] |
Get a serialiser set up to write PagedWorld data for the given world filename.
Definition at line 106 of file OgrePageManager.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:41:48 2012