|
OGRE
1.9.0
|
Manager for LOD strategies. More...
#include <OgreLodStrategyManager.h>

Public Member Functions | |
| LodStrategyManager () | |
| Default constructor. | |
| ~LodStrategyManager () | |
| Destructor. | |
| void | addStrategy (LodStrategy *strategy) |
| Add a strategy to the manager. | |
| LodStrategy * | getDefaultStrategy () |
| Get the current default strategy. | |
| MapIterator< StrategyMap > | getIterator () |
| Get an iterator for all contained strategies. | |
| LodStrategy * | getStrategy (const String &name) |
| Get the strategy with the specified name. | |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz) |
| 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, const char *file, int line, const char *func) |
| operator new, with debug line info | |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz) |
| 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, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| void | removeAllStrategies () |
| Remove and delete all strategies from the manager. | |
| LodStrategy * | removeStrategy (const String &name) |
| Remove a strategy from the manager with a specified name. | |
| void | setDefaultStrategy (const String &name) |
| Set the default strategy by name. | |
| void | setDefaultStrategy (LodStrategy *strategy) |
| Set the default strategy. | |
Static Public Member Functions | |
| static LodStrategyManager & | getSingleton (void) |
| Override standard Singleton retrieval. | |
| static LodStrategyManager * | getSingletonPtr (void) |
| Override standard Singleton retrieval. | |
Static Protected Attributes | |
| static LodStrategyManager * | msSingleton |
Private Types | |
| typedef map< String, LodStrategy * >::type | StrategyMap |
| Map of strategies. | |
Private Attributes | |
| LodStrategy * | mDefaultStrategy |
| Default strategy. | |
| StrategyMap | mStrategies |
| Internal map of strategies. | |
Manager for LOD strategies.
Definition at line 47 of file OgreLodStrategyManager.h.
|
private |
Map of strategies.
Definition at line 50 of file OgreLodStrategyManager.h.
| Ogre::LodStrategyManager::LodStrategyManager | ( | ) |
Default constructor.
Referenced by getSingleton(), and getSingletonPtr().
| Ogre::LodStrategyManager::~LodStrategyManager | ( | ) |
Destructor.
| void Ogre::LodStrategyManager::addStrategy | ( | LodStrategy * | strategy | ) |
Add a strategy to the manager.
| LodStrategy * Ogre::LodStrategyManager::getDefaultStrategy | ( | ) |
Get the current default strategy.
| MapIterator< StrategyMap > Ogre::LodStrategyManager::getIterator | ( | ) |
Get an iterator for all contained strategies.
|
static |
Override standard Singleton retrieval.
References LodStrategyManager().
|
static |
Override standard Singleton retrieval.
References LodStrategyManager().
| LodStrategy * Ogre::LodStrategyManager::getStrategy | ( | const String & | name | ) |
Get the strategy with the specified name.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
| void Ogre::LodStrategyManager::removeAllStrategies | ( | ) |
Remove and delete all strategies from the manager.
| LodStrategy * Ogre::LodStrategyManager::removeStrategy | ( | const String & | name | ) |
Remove a strategy from the manager with a specified name.
| void Ogre::LodStrategyManager::setDefaultStrategy | ( | const String & | name | ) |
Set the default strategy by name.
| void Ogre::LodStrategyManager::setDefaultStrategy | ( | LodStrategy * | strategy | ) |
Set the default strategy.
|
private |
Default strategy.
Definition at line 56 of file OgreLodStrategyManager.h.
|
staticprotectedinherited |
Definition at line 75 of file OgreSingleton.h.
|
private |
Internal map of strategies.
Definition at line 53 of file OgreLodStrategyManager.h.
1.13.2