Contains the definition for RefCnt class. More...
#include <libbbb/libbbb.h>
Go to the source code of this file.
Classes | |
class | bbb::RefCnt |
Class that may be used as base for reference counting of instances. More... | |
Macros | |
#define | REMOVE_CONSTRUCTOR_REF(p) p->decRef() |
#define | INC_REF(p, o) p->incRef() |
adds a new reference owned by o; saves the owner | |
#define | DEC_REF(p, o) p->decRef() |
discards the reference counter | |
#define | OWN_REF(p, crto, newo) |
changes the owner of the reference | |
#define | OWN_CREF(p, newo) |
changes the owner of the initial (construcotr's) reference | |
Contains the definition for RefCnt class.