ADTF
|
Copyright © Audi Electronics Venture GmbH. More...
Go to the source code of this file.
Classes | |
class | enable_object_ptr_from_this< T > |
Safely retrieve a valid object_ptr<> instance to *this when all we have is *this. More... | |
Namespaces | |
adtf | |
Namespace for entire ADTF SDK. | |
adtf::ucom | |
Namespace for the ADTF uCOM3 SDK. | |
adtf::ucom::ant | |
Namespace for all functionality provided since v3.0. | |
adtf::ucom::penguin | |
Namespace for all functionality provided since v3.15. | |
Typedefs | |
template<class T > | |
using | enable_object_ptr_from_this = ant::enable_object_ptr_from_this< T > |
Alias always bringing the latest version of ant::enable_object_ptr_from_this into scope. | |
Functions | |
template<typename T , typename U > | |
object_ptr< T > | ucom_object_ptr_cast (const iobject_ptr< U > &i_oOther) |
Create an object_ptr with an already shared resource of implicitly convertible type. More... | |
template<typename Implementation , typename ... Args> | |
std::enable_if< !std::is_base_of< enable_object_ptr_from_this< typename std::remove_cv< Implementation >::type >, typename std::remove_cv< Implementation >::type >::value, object_ptr< Implementation > >::type | make_object_ptr (Args &&... args) |
Create an instance of type object_ptr with Implementation as the shared resource. More... | |
template<typename Implementation , typename ... Args> | |
std::enable_if< std::is_base_of< enable_object_ptr_from_this< typename std::remove_cv< Implementation >::type >, typename std::remove_cv< Implementation >::type >::value, object_ptr< Implementation > >::type | make_object_ptr (Args &&... args) |
Create an instance of type object_ptr with Implementation as the shared resource. More... | |
template<typename T , typename U , template< typename > class TDest = iobject_ptr, template< typename > class TSrc = iobject_ptr> | |
tResult | reset_object_ptr (TDest< const T > &o_oDest, const TSrc< U > &i_oSrc) |
Reset an iobject_ptr with const T . More... | |
template<typename T , template< typename > class TSrc = iobject_ptr> | |
tResult | reset_object_ptr (iobject_ptr< const T > &o_oDest, const TSrc< T > &i_oSrc) |
Reset an iobject_ptr with const T - specialization for best performance. More... | |
template<typename T > | |
ant::object_ptr< T > | ucom_object_ptr_const_cast (const ant::iobject_ptr< const T > &i_oOther) |
Create an object_ptr with a mutable shared resource of an existing const resource. More... | |
Copyright © Audi Electronics Venture GmbH.
All rights reserved
Definition in file object_ptr_utilities.h.