OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::PortalFactory Class Reference

Factory object for creating Portal instances. More...

#include <OgrePortal.h>

+ Inheritance 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, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz)
 
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 *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
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
 

Detailed Description

Factory object for creating Portal instances.

Constructor & Destructor Documentation

◆ PortalFactory()

Ogre::PortalFactory::PortalFactory ( )
inline

◆ ~PortalFactory()

Ogre::PortalFactory::~PortalFactory ( )
inline

Member Function Documentation

◆ createInstance()

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.

◆ destroyInstance()

void Ogre::PortalFactory::destroyInstance ( MovableObject obj)
virtual

Destroy an instance of the object.

Implements Ogre::MovableObjectFactory.

◆ getType()

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

Get the type of the object to be created.

Implements Ogre::MovableObjectFactory.

◆ operator delete() [1/3]

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

◆ operator delete() [2/3]

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

◆ operator delete() [3/3]

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

◆ operator delete[]() [1/2]

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

◆ operator delete[]() [2/2]

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

◆ operator new() [1/3]

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

◆ operator new() [2/3]

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

◆ operator new() [3/3]

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

placement operator new

◆ operator new[]() [1/2]

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

◆ operator new[]() [2/2]

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

◆ requestTypeFlags()

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

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

Member Data Documentation

◆ FACTORY_TYPE_FLAG

unsigned long Ogre::PortalFactory::FACTORY_TYPE_FLAG
static

◆ FACTORY_TYPE_NAME

String Ogre::PortalFactory::FACTORY_TYPE_NAME
static

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