OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
Utility class to generate a sequentially numbered series of names. More...
#include <OgreNameGenerator.h>
Public Member Functions | |
NameGenerator (const NameGenerator &rhs) | |
NameGenerator (const String &prefix) | |
String | generate () |
Generate a new name. More... | |
unsigned long long int | getNext () const |
Get the internal counter. More... | |
void | reset () |
Reset the internal counter. More... | |
void | setNext (unsigned long long int val) |
Manually set the internal counter (use caution) More... | |
Utility class to generate a sequentially numbered series of names.
|
inline |
|
inline |
|
inline |
Generate a new name.
References OGRE_LOCK_AUTO_MUTEX.
|
inline |
Get the internal counter.
References OGRE_LOCK_AUTO_MUTEX.
|
inline |
Reset the internal counter.
References OGRE_LOCK_AUTO_MUTEX.
|
inline |
Manually set the internal counter (use caution)
References OGRE_LOCK_AUTO_MUTEX.