ADTF
3.18.3
|
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.4/dw/stable/package/aef85909f792a5a628750d25016a24323084963f/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 >.