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

Factory object for creating AntiPortal instances. More...

#include <OgreAntiPortal.h>

+ Inheritance diagram for Ogre::AntiPortalFactory:
+ Collaboration diagram for Ogre::AntiPortalFactory:

Public Member Functions

 AntiPortalFactory ()
 
 ~AntiPortalFactory ()
 
void _notifyTypeFlags (uint32 flag)
 Notify this factory of the type mask to apply. More...
 
virtual MovableObjectcreateInstance (const String &name, 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...
 
uint32 getTypeFlags (void) const
 Gets the type flag for this factory. 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)
 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...
 

Protected Attributes

uint32 mTypeFlag
 Type flag, allocated if requested. More...
 

Detailed Description

Factory object for creating AntiPortal instances.

Definition at line 51 of file OgreAntiPortal.h.

Constructor & Destructor Documentation

Ogre::AntiPortalFactory::AntiPortalFactory ( )
inline

Definition at line 56 of file OgreAntiPortal.h.

Ogre::AntiPortalFactory::~AntiPortalFactory ( )
inline

Definition at line 57 of file OgreAntiPortal.h.

Member Function Documentation

void Ogre::MovableObjectFactory::_notifyTypeFlags ( uint32  flag)
inlineinherited

Notify this factory of the type mask to apply.

Remarks
This should normally only be called by Root in response to a 'true' result from requestTypeMask. However, you can actually use it yourself if you're careful; for example to assign the same mask to a number of different types of object, should you always wish them to be treated the same in queries.

Definition at line 628 of file OgreMovableObject.h.

virtual MovableObject* Ogre::MovableObjectFactory::createInstance ( const String name,
SceneManager manager,
const NameValuePairList params = 0 
)
virtualinherited

Create a new instance of the object.

Parameters
nameThe name of the new object
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::AntiPortalFactory::createInstanceImpl ( const String name,
const NameValuePairList params 
)
protectedvirtual

Internal implementation of create method - must be overridden.

Implements Ogre::MovableObjectFactory.

void Ogre::AntiPortalFactory::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::AntiPortalFactory::getType ( ) const
inlinevirtual

Get the type of the object to be created.

Implements Ogre::MovableObjectFactory.

Definition at line 62 of file OgreAntiPortal.h.

uint32 Ogre::MovableObjectFactory::getTypeFlags ( void  ) const
inlineinherited

Gets the type flag for this factory.

Remarks
A type flag is like a query flag, except that it applies to all instances of a certain type of object.

Definition at line 635 of file OgreMovableObject.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::AntiPortalFactory::requestTypeFlags ( void  ) const
inlinevirtual

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

Reimplemented from Ogre::MovableObjectFactory.

Definition at line 68 of file OgreAntiPortal.h.

Member Data Documentation

unsigned long Ogre::AntiPortalFactory::FACTORY_TYPE_FLAG
static

Definition at line 60 of file OgreAntiPortal.h.

String Ogre::AntiPortalFactory::FACTORY_TYPE_NAME
static

Definition at line 59 of file OgreAntiPortal.h.

uint32 Ogre::MovableObjectFactory::mTypeFlag
protectedinherited

Type flag, allocated if requested.

Definition at line 582 of file OgreMovableObject.h.


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