Copyright © Audi Electronics Venture GmbH. More...
Go to the source code of this file.
Classes | |
class | d_ptr_impl< _PARENT, _PRIVATE_D > |
Template to implement the Private class of the global d_pointer definitions. More... | |
class | d_ptr< _PARENT, _PRIVATE_D > |
Template class for the d-pointer Reference class withing the Parent Class. More... | |
Namespaces | |
namespace | A_UTILS_NS |
ADTF A_UTIL Namespace - Within adtf this is used as util or adtf_util. | |
Macros | |
#define | A_UTILS_D_CLASS(__dclassname_, __pclassname_) |
Concrete d-pointer definition. | |
#define | A_UTILS_D(__pclassname_) |
Helper macro for d-pattern definitions. | |
#define | A_UTILS_D_CREATE_CLASS(__classname_) |
concrete d-pointer instance | |
#define | A_UTILS_D_CREATE(__classname_) |
helper macro for d-pattern usage. | |
#define | A_UTILS_DECLARE_LOCAL_D(__classname_) |
helper macro that defines a local variable "_D" that points to the private implementation. | |
#define | A_UTILS_P_DECLARE_CLASS(__d_classname_, __p_classname_) |
Helper Macro to declare the class header. | |
#define | A_UTILS_P_DECLARE(__p_classname_) |
Helper Macro to generate the private class name and to declare the class header. | |
#define | A_UTILS_P_CLASS(__p_classname_) |
Helper Macro to generate the private class name. | |
#define | A_UTILS_P_DECLARE_CLASS_PRE(__d_classname_, __p_classname_) |
Helper Macro to declare the private class which has no implementation yet. | |
#define | A_UTILS_P_DECLARE_PRE(__p_classname_) |
Helper Macro to declare the private class which has no implementation yet. | |
Functions | |
template<typename _PARENT, typename _PRIVATE_D> | |
tVoid | swap (A_UTILS_NS::d_ptr< _PARENT, _PRIVATE_D > &i_oLHS, A_UTILS_NS::d_ptr< _PARENT, _PRIVATE_D > &i_oRHS) |
std::swap specialization for AUTILSDPtr for perfect fit on ADL | |
#define A_UTILS_D | ( | __pclassname_ | ) |
Helper macro for d-pattern definitions.
this macro should be used by developer It declares the the Private Class see A_UTILS_D_CLASS.
[in] | __pclassname_ | parent class name |
#define A_UTILS_D_CLASS | ( | __dclassname_, | |
__pclassname_ ) |
Concrete d-pointer definition.
This d-Pointer definition is used to create a d-Pointer Reference to the Private implementation of the class. To do so it will use the d_ptr template.
[in] | __dclassname_ | d pointer class name. |
[in] | __pclassname_ | parent class name. |
#define A_UTILS_D_CREATE | ( | __classname_ | ) |
helper macro for d-pattern usage.
[in] | __classname_ | parent class name |
#define A_UTILS_D_CREATE_CLASS | ( | __classname_ | ) |
#define A_UTILS_DECLARE_LOCAL_D | ( | __classname_ | ) |
#define A_UTILS_P_CLASS | ( | __p_classname_ | ) |
#define A_UTILS_P_DECLARE | ( | __p_classname_ | ) |
Helper Macro to generate the private class name and to declare the class header.
[in] | __p_classname_ | The Parent Class |
#define A_UTILS_P_DECLARE_CLASS | ( | __d_classname_, | |
__p_classname_ ) |
Helper Macro to declare the class header.
[in] | __d_classname_ | The Private D Class |
[in] | __p_classname_ | The Parent Class |
#define A_UTILS_P_DECLARE_CLASS_PRE | ( | __d_classname_, | |
__p_classname_ ) |
Helper Macro to declare the private class which has no implementation yet.
[in] | __d_classname_ | The Private D Class |
[in] | __p_classname_ | The Parent Class |
#define A_UTILS_P_DECLARE_PRE | ( | __p_classname_ | ) |
Helper Macro to declare the private class which has no implementation yet.
It will generate the private classname.
[in] | __p_classname_ | The Parent Class |
|
inline |
std::swap specialization for AUTILSDPtr for perfect fit on ADL
_PARENT | Parent type for both d_ptr implementations |
_PRIVATE_D | Private type for both d_ptr implementations |
[in,out] | i_oLHS | Left hand side swap object |
[in,out] | i_oRHS | Right hand side swap object |
i_oLHS
and i_oRHS
swapped contents. Definition at line 237 of file d_ptr.h.
References d_ptr< _PARENT, _PRIVATE_D >::Swap().