Class RefCountedObject
Base class for reference counted objects, maintains reference counter inplace.
If some class is not inherited from RefCountedObject, additional object will be required to hold counters.
Fields
| Name | Type | Description |
_refCount
|
int | count of references to this object from Ref
|
Properties
| Name | Type | Description |
refCount[get]
|
int | returns current value of reference counter
|
Methods
| Name | Description |
addRef
()
|
increments reference counter
|
releaseRef
()
|
decrement reference counter, destroy object if no more references left
|