Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QBluetoothServiceDiscoveryAgentPrivate Class Reference

\inmodule QtBluetooth More...

#include <qbluetoothservicediscoveryagent_p.h>

Collaboration diagram for QBluetoothServiceDiscoveryAgentPrivate:

Public Types

enum  DiscoveryState { Inactive , DeviceDiscovery , ServiceDiscovery }

Public Member Functions

 QBluetoothServiceDiscoveryAgentPrivate (QBluetoothServiceDiscoveryAgent *qp, const QBluetoothAddress &deviceAdapter)
 ~QBluetoothServiceDiscoveryAgentPrivate ()
void startDeviceDiscovery ()
 Starts device discovery.
void stopDeviceDiscovery ()
 Stops device discovery.
void startServiceDiscovery ()
 Starts service discovery for the next device.
void stopServiceDiscovery ()
 Stops service discovery.
void setDiscoveryState (DiscoveryState s)
DiscoveryState discoveryState ()
void setDiscoveryMode (QBluetoothServiceDiscoveryAgent::DiscoveryMode m)
QBluetoothServiceDiscoveryAgent::DiscoveryMode DiscoveryMode ()
void _q_deviceDiscoveryFinished ()
 Called when device discovery finishes.
void _q_deviceDiscovered (const QBluetoothDeviceInfo &info)
void _q_serviceDiscoveryFinished ()
void _q_deviceDiscoveryError (QBluetoothDeviceDiscoveryAgent::Error)

Public Attributes

QBluetoothServiceDiscoveryAgent::Error error
QString errorString
QBluetoothAddress deviceAddress
QList< QBluetoothServiceInfo > discoveredServices
QList< QBluetoothDeviceInfo > discoveredDevices
QBluetoothAddress m_deviceAdapterAddress

Static Public Attributes

static constexpr int kMaxSdpRecursionDepth = 64

Protected Attributes

QBluetoothServiceDiscoveryAgent * q_ptr

Friends

class ::tst_QBluetoothServiceDiscoveryAgent

Detailed Description

\inmodule QtBluetooth

Definition at line 87 of file qbluetoothservicediscoveryagent_p.h.

Member Enumeration Documentation

◆ DiscoveryState

Enumerator
Inactive 
DeviceDiscovery 
ServiceDiscovery 

Definition at line 105 of file qbluetoothservicediscoveryagent_p.h.

Constructor & Destructor Documentation

◆ QBluetoothServiceDiscoveryAgentPrivate()

QBluetoothServiceDiscoveryAgentPrivate::QBluetoothServiceDiscoveryAgentPrivate ( QBluetoothServiceDiscoveryAgent * qp,
const QBluetoothAddress & deviceAdapter )

Definition at line 26 of file qbluetoothservicediscoveryagent_android.cpp.

◆ ~QBluetoothServiceDiscoveryAgentPrivate()

QBluetoothServiceDiscoveryAgentPrivate::~QBluetoothServiceDiscoveryAgentPrivate ( )
default

Definition at line 70 of file qbluetoothservicediscoveryagent_android.cpp.

Member Function Documentation

◆ _q_deviceDiscovered()

void QBluetoothServiceDiscoveryAgentPrivate::_q_deviceDiscovered ( const QBluetoothDeviceInfo & info)

Definition at line 506 of file qbluetoothservicediscoveryagent.cpp.

◆ _q_deviceDiscoveryError()

void QBluetoothServiceDiscoveryAgentPrivate::_q_deviceDiscoveryError ( QBluetoothDeviceDiscoveryAgent::Error newError)

Definition at line 516 of file qbluetoothservicediscoveryagent.cpp.

◆ _q_deviceDiscoveryFinished()

void QBluetoothServiceDiscoveryAgentPrivate::_q_deviceDiscoveryFinished ( )

Called when device discovery finishes.

Definition at line 487 of file qbluetoothservicediscoveryagent.cpp.

◆ _q_serviceDiscoveryFinished()

void QBluetoothServiceDiscoveryAgentPrivate::_q_serviceDiscoveryFinished ( )

Definition at line 562 of file qbluetoothservicediscoveryagent.cpp.

◆ DiscoveryMode()

QBluetoothServiceDiscoveryAgent::DiscoveryMode QBluetoothServiceDiscoveryAgentPrivate::DiscoveryMode ( )
inline

Definition at line 124 of file qbluetoothservicediscoveryagent_p.h.

◆ discoveryState()

DiscoveryState QBluetoothServiceDiscoveryAgentPrivate::discoveryState ( )
inline

Definition at line 121 of file qbluetoothservicediscoveryagent_p.h.

◆ setDiscoveryMode()

void QBluetoothServiceDiscoveryAgentPrivate::setDiscoveryMode ( QBluetoothServiceDiscoveryAgent::DiscoveryMode m)
inline

Definition at line 123 of file qbluetoothservicediscoveryagent_p.h.

◆ setDiscoveryState()

void QBluetoothServiceDiscoveryAgentPrivate::setDiscoveryState ( DiscoveryState s)
inline

Definition at line 120 of file qbluetoothservicediscoveryagent_p.h.

◆ startDeviceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::startDeviceDiscovery ( )

Starts device discovery.

Definition at line 436 of file qbluetoothservicediscoveryagent.cpp.

◆ startServiceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::startServiceDiscovery ( )

Starts service discovery for the next device.

Definition at line 538 of file qbluetoothservicediscoveryagent.cpp.

◆ stopDeviceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::stopDeviceDiscovery ( )

Stops device discovery.

Definition at line 468 of file qbluetoothservicediscoveryagent.cpp.

◆ stopServiceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::stopServiceDiscovery ( )

Stops service discovery.

Definition at line 555 of file qbluetoothservicediscoveryagent.cpp.

◆ ::tst_QBluetoothServiceDiscoveryAgent

friend class ::tst_QBluetoothServiceDiscoveryAgent
friend

Definition at line 99 of file qbluetoothservicediscoveryagent_p.h.

Member Data Documentation

◆ deviceAddress

QBluetoothAddress QBluetoothServiceDiscoveryAgentPrivate::deviceAddress

Definition at line 163 of file qbluetoothservicediscoveryagent_p.h.

◆ discoveredDevices

QList<QBluetoothDeviceInfo> QBluetoothServiceDiscoveryAgentPrivate::discoveredDevices

Definition at line 165 of file qbluetoothservicediscoveryagent_p.h.

◆ discoveredServices

QList<QBluetoothServiceInfo> QBluetoothServiceDiscoveryAgentPrivate::discoveredServices

Definition at line 164 of file qbluetoothservicediscoveryagent_p.h.

◆ error

QBluetoothServiceDiscoveryAgent::Error QBluetoothServiceDiscoveryAgentPrivate::error

Definition at line 161 of file qbluetoothservicediscoveryagent_p.h.

◆ errorString

QString QBluetoothServiceDiscoveryAgentPrivate::errorString

Definition at line 162 of file qbluetoothservicediscoveryagent_p.h.

◆ kMaxSdpRecursionDepth

int QBluetoothServiceDiscoveryAgentPrivate::kMaxSdpRecursionDepth = 64
staticconstexpr

Definition at line 103 of file qbluetoothservicediscoveryagent_p.h.

◆ m_deviceAdapterAddress

QBluetoothAddress QBluetoothServiceDiscoveryAgentPrivate::m_deviceAdapterAddress

Definition at line 166 of file qbluetoothservicediscoveryagent_p.h.

◆ q_ptr

QBluetoothServiceDiscoveryAgent* QBluetoothServiceDiscoveryAgentPrivate::q_ptr
protected

Definition at line 233 of file qbluetoothservicediscoveryagent_p.h.


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