OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
Interface definition for a factory class which produces a certain kind of MovableObject, and can be registered with Root in order to allow all clients to produce new instances of this object, integrated with the standard Ogre processing. More...
#include <OgreMovableObject.h>
Public Member Functions | |
MovableObjectFactory () | |
virtual | ~MovableObjectFactory () |
virtual MovableObject * | createInstance (IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const NameValuePairList *params=0) |
Create a new instance of the object. More... | |
virtual void | destroyInstance (MovableObject *obj)=0 |
Destroy an instance of the object. More... | |
virtual const String & | getType (void) const =0 |
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) |
Interface definition for a factory class which produces a certain kind of MovableObject, and can be registered with Root in order to allow all clients to produce new instances of this object, integrated with the standard Ogre processing.
|
inline |
|
inlinevirtual |
|
virtual |
Create a new instance of the object.
manager | The SceneManager instance that will be holding the instance once created. |
params | Name/value pair list of additional parameters required to construct the object (defined per subtype). Optional. |
|
pure virtual |
Destroy an instance of the object.
Implemented in Ogre::v1::BillboardSetFactory, Ogre::v1::EntityFactory, Ogre::LightFactory, Ogre::v1::ManualObjectFactory, Ogre::ParticleSystemFactory, Ogre::ManualObjectFactory, Ogre::v1::BillboardChainFactory, Ogre::ItemFactory, Ogre::v1::RibbonTrailFactory, Ogre::DecalFactory, Ogre::Rectangle2DFactory, Ogre::v1::Rectangle2DFactory, Ogre::InternalCubemapProbeFactory, and Ogre::WireAabbFactory.
|
pure virtual |
Get the type of the object to be created.
Implemented in Ogre::v1::BillboardSetFactory, Ogre::v1::EntityFactory, Ogre::LightFactory, Ogre::v1::ManualObjectFactory, Ogre::ParticleSystemFactory, Ogre::ManualObjectFactory, Ogre::v1::BillboardChainFactory, Ogre::ItemFactory, Ogre::v1::RibbonTrailFactory, Ogre::DecalFactory, Ogre::Rectangle2DFactory, Ogre::v1::Rectangle2DFactory, Ogre::InternalCubemapProbeFactory, and Ogre::WireAabbFactory.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
|
inlineinherited |
placement operator new
|
inlineinherited |
array operator new, with debug line info
|
inlineinherited |