![]() |
Qt 6.x
The Qt SDK
|
#include <btraii_p.h>
Public Member Functions | |
StrongReference ()=default | |
StrongReference (void *object, RetainPolicy policy) | |
StrongReference (const StrongReference &other) | |
StrongReference (StrongReference &&other) | |
~StrongReference () | |
StrongReference & | operator= (const StrongReference &other) noexcept |
StrongReference & | operator= (StrongReference &&other) noexcept |
void | swap (StrongReference &other) noexcept |
void * | release () |
void | reset () |
void | reset (void *newInstance, RetainPolicy policy) |
template<class ObjCType > | |
ObjCType * | getAs () const |
operator bool () const | |
Definition at line 43 of file btraii_p.h.
|
default |
DarwinBluetooth::StrongReference::StrongReference | ( | void * | object, |
RetainPolicy | policy | ||
) |
Definition at line 16 of file btraii.mm.
References DarwinBluetooth::doInitialRetain, and policy.
DarwinBluetooth::StrongReference::StrongReference | ( | const StrongReference & | other | ) |
DarwinBluetooth::StrongReference::StrongReference | ( | StrongReference && | other | ) |
DarwinBluetooth::StrongReference::~StrongReference | ( | ) |
|
inline |
Definition at line 67 of file btraii_p.h.
Referenced by QLowEnergyControllerPrivateDarwin::~QLowEnergyControllerPrivateDarwin(), QLowEnergyControllerPrivateDarwin::addServiceHelper(), QLowEnergyControllerPrivateDarwin::connectToDevice(), QLowEnergyControllerPrivateDarwin::disconnectFromDevice(), QLowEnergyControllerPrivateDarwin::discoverServiceDetails(), QLowEnergyControllerPrivateDarwin::discoverServices(), DarwinBluetooth::ObjCScopedPointer< T >::get(), QLowEnergyControllerPrivateDarwin::mtu(), DarwinBluetooth::ObjCScopedPointer< DarwinBTConnectionMonitor >::operator DarwinBTConnectionMonitor *(), QLowEnergyControllerPrivateDarwin::readCharacteristic(), QLowEnergyControllerPrivateDarwin::readDescriptor(), QLowEnergyControllerPrivateDarwin::readRssi(), QLowEnergyControllerPrivateDarwin::startAdvertising(), QLowEnergyControllerPrivateDarwin::stopAdvertising(), QLowEnergyControllerPrivateDarwin::writeCharacteristic(), and QLowEnergyControllerPrivateDarwin::writeDescriptor().
|
inline |
Definition at line 72 of file btraii_p.h.
|
noexcept |
|
noexcept |
void * DarwinBluetooth::StrongReference::release | ( | ) |
Definition at line 56 of file btraii.mm.
Referenced by ~StrongReference(), reset(), and reset().
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().
void DarwinBluetooth::StrongReference::reset | ( | void * | newInstance, |
RetainPolicy | policy | ||
) |
Definition at line 70 of file btraii.mm.
References DarwinBluetooth::doInitialRetain, policy, and release().
|
inlinenoexcept |
Definition at line 56 of file btraii_p.h.
References other().
Referenced by DarwinBluetooth::ObjCScopedPointer< T >::swap().