#include <OgreManualObject.h>
Public Member Functions | |
| ManualObjectFactory () | |
| ~ManualObjectFactory () | |
| const String & | getType (void) const |
| Get the type of the object to be created. | |
| void | destroyInstance (MovableObject *obj) |
| Destroy an instance of the object. | |
| virtual MovableObject * | createInstance (const String &name, SceneManager *manager, const NameValuePairList *params=0) |
| Create a new instance of the object. | |
| 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? | |
| void | _notifyTypeFlags (unsigned long flag) |
| Notify this factory of the type mask to apply. | |
| unsigned long | getTypeFlags (void) const |
| Gets the type flag for this factory. | |
Static Public Attributes | |
| static String | FACTORY_TYPE_NAME |
Protected Member Functions | |
| MovableObject * | createInstanceImpl (const String &name, const NameValuePairList *params) |
| Internal implementation of create method - must be overridden. | |
Protected Attributes | |
| unsigned long | mTypeFlag |
| Type flag, allocated if requested. | |
Definition at line 496 of file OgreManualObject.h.
| Ogre::ManualObjectFactory::ManualObjectFactory | ( | ) |
Definition at line 501 of file OgreManualObject.h.
| Ogre::ManualObjectFactory::~ManualObjectFactory | ( | ) |
Definition at line 502 of file OgreManualObject.h.
| MovableObject* Ogre::ManualObjectFactory::createInstanceImpl | ( | const String & | name, | |
| const NameValuePairList * | params | |||
| ) | [protected, virtual] |
Internal implementation of create method - must be overridden.
Implements Ogre::MovableObjectFactory.
| const String& Ogre::ManualObjectFactory::getType | ( | void | ) | const [virtual] |
| void Ogre::ManualObjectFactory::destroyInstance | ( | MovableObject * | obj | ) | [virtual] |
| virtual MovableObject* Ogre::MovableObjectFactory::createInstance | ( | const String & | name, | |
| SceneManager * | manager, | |||
| const NameValuePairList * | params = 0 | |||
| ) | [virtual, inherited] |
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. |
| virtual bool Ogre::MovableObjectFactory::requestTypeFlags | ( | void | ) | const [virtual, inherited] |
Does this factory require the allocation of a 'type flag', used to selectively include / exclude this type from scene queries?
Definition at line 509 of file OgreMovableObject.h.
| void Ogre::MovableObjectFactory::_notifyTypeFlags | ( | unsigned long | flag | ) | [inherited] |
Notify this factory of the type mask to apply.
Definition at line 518 of file OgreMovableObject.h.
| unsigned long Ogre::MovableObjectFactory::getTypeFlags | ( | void | ) | const [inherited] |
Gets the type flag for this factory.
Definition at line 525 of file OgreMovableObject.h.
Definition at line 504 of file OgreManualObject.h.
unsigned long Ogre::MovableObjectFactory::mTypeFlag [protected, inherited] |
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:50:23 2008