#include <gbx.h>
Public Types | |
typedef std::map < gbxObject *, bool > | Map |
typedef std::map < gbxObject *, bool > ::iterator | MapIterator |
Public Member Functions | |
gbxObject () | |
gbxObject (const std::string &ptag) | |
gbxObject (const gbxTag &tag) | |
gbxObject (const gbxObject &) | |
gbxObject (const gbxObject *) | |
gbxObject & | operator= (const gbxObject &) |
int | getRefCount () const |
gbxBool | isLocked () const |
bool | mustRelease () const |
virtual void | incrRefCount () |
virtual void | decrRefCount () |
virtual void | lock () |
virtual void | unlock () |
gbxBool | isOnStack () const |
void | reserve () |
void | release () |
void | setTag (const gbxTag &) |
const gbxTag * | getTag () const |
const std::string & | getPTag () const |
virtual void | userGarbage () |
void | keep () |
void | unkeep () |
gbxBool | isValidObject () const |
void | setOnRelease (OnRelease *on_release) |
OnRelease * | getOnRelease () |
virtual | ~gbxObject () |
virtual void | manageCycle (gbxCycleContext &) |
void | release_r () |
void | setMustRelease (bool must_release) |
gbxBool | isChgRefCnt () const |
gbxBool | setChgRefCnt (gbxBool chgRefCnt) |
Static Public Member Functions | |
static void * | operator new (size_t) |
static void | operator delete (void *) |
static int | getObjectCount () |
static int | getHeapSize () |
static void | setObjMapped (bool obj_mapped, bool reinit_if_exists) |
static gbxObject::Map * | getObjMap () |
Protected Member Functions | |
void | garbageRealize (gbxBool reentrant=gbxFalse, gbxBool remove=gbxTrue) |
virtual void | garbage () |
virtual gbxBool | grant_release () |
Protected Attributes | |
int | gbx_refcnt |
gbxBool | gbx_locked |
gbxBool | gbx_isonstack |
gbxTag * | gbx_tag |
std::string | gbx_ptag |
gbxBool | gbx_chgRefCnt |
bool | gbx_must_release |
Classes | |
struct | OnRelease |
Definition at line 53 of file gbx.h.