OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
Specialisation of PageContentCollection which just provides a simple list of PageContent instances. More...
#include <OgreSimplePageContentCollection.h>
Public Types | |
typedef vector< PageContent * >::type | ContentList |
Public Member Functions | |
SimplePageContentCollection (PageContentCollectionFactory *creator) | |
~SimplePageContentCollection () | |
virtual void | _notifyAttached (Page *parent) |
Internal method to notify a collection that it is attached. More... | |
virtual PageContent * | createContent (const String &typeName) |
Create a new PageContent within this collection. More... | |
virtual void | destroyContent (PageContent *coll) |
Destroy a PageContent within this page. More... | |
virtual void | frameEnd (Real timeElapsed) |
Called when the frame ends. More... | |
virtual void | frameStart (Real timeSinceLastFrame) |
Called when the frame starts. More... | |
virtual const ContentList & | getContentList () const |
Get const access to the list of content. More... | |
PageManager * | getManager () const |
Page * | getParentPage () const |
SceneManager * | getSceneManager () const |
virtual const String & | getType () const |
Get the type of the collection, which will match it's factory. More... | |
void | load () |
Load - will be called in main thread. More... | |
virtual void | notifyCamera (Camera *cam) |
Notify a section of the current camera. 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) |
bool | prepare (StreamSerialiser &stream) |
Prepare data - may be called in the background. More... | |
virtual void | save (StreamSerialiser &stream) |
Save the collection to a stream. More... | |
void | unload () |
Unload - will be called in main thread. More... | |
void | unprepare () |
Unprepare data - may be called in the background. More... | |
Static Public Attributes | |
static const uint32 | CHUNK_ID |
static const uint16 | CHUNK_VERSION |
static const uint32 | SUBCLASS_CHUNK_ID |
static const uint16 | SUBCLASS_CHUNK_VERSION |
Specialisation of PageContentCollection which just provides a simple list of PageContent instances.
Name | Type | Description |
Nested contents | Nested chunk list | A sequence of nested PageContent chunks |
typedef vector<PageContent*>::type Ogre::SimplePageContentCollection::ContentList |
Ogre::SimplePageContentCollection::SimplePageContentCollection | ( | PageContentCollectionFactory * | creator | ) |
Ogre::SimplePageContentCollection::~SimplePageContentCollection | ( | ) |
|
virtualinherited |
Internal method to notify a collection that it is attached.
|
virtual |
Create a new PageContent within this collection.
typeName | The name of the type of content (see PageManager::getContentFactories) |
|
virtual |
Destroy a PageContent within this page.
This is equivalent to calling detachContent and PageManager::destroyContent.
|
virtual |
Called when the frame ends.
Implements Ogre::PageContentCollection.
|
virtual |
Called when the frame starts.
Implements Ogre::PageContentCollection.
|
inlinevirtual |
Get const access to the list of content.
|
inherited |
|
inlineinherited |
|
inherited |
|
virtualinherited |
Get the type of the collection, which will match it's factory.
|
virtual |
Load - will be called in main thread.
Implements Ogre::PageContentCollection.
|
virtual |
Notify a section of the current camera.
Implements Ogre::PageContentCollection.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
|
inlineinherited |
placement operator new
|
inlineinherited |
array operator new, with debug line info
|
inlineinherited |
|
virtual |
Prepare data - may be called in the background.
Implements Ogre::PageContentCollection.
|
virtual |
Save the collection to a stream.
Implements Ogre::PageContentCollection.
|
virtual |
Unload - will be called in main thread.
Implements Ogre::PageContentCollection.
|
virtual |
Unprepare data - may be called in the background.
Implements Ogre::PageContentCollection.
|
staticinherited |
|
staticinherited |
|
static |
|
static |