Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
DarwinBluetooth::ObjCStrongReference< T > Class Template Referencefinal

#include <btutility_p.h>

+ Inheritance diagram for DarwinBluetooth::ObjCStrongReference< T >:
+ Collaboration diagram for DarwinBluetooth::ObjCStrongReference< T >:

Public Member Functions

 operator T* () const
 
T * data () const
 
 StrongReference ()=default
 
 StrongReference (void *object, RetainPolicy policy)
 
 StrongReference (const StrongReference &other)
 
 StrongReference (StrongReference &&other)
 
- Public Member Functions inherited from DarwinBluetooth::StrongReference
 StrongReference ()=default
 
 StrongReference (void *object, RetainPolicy policy)
 
 StrongReference (const StrongReference &other)
 
 StrongReference (StrongReference &&other)
 
 ~StrongReference ()
 
StrongReferenceoperator= (const StrongReference &other) noexcept
 
StrongReferenceoperator= (StrongReference &&other) noexcept
 
void swap (StrongReference &other) noexcept
 
voidrelease ()
 
void reset ()
 
void reset (void *newInstance, RetainPolicy policy)
 
template<class ObjCType >
ObjCType * getAs () const
 
 operator bool () const
 

Detailed Description

template<class T>
class DarwinBluetooth::ObjCStrongReference< T >

Definition at line 81 of file btutility_p.h.

Member Function Documentation

◆ data()

template<class T >
T * DarwinBluetooth::ObjCStrongReference< T >::data ( ) const
inline

Definition at line 90 of file btutility_p.h.

◆ operator T*()

template<class T >
DarwinBluetooth::ObjCStrongReference< T >::operator T* ( ) const
inline

Definition at line 85 of file btutility_p.h.

◆ StrongReference() [1/4]

template<class T >
DarwinBluetooth::StrongReference::StrongReference ( )
default

◆ StrongReference() [2/4]

template<class T >
DarwinBluetooth::StrongReference::StrongReference ( const StrongReference & other)

Definition at line 48 of file btraii.mm.

◆ StrongReference() [3/4]

template<class T >
DarwinBluetooth::StrongReference::StrongReference ( StrongReference && other)

Definition at line 49 of file btraii.mm.

◆ StrongReference() [4/4]

template<class T >
DarwinBluetooth::StrongReference::StrongReference ( void * object,
RetainPolicy policy )

Definition at line 47 of file btraii.mm.


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