OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::PageContent Class Referenceabstract

Interface definition for a unit of content within a page. More...

#include <OgrePageContent.h>

+ Inheritance diagram for Ogre::PageContent:
+ Collaboration diagram for Ogre::PageContent:

Public Member Functions

 PageContent (PageContentFactory *creator)
 
virtual ~PageContent ()
 
virtual void _notifyAttached (PageContentCollection *parent)
 Internal method to notify a page that it is attached. More...
 
virtual void frameEnd (Real timeElapsed)
 Called when the frame ends. More...
 
virtual void frameStart (Real timeSinceLastFrame)
 Called when the frame starts. More...
 
PageManagergetManager () const
 
SceneManagergetSceneManager () const
 
virtual const StringgetType () const
 Get the type of the content, which will match it's factory. More...
 
virtual void load ()=0
 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)
 
virtual bool prepare (StreamSerialiser &ser)=0
 Prepare data - may be called in the background. More...
 
virtual void save (StreamSerialiser &stream)=0
 Save the content to a stream. More...
 
virtual void unload ()=0
 Unload - will be called in main thread. More...
 
virtual void unprepare ()=0
 Unprepare data - may be called in the background. More...
 

Protected Attributes

PageContentFactorymCreator
 
PageContentCollectionmParent
 

Detailed Description

Interface definition for a unit of content within a page.

Definition at line 49 of file OgrePageContent.h.

Constructor & Destructor Documentation

Ogre::PageContent::PageContent ( PageContentFactory creator)
virtual Ogre::PageContent::~PageContent ( )
virtual

Member Function Documentation

virtual void Ogre::PageContent::_notifyAttached ( PageContentCollection parent)
virtual

Internal method to notify a page that it is attached.

virtual void Ogre::PageContent::frameEnd ( Real  timeElapsed)
inlinevirtual

Called when the frame ends.

Definition at line 71 of file OgrePageContent.h.

virtual void Ogre::PageContent::frameStart ( Real  timeSinceLastFrame)
inlinevirtual

Called when the frame starts.

Definition at line 69 of file OgrePageContent.h.

PageManager* Ogre::PageContent::getManager ( ) const
SceneManager* Ogre::PageContent::getSceneManager ( ) const
virtual const String& Ogre::PageContent::getType ( ) const
virtual

Get the type of the content, which will match it's factory.

virtual void Ogre::PageContent::load ( )
pure virtual

Load - will be called in main thread.

virtual void Ogre::PageContent::notifyCamera ( Camera cam)
inlinevirtual

Notify a section of the current camera.

Definition at line 73 of file OgrePageContent.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

virtual bool Ogre::PageContent::prepare ( StreamSerialiser ser)
pure virtual

Prepare data - may be called in the background.

virtual void Ogre::PageContent::save ( StreamSerialiser stream)
pure virtual

Save the content to a stream.

virtual void Ogre::PageContent::unload ( )
pure virtual

Unload - will be called in main thread.

virtual void Ogre::PageContent::unprepare ( )
pure virtual

Unprepare data - may be called in the background.

Member Data Documentation

PageContentFactory* Ogre::PageContent::mCreator
protected

Definition at line 52 of file OgrePageContent.h.

PageContentCollection* Ogre::PageContent::mParent
protected

Definition at line 53 of file OgrePageContent.h.


The documentation for this class was generated from the following file: