Dev Essential
Loading...
Searching...
No Matches
a_util::result::detail::ReferenceCountedObjectInterface< Resource > Class Template Referenceabstract

#include <reference_counted_object_intf.h>

Inherited by a_util::result::detail::ReferenceCountedObject< IErrorDescription, ErrorDescriptionType >.

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
 
virtual const Resource & getObject () const =0
 

Protected Member Functions

 ~ReferenceCountedObjectInterface ()
 DTOR.
 

Detailed Description

template<typename Resource>
class a_util::result::detail::ReferenceCountedObjectInterface< Resource >

An internal stable interface to ensure binary compatibility of reference counting.

Warning
This interface must not be changed to ensure binary compatibility!
Template Parameters
ResourceThe resource to handle

Member Function Documentation

◆ addReference()

◆ getObject() [1/2]

◆ getObject() [2/2]

◆ removeReference()


The documentation for this class was generated from the following file: