OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::LightFactory Class Referencefinal

Factory object for creating Light instances. More...

#include <OgreLight.h>

+ Inheritance diagram for Ogre::LightFactory:

Public Member Functions

 LightFactory ()
 
 ~LightFactory () override
 
virtual MovableObjectcreateInstance (IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const NameValuePairList *params=0)
 Create a new instance of the object. More...
 
void destroyInstance (MovableObject *obj) override
 Destroy an instance of the object. More...
 
const StringgetType () const override
 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...
 

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 ( )
inlineoverride

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)
overridevirtual

Destroy an instance of the object.

Implements Ogre::MovableObjectFactory.

◆ getType()

const String& Ogre::LightFactory::getType ( ) const
overridevirtual

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: