ADTF
Loading...
Searching...
No Matches
adtf::ucom::ant::detail::object_ptr_delegate< T, StorageType > Class Template Reference

Inherits adtf::ucom::ant::detail::object_ptr_delegate_base< T, StorageType >.

Public Member Functions

constexpr operator const iobject_ptr< const T > & () const noexcept final override
 Enable implicit conversion to const value type for pointer-like behavior.
 
constexpr operator const iobject_ptr< const IObject > & () const noexcept
 
constexpr operator const iobject_ptr< IObject > & () const noexcept
 
constexpr operator iobject_ptr< IObject > & () noexcept
 
- Public Member Functions inherited from adtf::ucom::ant::detail::object_ptr_delegate_base< T, StorageType >
template<typename... Args>
 object_ptr_delegate_base (Args &&... args) noexcept
 
 object_ptr_delegate_base (const object_ptr_delegate_base &oOther) noexcept
 
 object_ptr_delegate_base (object_ptr_delegate_base &&oOther) noexcept
 
constexpr detail::iobject_ptr_ref< size_t > * GetObjPtrRef () const noexcept final override
 
constexpr StorageType * GetStorageObject () const noexcept
 
T * Get () const final override
 Get raw pointer to shared object.
 
T * operator-> () const noexcept final override
 Operator-> overload to treat object_ptr<> types like real pointers.
 
T & operator* () const noexcept
 
void Swap (object_ptr_delegate_base &oOther) noexcept
 
void Reset ()
 
tResult Reset (const iobject_ptr< T > &oOther) noexcept final override
 Reset this object_ptr<> with the content of another iobject_ptr<>
 
object_ptr_delegate_baseoperator= (const object_ptr_delegate_base &oOther)
 
object_ptr_delegate_baseoperator= (object_ptr_delegate_base &&oOther)
 
constexpr operator bool () const noexcept
 
- Public Member Functions inherited from adtf::ucom::ant::iobject_ptr_base< T >
T & operator* () const noexcept
 Operator* to dereference the stored pointer.
 

Additional Inherited Members

- Public Types inherited from adtf::ucom::ant::iobject_ptr< T >
typedef IObject object_type
 Provided for single point of const correct type access.
 
- Public Types inherited from adtf::ucom::ant::iobject_ptr_base< T >
typedef T element_type
 Contained type to manage an object of.
 
- Protected Member Functions inherited from adtf::ucom::ant::iobject_ptr< T >
 ~iobject_ptr ()=default
 Destructor.
 
- Protected Member Functions inherited from adtf::ucom::ant::iobject_ptr_base< T >
 ~iobject_ptr_base ()=default
 Destructor.
 
- Protected Attributes inherited from adtf::ucom::ant::detail::object_ptr_delegate_base< T, StorageType >
::std::conditional_t<::std::is_same_v< std::remove_const_t< T >, IObject >, std::conditional_t<!::std::is_const_v< T > &&!::std::is_const_v< StorageType >, object_ptr_const_iobject_delegate< StorageType >, object_ptr_storage< StorageType > >, std::conditional_t<::std::is_const_v< T >||::std::is_const_v< StorageType >, ::std::conditional_t<::std::is_const_v< StorageType >, object_ptr_const_iobject_delegate< StorageType >, object_ptr_iobject_delegate< StorageType > >, object_ptr_const_delegate< const T, StorageType > > > m_oDelegate
 

Member Function Documentation

◆ operator const iobject_ptr< const T > &()

template<typename T, typename StorageType>
adtf::ucom::ant::detail::object_ptr_delegate< T, StorageType >::operator const iobject_ptr< const T > & ( ) const
inlineconstexprfinaloverridevirtualnoexcept

Enable implicit conversion to const value type for pointer-like behavior.

Returns
Reference to iobject_ptr containing const value type

Implements adtf::ucom::ant::iobject_ptr< T >.


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