cocos2d-x  3.0-rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PoolManager Class Reference

#include <CCAutoreleasePool.h>

Public Member Functions

AutoreleasePoolgetCurrentPool () const
 Get current auto release pool, there is at least one auto release pool that created by engine. More...
 
bool isObjectInPools (Ref *obj) const

Static Public Member Functions

static PoolManagersharedPoolManager ()
static PoolManagergetInstance ()
static void purgePoolManager ()
static void destroyInstance ()

Friends

class AutoreleasePool

Member Function Documentation

static void destroyInstance ( )
static
AutoreleasePool* getCurrentPool ( ) const

Get current auto release pool, there is at least one auto release pool that created by engine.

You can create your own auto release pool at demand, which will be put into auto releae pool stack.

static PoolManager* getInstance ( )
static
bool isObjectInPools ( Ref obj) const
static void purgePoolManager ( )
inlinestatic
static PoolManager*
sharedPoolManager
( )
inlinestatic

Friends And Related Function Documentation

friend class AutoreleasePool
friend

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