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 * | removeStrategy (const String &name) |
Remove a strategy from the manager with a specified name. | |
void | removeAllStrategies () |
Remove and delete all strategies from the manager. | |
LodStrategy * | getStrategy (const String &name) |
Get the strategy with the specified name. | |
void | setDefaultStrategy (LodStrategy *strategy) |
Set the default strategy. | |
void | setDefaultStrategy (const String &name) |
Set the default strategy by name. | |
LodStrategy * | getDefaultStrategy () |
Get the current default strategy. | |
MapIterator< StrategyMap > | getIterator () |
Get an iterator for all contained strategies. | |
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 | 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 *) |
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 | |
StrategyMap | mStrategies |
Internal map of strategies. | |
LodStrategy * | mDefaultStrategy |
Default strategy. |
Manager for lod strategies.
Definition at line 46 of file OgreLodStrategyManager.h.
typedef map<String, LodStrategy *>::type Ogre::LodStrategyManager::StrategyMap [private] |
Map of strategies.
Definition at line 49 of file OgreLodStrategyManager.h.
Ogre::LodStrategyManager::LodStrategyManager | ( | ) |
Default constructor.
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 LodStrategyManager& Ogre::LodStrategyManager::getSingleton | ( | void | ) | [static] |
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< LodStrategyManager >.
static LodStrategyManager* Ogre::LodStrategyManager::getSingletonPtr | ( | void | ) | [static] |
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< LodStrategyManager >.
LodStrategy* Ogre::LodStrategyManager::getStrategy | ( | const String & | name | ) |
Get the strategy with the specified name.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 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 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 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 85 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.
Default strategy.
Definition at line 55 of file OgreLodStrategyManager.h.
LodStrategyManager * Ogre::Singleton< LodStrategyManager >::msSingleton [static, protected, inherited] |
Definition at line 75 of file OgreSingleton.h.
Internal map of strategies.
Definition at line 52 of file OgreLodStrategyManager.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:38:03 2012