ADTF
3.18.3
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/reference_counted_object_intf.h
Go to the documentation of this file.
1
8
#ifndef _A_UTILS_BASE_REFERENCE_COUNTED_OBJECT_INTF_INCLUDED_H_
9
#define _A_UTILS_BASE_REFERENCE_COUNTED_OBJECT_INTF_INCLUDED_H_
10
11
namespace
A_UTILS_NS
12
{
13
14
namespace
detail
15
{
16
21
template
<
typename
Interface>
22
class
ireference_counted_object
23
{
24
public
:
25
virtual
tVoid
AddReference()
const
= 0;
26
virtual
tVoid
RemoveReference()
const
= 0;
27
28
virtual
const
Interface& GetObject()
const
= 0;
29
virtual
Interface& GetObject() = 0;
30
31
protected
:
32
~
ireference_counted_object
() =
default
;
33
};
//template <typename Interface> class ireference_counted_object
34
35
}
//ns detail
36
}
//ns A_UTILS_NS
37
38
#endif
// _A_UTILS_BASE_REFERENCE_COUNTED_OBJECT_INTF_INCLUDED_H_
tVoid
void tVoid
The tVoid is always the definition for the void (non-type).
Definition:
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/types.h:44
A_UTILS_NS::detail::ireference_counted_object
An internal stable interface for binary compatibility of reference counting.
Definition:
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/core/reference_counted_object_intf.h:23
A_UTILS_NS
ADTF A_UTIL Namespace - Within adtf this is used as adtf::util or adtf_util.
Definition:
d_ptr.h:11
Copyright © VW Group. All rights reserved. (Generated on Fri May 17 2024 by doxygen 1.9.1)