OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::LightFactory Class Reference

Factory object for creating Light instances. More...

#include <OgreLight.h>

+ Inheritance diagram for Ogre::LightFactory:

Public Member Functions

 LightFactory ()
 
 ~LightFactory ()
 
virtual MovableObjectcreateInstance (IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const NameValuePairList *params=0)
 Create a new instance of the object.
 
void destroyInstance (MovableObject *obj)
 Destroy an instance of the object.
 
const StringgetType (void) const
 Get the type of the object to be created.
 
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 *)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
 
voidoperator new (size_t sz, void *ptr)
 placement operator new
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
 

Static Public Attributes

static String FACTORY_TYPE_NAME
 

Detailed Description

Factory object for creating Light instances.

Constructor & Destructor Documentation

◆ LightFactory()

Ogre::LightFactory::LightFactory ( )
inline

◆ ~LightFactory()

Ogre::LightFactory::~LightFactory ( )
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::LightFactory::destroyInstance ( MovableObject obj)
virtual

Destroy an instance of the object.

Implements Ogre::MovableObjectFactory.

◆ getType()

const String & Ogre::LightFactory::getType ( void  ) const
virtual

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

Member Data Documentation

◆ FACTORY_TYPE_NAME

String Ogre::LightFactory::FACTORY_TYPE_NAME
static

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