OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
#include <OgreId.h>
Public Member Functions | |
IdObject (IdType id) | |
We don't call generateNewId() here, to prevent objects in the stack (i.e. More... | |
IdType | getId () const |
Get the unique id of this object. More... | |
bool | operator() (const IdObject &left, const IdObject &right) |
bool | operator() (const IdObject *left, const IdObject *right) |
|
inline |
We don't call generateNewId() here, to prevent objects in the stack (i.e.
local variables) that don't need an Id from incrementing the count; which is very dangerous if the caller is creating local objects from multiple threads (which should stay safe!). Instead our creator should do that.
|
inline |
Get the unique id of this object.