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
btgcdtimer_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef BTGCDTIMER_P_H
5#define BTGCDTIMER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include "btutility_p.h"
19
20#include <QtCore/private/qcore_mac_p.h>
21
22#include <QtCore/qglobal.h>
23
24#include <Foundation/Foundation.h>
25
26QT_BEGIN_NAMESPACE
27
28namespace DarwinBluetooth {
29
41
42} // namespace DarwinBluetooth
43
44QT_END_NAMESPACE
45
46@protocol QT_MANGLE_NAMESPACE(GCDTimerDelegate)
47@required
48- (void)timeout:(id)sender;
49@end
50
51@interface QT_MANGLE_NAMESPACE(DarwinBTGCDTimer) : NSObject
52- (instancetype)initWithDelegate:(id<QT_MANGLE_NAMESPACE(GCDTimerDelegate)>)delegate;
53- (void)watchAfter:(id)object withTimeoutType:(QT_PREPEND_NAMESPACE(DarwinBluetooth)::OperationTimeout)type;
54- (void)startWithTimeout:(qint64)ms step:(qint64)stepMS;
55- (void)handleTimeout;
56- (void)cancelTimer;
57- (id)objectUnderWatch;
58- (QT_PREPEND_NAMESPACE(DarwinBluetooth)::OperationTimeout)timeoutType;
59@end
60
61QT_NAMESPACE_ALIAS_OBJC_CLASS(DarwinBTGCDTimer);
62
63QT_BEGIN_NAMESPACE
64
65namespace DarwinBluetooth {
66
68
69} // namespace DarwinBluetooth
70
71QT_END_NAMESPACE
72
73#endif // BTGCDTIMER_P_H
#define QT_BT_MAC_AUTORELEASEPOOL
Definition btutility_p.h:78
\inmodule QtBluetooth
\inmodule QtBluetooth
void characteristicWritten(const QLowEnergyCharacteristic &characteristic, const QByteArray &newValue)
QList< QBluetoothUuid > includedServices
void setController(QLowEnergyControllerPrivate *control)
void characteristicChanged(const QLowEnergyCharacteristic &characteristic, const QByteArray &newValue)
void characteristicRead(const QLowEnergyCharacteristic &info, const QByteArray &value)
QLowEnergyService::DiscoveryMode mode
void descriptorWritten(const QLowEnergyDescriptor &descriptor, const QByteArray &newValue)
void descriptorRead(const QLowEnergyDescriptor &info, const QByteArray &value)
QLowEnergyService::ServiceError lastError
void setError(QLowEnergyService::ServiceError newError)
QLowEnergyService::ServiceTypes type
QPointer< QLowEnergyControllerPrivate > controller
void errorOccurred(QLowEnergyService::ServiceError error)
void setState(QLowEnergyService::ServiceState newState)
QLowEnergyService::ServiceState state
QHash< QLowEnergyHandle, CharData > characteristicList
ObjCStrongReference< NSError > qt_timeoutNSError(OperationTimeout type)
QQueue< LERequest > RequestQueue
QHash< NSObject *, QByteArray > ValueHash
auto qt_find_watchdog(const std::vector< GCDTimer > &watchdogs, id object, OperationTimeout type)
QHash< QLowEnergyHandle, CBDescriptor * > DescHash
QHash< QLowEnergyHandle, CBService * > ServiceHash
NSUInteger qt_countGATTEntries(CBService *service)
QHash< QLowEnergyHandle, CBCharacteristic * > CharHash
Combined button and popup list for selecting options.
QHash< QLowEnergyHandle, QLowEnergyServicePrivate::CharData > CharacteristicDataMap
QHash< QLowEnergyHandle, QLowEnergyServicePrivate::DescData > DescriptorDataMap
QDataStream & operator<<(QDataStream &out, const MyClass &myObj)
[4]
QDataStream & operator>>(QDataStream &in, MyClass &myObj)
QHash< QLowEnergyHandle, DescData > descriptorList
QLowEnergyCharacteristic::PropertyTypes properties