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 | loadProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to load page content procedurally. More... | |
virtual bool | prepareProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to prepare page content procedurally. More... | |
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. More... | |
virtual StreamSerialiser * | readWorldStream (const String &filename) |
Get a serialiser set up to read PagedWorld data for the given world filename. More... | |
virtual bool | unloadProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to unload page content procedurally. More... | |
virtual bool | unprepareProceduralPage (Page *page, PagedWorldSection *section) |
Give a provider the opportunity to unprepare page content procedurally. More... | |
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. More... | |
virtual StreamSerialiser * | writeWorldStream (const String &filename) |
Get a serialiser set up to write PagedWorld data for the given world filename. More... | |
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 59 of file OgrePageManager.h.
|
inline |
Definition at line 62 of file OgrePageManager.h.
|
inlinevirtual |
Definition at line 63 of file OgrePageManager.h.
|
inlinevirtual |
Give a provider the opportunity to load page content procedurally.
Definition at line 78 of file OgrePageManager.h.
|
inlinevirtual |
Give a provider the opportunity to prepare page content procedurally.
Definition at line 71 of file OgrePageManager.h.
|
inlinevirtual |
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 116 of file OgrePageManager.h.
|
inlinevirtual |
Get a serialiser set up to read PagedWorld data for the given world filename.
Definition at line 101 of file OgrePageManager.h.
|
inlinevirtual |
Give a provider the opportunity to unload page content procedurally.
Definition at line 86 of file OgrePageManager.h.
|
inlinevirtual |
Give a provider the opportunity to unprepare page content procedurally.
Definition at line 94 of file OgrePageManager.h.
|
inlinevirtual |
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 126 of file OgrePageManager.h.
|
inlinevirtual |
Get a serialiser set up to write PagedWorld data for the given world filename.
Definition at line 107 of file OgrePageManager.h.