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

Factory object for creating Portal instances. More...

#include <OgrePortal.h>

+ Inheritance diagram for Ogre::PortalFactory:
+ Collaboration diagram for Ogre::PortalFactory:

Public Member Functions

 PortalFactory ()
 
 ~PortalFactory ()
 
virtual MovableObjectcreateInstance (IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const NameValuePairList *params=0)
 Create a new instance of the object. More...
 
void destroyInstance (MovableObject *obj)
 Destroy an instance of the object. More...
 
const StringgetType () const
 Get the type of the object to be created. 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 requestTypeFlags () const
 Return true here as we want to get a unique type flag. More...
 

Static Public Attributes

static unsigned long FACTORY_TYPE_FLAG
 
static String FACTORY_TYPE_NAME
 

Protected Member Functions

MovableObjectcreateInstanceImpl (const String &name, const NameValuePairList *params)
 
virtual MovableObjectcreateInstanceImpl (IdType id, ObjectMemoryManager *objectMemoryManager, const NameValuePairList *params=0)=0
 Internal implementation of create method - must be overridden. More...
 
PortalBase::PORTAL_TYPE getPortalType (const NameValuePairList *params)
 Get the portal type from name value pair. More...
 

Detailed Description

Factory object for creating Portal instances.

Definition at line 79 of file OgrePortal.h.

Constructor & Destructor Documentation

Ogre::PortalFactory::PortalFactory ( )
inline

Definition at line 84 of file OgrePortal.h.

Ogre::PortalFactory::~PortalFactory ( )
inline

Definition at line 85 of file OgrePortal.h.

Member Function Documentation

virtual MovableObject* Ogre::MovableObjectFactory::createInstance ( IdType  id,
ObjectMemoryManager objectMemoryManager,
SceneManager manager,
const NameValuePairList params = 0 
)
virtualinherited

Create a new instance of the object.

Parameters
managerThe SceneManager instance that will be holding the instance once created.
paramsName/value pair list of additional parameters required to construct the object (defined per subtype). Optional.
MovableObject* Ogre::PortalFactory::createInstanceImpl ( const String name,
const NameValuePairList params 
)
protected
virtual MovableObject* Ogre::MovableObjectFactory::createInstanceImpl ( IdType  id,
ObjectMemoryManager objectMemoryManager,
const NameValuePairList params = 0 
)
protectedpure virtualinherited
void Ogre::PortalFactory::destroyInstance ( MovableObject obj)
virtual

Destroy an instance of the object.

Implements Ogre::MovableObjectFactory.

PortalBase::PORTAL_TYPE Ogre::PortalBaseFactory::getPortalType ( const NameValuePairList params)
protectedinherited

Get the portal type from name value pair.

const String& Ogre::PortalFactory::getType ( ) const
inlinevirtual

Get the type of the object to be created.

Implements Ogre::MovableObjectFactory.

Definition at line 90 of file OgrePortal.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.

bool Ogre::PortalFactory::requestTypeFlags ( ) const
inline

Return true here as we want to get a unique type flag.

Definition at line 96 of file OgrePortal.h.

Member Data Documentation

unsigned long Ogre::PortalFactory::FACTORY_TYPE_FLAG
static

Definition at line 88 of file OgrePortal.h.

String Ogre::PortalFactory::FACTORY_TYPE_NAME
static

Definition at line 87 of file OgrePortal.h.


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