ADTF
3.18.2
|
An internal stable interface to ensure binary compatibility of reference counting. More...
Public Member Functions | |
virtual void | addReference () const =0 |
Increase the reference count. | |
virtual void | removeReference () const =0 |
Decrease the reference count. | |
virtual Resource & | getObject ()=0 |
Get a reference to the handled object. More... | |
virtual const Resource & | getObject () const =0 |
Get a reference to the handled object - provided for const correctness. More... | |
Protected Member Functions | |
~ReferenceCountedObjectInterface () | |
DTOR. | |
An internal stable interface to ensure binary compatibility of reference counting.
Resource | The resource to handle |
Definition at line 29 of file workspace/conan/dev_essential/1.3.3/dw/stable/package/37682420cd166e229516a41c8d6a139a0b13e1e1/include/a_util/result/detail/reference_counted_object_intf.h.
|
pure virtual |
Get a reference to the handled object - provided for const correctness.
Implemented in UncountedObject< Interface, Implementation >, ReferenceCountedObject< Interface, Implementation >, and ReferenceCountedObject< T, T >.
|
pure virtual |
Get a reference to the handled object.
Implemented in UncountedObject< Interface, Implementation >, ReferenceCountedObject< Interface, Implementation >, and ReferenceCountedObject< T, T >.