|  | OGRE
    1.11.6
    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>
 Inheritance diagram for Ogre::MovableObjectFactory:
 Inheritance diagram for Ogre::MovableObjectFactory:| Public Member Functions | |
| MovableObjectFactory () | |
| virtual | ~MovableObjectFactory () | 
| void | _notifyTypeFlags (uint32 flag) | 
| Notify this factory of the type mask to apply.  More... | |
| MovableObject * | createInstance (const String &name, 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... | |
| uint32 | getTypeFlags (void) const | 
| Gets the type flag for this factory.  More... | |
| virtual bool | requestTypeFlags (void) const | 
| Does this factory require the allocation of a 'type flag', used to selectively include / exclude this type from scene queries?  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 | 
| 
 | pure virtual | 
Get the type of the object to be created.
Implemented in Ogre::EntityFactory, Ogre::BillboardSetFactory, Ogre::LightFactory, Ogre::ManualObjectFactory, Ogre::BillboardChainFactory, Ogre::ParticleSystemFactory, Ogre::RibbonTrailFactory, Ogre::PCZLightFactory, Ogre::PortalFactory, and Ogre::AntiPortalFactory.
| MovableObject* Ogre::MovableObjectFactory::createInstance | ( | const String & | name, | 
| SceneManager * | manager, | ||
| const NameValuePairList * | params = 0 | ||
| ) | 
Create a new instance of the object.
| name | The name of the new 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::EntityFactory, Ogre::BillboardSetFactory, Ogre::LightFactory, Ogre::ManualObjectFactory, Ogre::BillboardChainFactory, Ogre::ParticleSystemFactory, Ogre::RibbonTrailFactory, Ogre::PCZLightFactory, Ogre::PortalFactory, and Ogre::AntiPortalFactory.
| 
 | inlinevirtual | 
Does this factory require the allocation of a 'type flag', used to selectively include / exclude this type from scene queries?
Reimplemented in Ogre::PortalFactory, and Ogre::AntiPortalFactory.
| 
 | inline | 
Notify this factory of the type mask to apply.
| 
 | inline | 
Gets the type flag for this factory.