Enumerates the SceneManager classes available to applications. More...
#include <OgreSceneManagerEnumerator.h>

Public Types | |
| typedef map< String, SceneManager * >::type | Instances |
| Scene manager instances, indexed by instance name. | |
| typedef ConstVectorIterator < MetaDataList > | MetaDataIterator |
| typedef vector< const SceneManagerMetaData * >::type | MetaDataList |
| List of available scene manager types as meta data. | |
| typedef MapIterator< Instances > | SceneManagerIterator |
Public Member Functions | |
| SceneManagerEnumerator () | |
| ~SceneManagerEnumerator () | |
| void | addFactory (SceneManagerFactory *fact) |
| Register a new SceneManagerFactory. | |
| SceneManager * | createSceneManager (const String &typeName, const String &instanceName=StringUtil::BLANK) |
| Create a SceneManager instance of a given type. | |
| SceneManager * | createSceneManager (SceneTypeMask typeMask, const String &instanceName=StringUtil::BLANK) |
| Create a SceneManager instance based on scene type support. | |
| void | destroySceneManager (SceneManager *sm) |
| Destroy an instance of a SceneManager. | |
| const SceneManagerMetaData * | getMetaData (const String &typeName) const |
| Get more information about a given type of SceneManager. | |
| MetaDataIterator | getMetaDataIterator (void) const |
| Iterate over all types of SceneManager available for construction, providing some information about each one. | |
| SceneManager * | getSceneManager (const String &instanceName) const |
| Get an existing SceneManager instance that has already been created, identified by the instance name. | |
| SceneManagerIterator | getSceneManagerIterator (void) |
| Get an iterator over all the existing SceneManager instances. | |
| bool | hasSceneManager (const String &instanceName) const |
| Identify if a SceneManager instance already exists. | |
| 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 | |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| void * | operator new[] (size_t sz) |
| void | removeFactory (SceneManagerFactory *fact) |
| Remove a SceneManagerFactory. | |
| void | setRenderSystem (RenderSystem *rs) |
| Notifies all SceneManagers of the destination rendering system. | |
| void | shutdownAll (void) |
| Utility method to control shutdown of the managers. | |
Static Public Member Functions | |
| static SceneManagerEnumerator & | getSingleton (void) |
| Override standard Singleton retrieval. | |
| static SceneManagerEnumerator * | getSingletonPtr (void) |
| Override standard Singleton retrieval. | |
Static Protected Attributes | |
| static SceneManagerEnumerator * | msSingleton |
Private Types | |
| typedef list < SceneManagerFactory * > ::type | Factories |
| Scene manager factories. | |
Private Attributes | |
| RenderSystem * | mCurrentRenderSystem |
| Currently assigned render system. | |
| DefaultSceneManagerFactory | mDefaultFactory |
| Factory for default scene manager. | |
| Factories | mFactories |
| unsigned long | mInstanceCreateCount |
| Count of creations for auto-naming. | |
| Instances | mInstances |
| MetaDataList | mMetaDataList |
| Stored separately to allow iteration. | |
Enumerates the SceneManager classes available to applications.
Definition at line 88 of file OgreSceneManagerEnumerator.h.
typedef list<SceneManagerFactory*>::type Ogre::SceneManagerEnumerator::Factories [private] |
Scene manager factories.
Definition at line 97 of file OgreSceneManagerEnumerator.h.
| typedef map<String, SceneManager*>::type Ogre::SceneManagerEnumerator::Instances |
Scene manager instances, indexed by instance name.
Definition at line 92 of file OgreSceneManagerEnumerator.h.
Definition at line 135 of file OgreSceneManagerEnumerator.h.
| typedef vector<const SceneManagerMetaData*>::type Ogre::SceneManagerEnumerator::MetaDataList |
List of available scene manager types as meta data.
Definition at line 94 of file OgreSceneManagerEnumerator.h.
Definition at line 184 of file OgreSceneManagerEnumerator.h.
| void Ogre::SceneManagerEnumerator::addFactory | ( | SceneManagerFactory * | fact | ) |
Register a new SceneManagerFactory.
| SceneManager* Ogre::SceneManagerEnumerator::createSceneManager | ( | const String & | typeName, |
| const String & | instanceName = StringUtil::BLANK |
||
| ) |
Create a SceneManager instance of a given type.
| typeName | String identifying a unique SceneManager type |
| instanceName | Optional name to given the new instance that is created. If you leave this blank, an auto name will be assigned. |
| SceneManager* Ogre::SceneManagerEnumerator::createSceneManager | ( | SceneTypeMask | typeMask, |
| const String & | instanceName = StringUtil::BLANK |
||
| ) |
Create a SceneManager instance based on scene type support.
| typeMask | A mask containing one or more SceneType flags |
| instanceName | Optional name to given the new instance that is created. If you leave this blank, an auto name will be assigned. |
Destroy an instance of a SceneManager.
| const SceneManagerMetaData* Ogre::SceneManagerEnumerator::getMetaData | ( | const String & | typeName | ) | const |
Get more information about a given type of SceneManager.
| typeName | The type name of the SceneManager you want to enquire on. If you don't know the typeName already, you can iterate over the metadata for all types using getMetaDataIterator. |
Iterate over all types of SceneManager available for construction, providing some information about each one.
| SceneManager* Ogre::SceneManagerEnumerator::getSceneManager | ( | const String & | instanceName | ) | const |
Get an existing SceneManager instance that has already been created, identified by the instance name.
| instanceName | The name of the instance to retrieve. |
Get an iterator over all the existing SceneManager instances.
| static SceneManagerEnumerator& Ogre::SceneManagerEnumerator::getSingleton | ( | void | ) | [static] |
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< SceneManagerEnumerator >.
| static SceneManagerEnumerator* Ogre::SceneManagerEnumerator::getSingletonPtr | ( | void | ) | [static] |
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< SceneManagerEnumerator >.
| bool Ogre::SceneManagerEnumerator::hasSceneManager | ( | const String & | instanceName | ) | const |
Identify if a SceneManager instance already exists.
| instanceName | The name of the instance to retrieve. |
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, |
| void * | |||
| ) | [inherited] |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, |
| const char * | , | ||
| int | , | ||
| const char * | |||
| ) | [inherited] |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, |
| const char * | , | ||
| int | , | ||
| const char * | |||
| ) | [inherited] |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, |
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) | [inherited] |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, |
| void * | ptr | ||
| ) | [inherited] |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, |
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) | [inherited] |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
| void Ogre::SceneManagerEnumerator::removeFactory | ( | SceneManagerFactory * | fact | ) |
Remove a SceneManagerFactory.
Notifies all SceneManagers of the destination rendering system.
| void Ogre::SceneManagerEnumerator::shutdownAll | ( | void | ) |
Utility method to control shutdown of the managers.
Currently assigned render system.
Definition at line 107 of file OgreSceneManagerEnumerator.h.
Factory for default scene manager.
Definition at line 103 of file OgreSceneManagerEnumerator.h.
Definition at line 98 of file OgreSceneManagerEnumerator.h.
unsigned long Ogre::SceneManagerEnumerator::mInstanceCreateCount [private] |
Count of creations for auto-naming.
Definition at line 105 of file OgreSceneManagerEnumerator.h.
Definition at line 99 of file OgreSceneManagerEnumerator.h.
Stored separately to allow iteration.
Definition at line 101 of file OgreSceneManagerEnumerator.h.
SceneManagerEnumerator * Ogre::Singleton< SceneManagerEnumerator >::msSingleton [static, protected, inherited] |
Definition at line 75 of file OgreSingleton.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:36