Intrusive reference counting. More...
|bool||unlink (ObjectType *object)|
|unlink a smart pointer from a managed object |
|void||link (const InternalRefCounted &ptr, ObjectType *object)|
|link a smart pointer to a managed object |
class cxxtools::InternalRefCounted< ObjectType >
Intrusive reference counting.
ObjectType The managed object type
Intrusive reference couting means that the reference count is part of the managed heap object. Linking and unlinking will only increase and decrease this counter, but not delete it. The managed object needs to implement the methods release() and addRef(). The release must return something, that equals 0 when the last reference is released.
Member Function Documentation
link a smart pointer to a managed object
unlink a smart pointer from a managed object
The documentation for this class was generated from the following file: