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< QBluetoothServiceInfodiscoveredServices
QList< QBluetoothDeviceInfodiscoveredDevices
QBluetoothAddress m_deviceAdapterAddress

Static Public Attributes

static constexpr int kMaxSdpRecursionDepth = 64

Protected Attributes

QBluetoothServiceDiscoveryAgentq_ptr

Friends

class ::tst_QBluetoothServiceDiscoveryAgent

Detailed Description

\inmodule QtBluetooth

Definition at line 74 of file qbluetoothservicediscoveryagent_p.h.

Member Enumeration Documentation

◆ DiscoveryState

Enumerator
Inactive 
DeviceDiscovery 
ServiceDiscovery 

Definition at line 92 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 ( )

Definition at line 70 of file qbluetoothservicediscoveryagent_android.cpp.

Member Function Documentation

◆ _q_deviceDiscovered()

void QBluetoothServiceDiscoveryAgentPrivate::_q_deviceDiscovered ( const QBluetoothDeviceInfo & info)

Definition at line 496 of file qbluetoothservicediscoveryagent.cpp.

◆ _q_deviceDiscoveryError()

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

Definition at line 506 of file qbluetoothservicediscoveryagent.cpp.

◆ _q_deviceDiscoveryFinished()

void QBluetoothServiceDiscoveryAgentPrivate::_q_deviceDiscoveryFinished ( )

Called when device discovery finishes.

Definition at line 477 of file qbluetoothservicediscoveryagent.cpp.

◆ _q_serviceDiscoveryFinished()

void QBluetoothServiceDiscoveryAgentPrivate::_q_serviceDiscoveryFinished ( )

Definition at line 552 of file qbluetoothservicediscoveryagent.cpp.

◆ DiscoveryMode()

QBluetoothServiceDiscoveryAgent::DiscoveryMode QBluetoothServiceDiscoveryAgentPrivate::DiscoveryMode ( )
inline

Definition at line 111 of file qbluetoothservicediscoveryagent_p.h.

◆ discoveryState()

DiscoveryState QBluetoothServiceDiscoveryAgentPrivate::discoveryState ( )
inline

Definition at line 108 of file qbluetoothservicediscoveryagent_p.h.

◆ setDiscoveryMode()

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

Definition at line 110 of file qbluetoothservicediscoveryagent_p.h.

◆ setDiscoveryState()

void QBluetoothServiceDiscoveryAgentPrivate::setDiscoveryState ( DiscoveryState s)
inline

Definition at line 107 of file qbluetoothservicediscoveryagent_p.h.

◆ startDeviceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::startDeviceDiscovery ( )

Starts device discovery.

Definition at line 426 of file qbluetoothservicediscoveryagent.cpp.

◆ startServiceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::startServiceDiscovery ( )

Starts service discovery for the next device.

Definition at line 528 of file qbluetoothservicediscoveryagent.cpp.

◆ stopDeviceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::stopDeviceDiscovery ( )

Stops device discovery.

Definition at line 458 of file qbluetoothservicediscoveryagent.cpp.

◆ stopServiceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::stopServiceDiscovery ( )

Stops service discovery.

Definition at line 545 of file qbluetoothservicediscoveryagent.cpp.

◆ ::tst_QBluetoothServiceDiscoveryAgent

friend class ::tst_QBluetoothServiceDiscoveryAgent
friend

Definition at line 86 of file qbluetoothservicediscoveryagent_p.h.

Member Data Documentation

◆ deviceAddress

QBluetoothAddress QBluetoothServiceDiscoveryAgentPrivate::deviceAddress

Definition at line 150 of file qbluetoothservicediscoveryagent_p.h.

◆ discoveredDevices

QList<QBluetoothDeviceInfo> QBluetoothServiceDiscoveryAgentPrivate::discoveredDevices

Definition at line 152 of file qbluetoothservicediscoveryagent_p.h.

◆ discoveredServices

QList<QBluetoothServiceInfo> QBluetoothServiceDiscoveryAgentPrivate::discoveredServices

Definition at line 151 of file qbluetoothservicediscoveryagent_p.h.

◆ error

QBluetoothServiceDiscoveryAgent::Error QBluetoothServiceDiscoveryAgentPrivate::error

Definition at line 148 of file qbluetoothservicediscoveryagent_p.h.

◆ errorString

QString QBluetoothServiceDiscoveryAgentPrivate::errorString

Definition at line 149 of file qbluetoothservicediscoveryagent_p.h.

◆ kMaxSdpRecursionDepth

int QBluetoothServiceDiscoveryAgentPrivate::kMaxSdpRecursionDepth = 64
staticconstexpr

Definition at line 90 of file qbluetoothservicediscoveryagent_p.h.

◆ m_deviceAdapterAddress

QBluetoothAddress QBluetoothServiceDiscoveryAgentPrivate::m_deviceAdapterAddress

Definition at line 153 of file qbluetoothservicediscoveryagent_p.h.

◆ q_ptr

QBluetoothServiceDiscoveryAgent* QBluetoothServiceDiscoveryAgentPrivate::q_ptr
protected

Definition at line 209 of file qbluetoothservicediscoveryagent_p.h.


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