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

#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

Protected Attributes

QBluetoothServiceDiscoveryAgentq_ptr

Detailed Description

Definition at line 71 of file qbluetoothservicediscoveryagent_p.h.

Member Enumeration Documentation

◆ DiscoveryState

Enumerator
Inactive 
DeviceDiscovery 
ServiceDiscovery 

Definition at line 85 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.

References QBluetoothServiceDiscoveryAgentPrivate().

Referenced by QBluetoothServiceDiscoveryAgentPrivate().

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

◆ ~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 490 of file qbluetoothservicediscoveryagent.cpp.

◆ _q_deviceDiscoveryError()

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

Definition at line 500 of file qbluetoothservicediscoveryagent.cpp.

◆ _q_deviceDiscoveryFinished()

void QBluetoothServiceDiscoveryAgentPrivate::_q_deviceDiscoveryFinished ( )

Called when device discovery finishes.

Definition at line 471 of file qbluetoothservicediscoveryagent.cpp.

References startServiceDiscovery().

Here is the call graph for this function:

◆ _q_serviceDiscoveryFinished()

void QBluetoothServiceDiscoveryAgentPrivate::_q_serviceDiscoveryFinished ( )

Definition at line 546 of file qbluetoothservicediscoveryagent.cpp.

References startServiceDiscovery().

Here is the call graph for this function:

◆ DiscoveryMode()

QBluetoothServiceDiscoveryAgent::DiscoveryMode QBluetoothServiceDiscoveryAgentPrivate::DiscoveryMode ( )
inline

Definition at line 104 of file qbluetoothservicediscoveryagent_p.h.

◆ discoveryState()

DiscoveryState QBluetoothServiceDiscoveryAgentPrivate::discoveryState ( )
inline

Definition at line 101 of file qbluetoothservicediscoveryagent_p.h.

◆ setDiscoveryMode()

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

Definition at line 103 of file qbluetoothservicediscoveryagent_p.h.

◆ setDiscoveryState()

void QBluetoothServiceDiscoveryAgentPrivate::setDiscoveryState ( DiscoveryState s)
inline

Definition at line 100 of file qbluetoothservicediscoveryagent_p.h.

◆ startDeviceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::startDeviceDiscovery ( )

Starts device discovery.

Definition at line 420 of file qbluetoothservicediscoveryagent.cpp.

◆ startServiceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::startServiceDiscovery ( )

Starts service discovery for the next device.

Definition at line 522 of file qbluetoothservicediscoveryagent.cpp.

Referenced by _q_deviceDiscoveryFinished(), and _q_serviceDiscoveryFinished().

Here is the caller graph for this function:

◆ stopDeviceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::stopDeviceDiscovery ( )

Stops device discovery.

Definition at line 452 of file qbluetoothservicediscoveryagent.cpp.

◆ stopServiceDiscovery()

void QBluetoothServiceDiscoveryAgentPrivate::stopServiceDiscovery ( )

Stops service discovery.

Definition at line 539 of file qbluetoothservicediscoveryagent.cpp.

Member Data Documentation

◆ deviceAddress

QBluetoothAddress QBluetoothServiceDiscoveryAgentPrivate::deviceAddress

Definition at line 143 of file qbluetoothservicediscoveryagent_p.h.

◆ discoveredDevices

QList<QBluetoothDeviceInfo> QBluetoothServiceDiscoveryAgentPrivate::discoveredDevices

Definition at line 145 of file qbluetoothservicediscoveryagent_p.h.

◆ discoveredServices

QList<QBluetoothServiceInfo> QBluetoothServiceDiscoveryAgentPrivate::discoveredServices

Definition at line 144 of file qbluetoothservicediscoveryagent_p.h.

◆ error

QBluetoothServiceDiscoveryAgent::Error QBluetoothServiceDiscoveryAgentPrivate::error

Definition at line 141 of file qbluetoothservicediscoveryagent_p.h.

◆ errorString

QString QBluetoothServiceDiscoveryAgentPrivate::errorString

Definition at line 142 of file qbluetoothservicediscoveryagent_p.h.

◆ m_deviceAdapterAddress

QBluetoothAddress QBluetoothServiceDiscoveryAgentPrivate::m_deviceAdapterAddress

Definition at line 146 of file qbluetoothservicediscoveryagent_p.h.

◆ q_ptr

QBluetoothServiceDiscoveryAgent* QBluetoothServiceDiscoveryAgentPrivate::q_ptr
protected

Definition at line 202 of file qbluetoothservicediscoveryagent_p.h.


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