Particle Universe
1.2
|
#include <ParticleUniversePoolMap.h>
Public Types | |
typedef std::multimap< String, T * > | PoolMapMap |
typedef PoolMapMap::iterator | PoolMapIterator |
Public Member Functions | |
PoolMap (bool managed=false) | |
virtual | ~PoolMap (void) |
bool | isEmpty (void) |
size_t | getSize (void) |
void | resetIterator (void) |
T * | getFirst (void) |
T * | getNext (void) |
bool | end (void) |
void | clear (void) |
void | addElement (const String &key, T *element) |
T * | releaseElement (const String &key) |
void | releaseAllElements (void) |
void | lockLatestElement (void) |
void | lockAllElements (void) |
Public Attributes | |
PoolMapIterator | mPoolMapIterator |
Protected Attributes | |
bool | mManaged |
PoolMapMap | mReleased |
PoolMapMap | mLocked |
The PoolMap is an extention of the regular Pool. The PoolMap contains objects that can be found by name.
typedef PoolMapMap::iterator ParticleUniverse::PoolMap< T >::PoolMapIterator |
typedef std::multimap<String, T*> ParticleUniverse::PoolMap< T >::PoolMapMap |
|
inline |
|
inlinevirtual |
|
inline |
Add an element to the PoolMap.
|
inline |
Todo
|
inline |
Todo
|
inline |
Todo
|
inline |
Todo
|
inline |
Todo
|
inline |
Returns true if the number of released elements is 0.
|
inline |
Lock all elements in the pool.
|
inline |
Todo
|
inline |
Todo
|
inline |
Get an element from the pool.
|
inline |
Todo
|
protected |
|
protected |
PoolMapIterator ParticleUniverse::PoolMap< T >::mPoolMapIterator |
|
protected |