Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
safe::shared_t< T >::ptr_t Struct Reference
Collaboration diagram for safe::shared_t< T >::ptr_t:
[legend]

Public Member Functions

 ptr_t (shared_t *owner)
 ptr_t (ptr_t &&ptr) noexcept
 ptr_t (const ptr_t &ptr) noexcept
ptr_t & operator= (const ptr_t &ptr) noexcept
ptr_t & operator= (ptr_t &&ptr) noexcept
 operator bool () const
void release ()
element_type * get () const
element_type * operator-> ()

Public Attributes

shared_t * owner

Detailed Description

template<class T>
struct safe::shared_t< T >::ptr_t

Definition at line 357 of file thread_safe.h.

Constructor & Destructor Documentation

◆ ptr_t() [1/4]

template<class T>
safe::shared_t< T >::ptr_t::ptr_t ( )
inline

Definition at line 360 of file thread_safe.h.

◆ ptr_t() [2/4]

template<class T>
safe::shared_t< T >::ptr_t::ptr_t ( shared_t * owner)
inlineexplicit

Definition at line 364 of file thread_safe.h.

◆ ptr_t() [3/4]

template<class T>
safe::shared_t< T >::ptr_t::ptr_t ( ptr_t && ptr)
inlinenoexcept

Definition at line 368 of file thread_safe.h.

◆ ptr_t() [4/4]

template<class T>
safe::shared_t< T >::ptr_t::ptr_t ( const ptr_t & ptr)
inlinenoexcept

Definition at line 373 of file thread_safe.h.

◆ ~ptr_t()

template<class T>
safe::shared_t< T >::ptr_t::~ptr_t ( )
inline

Definition at line 403 of file thread_safe.h.

Member Function Documentation

◆ get()

template<class T>
element_type * safe::shared_t< T >::ptr_t::get ( ) const
inline

Definition at line 424 of file thread_safe.h.

◆ operator bool()

template<class T>
safe::shared_t< T >::ptr_t::operator bool ( ) const
inline

Definition at line 409 of file thread_safe.h.

◆ operator->()

template<class T>
element_type * safe::shared_t< T >::ptr_t::operator-> ( )
inline

Definition at line 428 of file thread_safe.h.

◆ operator=() [1/2]

template<class T>
ptr_t & safe::shared_t< T >::ptr_t::operator= ( const ptr_t & ptr)
inlinenoexcept

Definition at line 383 of file thread_safe.h.

◆ operator=() [2/2]

template<class T>
ptr_t & safe::shared_t< T >::ptr_t::operator= ( ptr_t && ptr)
inlinenoexcept

Definition at line 393 of file thread_safe.h.

◆ release()

template<class T>
void safe::shared_t< T >::ptr_t::release ( )
inline

Definition at line 413 of file thread_safe.h.

Member Data Documentation

◆ owner

template<class T>
shared_t* safe::shared_t< T >::ptr_t::owner

Definition at line 358 of file thread_safe.h.


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