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>
|
| MovableObjectFactory () |
|
virtual | ~MovableObjectFactory () |
|
void | _notifyTypeFlags (uint32 flag) |
| Notify this factory of the type mask to apply. More...
|
|
virtual 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...
|
|
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) |
|
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.
Definition at line 578 of file OgreMovableObject.h.
◆ MovableObjectFactory()
Ogre::MovableObjectFactory::MovableObjectFactory |
( |
| ) |
|
◆ ~MovableObjectFactory()
virtual Ogre::MovableObjectFactory::~MovableObjectFactory |
( |
| ) |
|
|
virtual |
◆ _notifyTypeFlags()
void Ogre::MovableObjectFactory::_notifyTypeFlags |
( |
uint32 |
flag | ) |
|
◆ createInstance()
Create a new instance of the object.
- Parameters
-
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. |
◆ createInstanceImpl()
◆ destroyInstance()
virtual void Ogre::MovableObjectFactory::destroyInstance |
( |
MovableObject * |
obj | ) |
|
|
pure virtual |
◆ getType()
virtual const String& Ogre::MovableObjectFactory::getType |
( |
void |
| ) |
const |
|
pure virtual |
◆ getTypeFlags()
uint32 Ogre::MovableObjectFactory::getTypeFlags |
( |
void |
| ) |
const |
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inherited |
◆ operator new() [2/3]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inherited |
◆ operator new[]() [2/2]
◆ requestTypeFlags()
virtual bool Ogre::MovableObjectFactory::requestTypeFlags |
( |
void |
| ) |
const |
|
virtual |
Does this factory require the allocation of a 'type flag', used to selectively include / exclude this type from scene queries?
Definition at line 619 of file OgreMovableObject.h.
◆ mTypeFlag
uint32 Ogre::MovableObjectFactory::mTypeFlag |
|
protected |
The documentation for this class was generated from the following file: