My Project
Static Public Member Functions | List of all members
ParaEngine::PoolBase< T > Class Template Reference

if one wants to create and delete many objects of the same type per frame, derive your class from PoolBase. More...

#include <PoolBase.h>

Static Public Member Functions

static void * operator new (size_t size)
 
static void operator delete (void *p)
 

Detailed Description

template<class T>
class ParaEngine::PoolBase< T >

if one wants to create and delete many objects of the same type per frame, derive your class from PoolBase.

[thread safe] Example: class Msg : public ParaEngine::PoolBase<Msg> { ... };

void func() { boost::shared_ptr<Msg> m(new Msg(...)); m->whatever(); }


The documentation for this class was generated from the following file: