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::StrongReference Class Reference

#include <btraii_p.h>

+ Inheritance diagram for DarwinBluetooth::StrongReference:
+ Collaboration diagram for DarwinBluetooth::StrongReference:

Public Member Functions

 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

Definition at line 43 of file btraii_p.h.

Constructor & Destructor Documentation

◆ StrongReference() [1/4]

DarwinBluetooth::StrongReference::StrongReference ( )
default

◆ StrongReference() [2/4]

DarwinBluetooth::StrongReference::StrongReference ( void * object,
RetainPolicy policy )

Definition at line 16 of file btraii.mm.

References DarwinBluetooth::doInitialRetain, and policy.

◆ StrongReference() [3/4]

DarwinBluetooth::StrongReference::StrongReference ( const StrongReference & other)

Definition at line 23 of file btraii.mm.

References other().

+ Here is the call graph for this function:

◆ StrongReference() [4/4]

DarwinBluetooth::StrongReference::StrongReference ( StrongReference && other)

Definition at line 29 of file btraii.mm.

References other().

+ Here is the call graph for this function:

◆ ~StrongReference()

DarwinBluetooth::StrongReference::~StrongReference ( )

Definition at line 34 of file btraii.mm.

References release().

+ Here is the call graph for this function:

Member Function Documentation

◆ getAs()

◆ operator bool()

DarwinBluetooth::StrongReference::operator bool ( ) const
inline

Definition at line 72 of file btraii_p.h.

◆ operator=() [1/2]

StrongReference & DarwinBluetooth::StrongReference::operator= ( const StrongReference & other)
noexcept

Definition at line 39 of file btraii.mm.

References other(), and release().

+ Here is the call graph for this function:

◆ operator=() [2/2]

StrongReference & DarwinBluetooth::StrongReference::operator= ( StrongReference && other)
noexcept

Definition at line 49 of file btraii.mm.

References other(), and swap().

+ Here is the call graph for this function:

◆ release()

void * DarwinBluetooth::StrongReference::release ( )

Definition at line 56 of file btraii.mm.

Referenced by ~StrongReference(), reset(), and reset().

+ Here is the caller graph for this function:

◆ reset() [1/2]

void DarwinBluetooth::StrongReference::reset ( )

Definition at line 64 of file btraii.mm.

References release().

Referenced by QLowEnergyControllerPrivateDarwin::lazyInit(), DarwinBluetooth::ObjCScopedPointer< T >::reset(), and DarwinBluetooth::ObjCScopedPointer< T >::reset().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reset() [2/2]

void DarwinBluetooth::StrongReference::reset ( void * newInstance,
RetainPolicy policy )

Definition at line 70 of file btraii.mm.

References DarwinBluetooth::doInitialRetain, policy, and release().

+ Here is the call graph for this function:

◆ swap()

void DarwinBluetooth::StrongReference::swap ( StrongReference & other)
inlinenoexcept

Definition at line 56 of file btraii_p.h.

References other().

Referenced by DarwinBluetooth::ObjCScopedPointer< T >::swap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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