OGRE-Next
3.0.0
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 () const =0 |
Get the type of the object to be created. More... | |
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::WireAabbFactory, Ogre::v1::RibbonTrailFactory, Ogre::Rectangle2DFactory, Ogre::v1::Rectangle2DFactory, Ogre::ParticleSystemFactory, Ogre::ManualObjectFactory, Ogre::v1::ManualObjectFactory, Ogre::LightFactory, Ogre::ItemFactory, Ogre::InternalCubemapProbeFactory, Ogre::v1::EntityFactory, Ogre::DecalFactory, Ogre::v1::BillboardSetFactory, and Ogre::v1::BillboardChainFactory.
|
pure virtual |
Get the type of the object to be created.
Implemented in Ogre::WireAabbFactory, Ogre::v1::RibbonTrailFactory, Ogre::Rectangle2DFactory, Ogre::v1::Rectangle2DFactory, Ogre::ParticleSystemFactory, Ogre::ManualObjectFactory, Ogre::v1::ManualObjectFactory, Ogre::LightFactory, Ogre::ItemFactory, Ogre::InternalCubemapProbeFactory, Ogre::v1::EntityFactory, Ogre::DecalFactory, Ogre::v1::BillboardSetFactory, and Ogre::v1::BillboardChainFactory.