/**************************************************************************** ** Meta object code from reading C++ file 'BluetoothInterface.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.10) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include #include "../luis/application/sources/bluetooth/BluetoothInterface.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'BluetoothInterface.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.15.10. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED struct qt_meta_stringdata_Bluetooth__BluetoothInterface_t { QByteArrayData data[61]; char stringdata0[1087]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_Bluetooth__BluetoothInterface_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_Bluetooth__BluetoothInterface_t qt_meta_stringdata_Bluetooth__BluetoothInterface = { { QT_MOC_LITERAL(0, 0, 29), // "Bluetooth::BluetoothInterface" QT_MOC_LITERAL(1, 30, 14), // "didStateChange" QT_MOC_LITERAL(2, 45, 0), // "" QT_MOC_LITERAL(3, 46, 13), // "BluetoothData" QT_MOC_LITERAL(4, 60, 5), // "vData" QT_MOC_LITERAL(5, 66, 16), // "didActionReceive" QT_MOC_LITERAL(6, 83, 19), // "UIBloodPressureData" QT_MOC_LITERAL(7, 103, 15), // "didDeviceChange" QT_MOC_LITERAL(8, 119, 19), // "BluetoothDeviceData" QT_MOC_LITERAL(9, 139, 7), // "vDevice" QT_MOC_LITERAL(10, 147, 15), // "didDeviceSelect" QT_MOC_LITERAL(11, 163, 10), // "diddoStart" QT_MOC_LITERAL(12, 174, 9), // "diddoScan" QT_MOC_LITERAL(13, 184, 4), // "init" QT_MOC_LITERAL(14, 189, 8), // "QThread&" QT_MOC_LITERAL(15, 198, 7), // "vThread" QT_MOC_LITERAL(16, 206, 4), // "quit" QT_MOC_LITERAL(17, 211, 22), // "doNotifyStatePOSTError" QT_MOC_LITERAL(18, 234, 20), // "onLocalDeviceConnect" QT_MOC_LITERAL(19, 255, 17), // "QBluetoothAddress" QT_MOC_LITERAL(20, 273, 8), // "vAddress" QT_MOC_LITERAL(21, 282, 23), // "onLocalDeviceDisconnect" QT_MOC_LITERAL(22, 306, 12), // "onLocalError" QT_MOC_LITERAL(23, 319, 28), // "QBluetoothLocalDevice::Error" QT_MOC_LITERAL(24, 348, 6), // "vError" QT_MOC_LITERAL(25, 355, 21), // "onAgentDiscoverDevice" QT_MOC_LITERAL(26, 377, 20), // "QBluetoothDeviceInfo" QT_MOC_LITERAL(27, 398, 21), // "onAgentDiscoverFinish" QT_MOC_LITERAL(28, 420, 21), // "onAgentDiscoverCancel" QT_MOC_LITERAL(29, 442, 20), // "onAgentDiscoverError" QT_MOC_LITERAL(30, 463, 37), // "QBluetoothDeviceDiscoveryAgen..." QT_MOC_LITERAL(31, 501, 15), // "onDeviceConnect" QT_MOC_LITERAL(32, 517, 18), // "onDeviceDisconnect" QT_MOC_LITERAL(33, 536, 23), // "onDeviceDiscoverService" QT_MOC_LITERAL(34, 560, 14), // "QBluetoothUuid" QT_MOC_LITERAL(35, 575, 8), // "vService" QT_MOC_LITERAL(36, 584, 22), // "onDeviceDiscoverFinish" QT_MOC_LITERAL(37, 607, 13), // "onDeviceError" QT_MOC_LITERAL(38, 621, 27), // "QLowEnergyController::Error" QT_MOC_LITERAL(39, 649, 30), // "onServiceCharacteristicChanged" QT_MOC_LITERAL(40, 680, 24), // "QLowEnergyCharacteristic" QT_MOC_LITERAL(41, 705, 15), // "vCharacteristic" QT_MOC_LITERAL(42, 721, 6), // "vValue" QT_MOC_LITERAL(43, 728, 27), // "onServiceCharacteristicRead" QT_MOC_LITERAL(44, 756, 30), // "onServiceCharacteristicWritten" QT_MOC_LITERAL(45, 787, 23), // "onServiceDescriptorRead" QT_MOC_LITERAL(46, 811, 20), // "QLowEnergyDescriptor" QT_MOC_LITERAL(47, 832, 11), // "vDescriptor" QT_MOC_LITERAL(48, 844, 26), // "onServiceDescriptorWritten" QT_MOC_LITERAL(49, 871, 14), // "onServiceError" QT_MOC_LITERAL(50, 886, 31), // "QLowEnergyService::ServiceError" QT_MOC_LITERAL(51, 918, 21), // "onServiceStateChanged" QT_MOC_LITERAL(52, 940, 31), // "QLowEnergyService::ServiceState" QT_MOC_LITERAL(53, 972, 6), // "vState" QT_MOC_LITERAL(54, 979, 14), // "onDeviceSelect" QT_MOC_LITERAL(55, 994, 19), // "onAttributeResponse" QT_MOC_LITERAL(56, 1014, 38), // "DeviceBluetoothPairedQueryRes..." QT_MOC_LITERAL(57, 1053, 7), // "doStart" QT_MOC_LITERAL(58, 1061, 9), // "ondoStart" QT_MOC_LITERAL(59, 1071, 6), // "doScan" QT_MOC_LITERAL(60, 1078, 8) // "ondoScan" }, "Bluetooth::BluetoothInterface\0" "didStateChange\0\0BluetoothData\0vData\0" "didActionReceive\0UIBloodPressureData\0" "didDeviceChange\0BluetoothDeviceData\0" "vDevice\0didDeviceSelect\0diddoStart\0" "diddoScan\0init\0QThread&\0vThread\0quit\0" "doNotifyStatePOSTError\0onLocalDeviceConnect\0" "QBluetoothAddress\0vAddress\0" "onLocalDeviceDisconnect\0onLocalError\0" "QBluetoothLocalDevice::Error\0vError\0" "onAgentDiscoverDevice\0QBluetoothDeviceInfo\0" "onAgentDiscoverFinish\0onAgentDiscoverCancel\0" "onAgentDiscoverError\0" "QBluetoothDeviceDiscoveryAgent::Error\0" "onDeviceConnect\0onDeviceDisconnect\0" "onDeviceDiscoverService\0QBluetoothUuid\0" "vService\0onDeviceDiscoverFinish\0" "onDeviceError\0QLowEnergyController::Error\0" "onServiceCharacteristicChanged\0" "QLowEnergyCharacteristic\0vCharacteristic\0" "vValue\0onServiceCharacteristicRead\0" "onServiceCharacteristicWritten\0" "onServiceDescriptorRead\0QLowEnergyDescriptor\0" "vDescriptor\0onServiceDescriptorWritten\0" "onServiceError\0QLowEnergyService::ServiceError\0" "onServiceStateChanged\0" "QLowEnergyService::ServiceState\0vState\0" "onDeviceSelect\0onAttributeResponse\0" "DeviceBluetoothPairedQueryResponseData\0" "doStart\0ondoStart\0doScan\0ondoScan" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_Bluetooth__BluetoothInterface[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 35, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 6, // signalCount // signals: name, argc, parameters, tag, flags 1, 1, 189, 2, 0x06 /* Public */, 5, 1, 192, 2, 0x06 /* Public */, 7, 1, 195, 2, 0x06 /* Public */, 10, 1, 198, 2, 0x06 /* Public */, 11, 0, 201, 2, 0x06 /* Public */, 12, 0, 202, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 13, 0, 203, 2, 0x0a /* Public */, 13, 1, 204, 2, 0x0a /* Public */, 16, 0, 207, 2, 0x0a /* Public */, 17, 0, 208, 2, 0x0a /* Public */, 18, 1, 209, 2, 0x08 /* Private */, 21, 1, 212, 2, 0x08 /* Private */, 22, 1, 215, 2, 0x08 /* Private */, 25, 1, 218, 2, 0x08 /* Private */, 27, 0, 221, 2, 0x08 /* Private */, 28, 0, 222, 2, 0x08 /* Private */, 29, 1, 223, 2, 0x08 /* Private */, 31, 0, 226, 2, 0x08 /* Private */, 32, 0, 227, 2, 0x08 /* Private */, 33, 1, 228, 2, 0x08 /* Private */, 36, 0, 231, 2, 0x08 /* Private */, 37, 1, 232, 2, 0x08 /* Private */, 39, 2, 235, 2, 0x08 /* Private */, 43, 2, 240, 2, 0x08 /* Private */, 44, 2, 245, 2, 0x08 /* Private */, 45, 2, 250, 2, 0x08 /* Private */, 48, 2, 255, 2, 0x08 /* Private */, 49, 1, 260, 2, 0x08 /* Private */, 51, 1, 263, 2, 0x08 /* Private */, 54, 1, 266, 2, 0x08 /* Private */, 55, 1, 269, 2, 0x08 /* Private */, 57, 0, 272, 2, 0x0a /* Public */, 58, 0, 273, 2, 0x08 /* Private */, 59, 0, 274, 2, 0x0a /* Public */, 60, 0, 275, 2, 0x08 /* Private */, // signals: parameters QMetaType::Void, 0x80000000 | 3, 4, QMetaType::Void, 0x80000000 | 6, 4, QMetaType::Void, 0x80000000 | 8, 9, QMetaType::Void, 0x80000000 | 8, 9, QMetaType::Void, QMetaType::Void, // slots: parameters QMetaType::Bool, QMetaType::Bool, 0x80000000 | 14, 15, QMetaType::Void, QMetaType::Void, QMetaType::Void, 0x80000000 | 19, 20, QMetaType::Void, 0x80000000 | 19, 20, QMetaType::Void, 0x80000000 | 23, 24, QMetaType::Void, 0x80000000 | 26, 9, QMetaType::Void, QMetaType::Void, QMetaType::Void, 0x80000000 | 30, 24, QMetaType::Void, QMetaType::Void, QMetaType::Void, 0x80000000 | 34, 35, QMetaType::Void, QMetaType::Void, 0x80000000 | 38, 24, QMetaType::Void, 0x80000000 | 40, QMetaType::QByteArray, 41, 42, QMetaType::Void, 0x80000000 | 40, QMetaType::QByteArray, 41, 42, QMetaType::Void, 0x80000000 | 40, QMetaType::QByteArray, 41, 42, QMetaType::Void, 0x80000000 | 46, QMetaType::QByteArray, 47, 42, QMetaType::Void, 0x80000000 | 46, QMetaType::QByteArray, 47, 42, QMetaType::Void, 0x80000000 | 50, 24, QMetaType::Void, 0x80000000 | 52, 53, QMetaType::Void, 0x80000000 | 8, 9, QMetaType::Void, 0x80000000 | 56, 4, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::Void, 0 // eod }; void Bluetooth::BluetoothInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast(_o); (void)_t; switch (_id) { case 0: _t->didStateChange((*reinterpret_cast< const BluetoothData(*)>(_a[1]))); break; case 1: _t->didActionReceive((*reinterpret_cast< const UIBloodPressureData(*)>(_a[1]))); break; case 2: _t->didDeviceChange((*reinterpret_cast< const BluetoothDeviceData(*)>(_a[1]))); break; case 3: _t->didDeviceSelect((*reinterpret_cast< const BluetoothDeviceData(*)>(_a[1]))); break; case 4: _t->diddoStart(); break; case 5: _t->diddoScan(); break; case 6: { bool _r = _t->init(); if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; case 7: { bool _r = _t->init((*reinterpret_cast< QThread(*)>(_a[1]))); if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; case 8: _t->quit(); break; case 9: _t->doNotifyStatePOSTError(); break; case 10: _t->onLocalDeviceConnect((*reinterpret_cast< const QBluetoothAddress(*)>(_a[1]))); break; case 11: _t->onLocalDeviceDisconnect((*reinterpret_cast< const QBluetoothAddress(*)>(_a[1]))); break; case 12: _t->onLocalError((*reinterpret_cast< QBluetoothLocalDevice::Error(*)>(_a[1]))); break; case 13: _t->onAgentDiscoverDevice((*reinterpret_cast< const QBluetoothDeviceInfo(*)>(_a[1]))); break; case 14: _t->onAgentDiscoverFinish(); break; case 15: _t->onAgentDiscoverCancel(); break; case 16: _t->onAgentDiscoverError((*reinterpret_cast< QBluetoothDeviceDiscoveryAgent::Error(*)>(_a[1]))); break; case 17: _t->onDeviceConnect(); break; case 18: _t->onDeviceDisconnect(); break; case 19: _t->onDeviceDiscoverService((*reinterpret_cast< const QBluetoothUuid(*)>(_a[1]))); break; case 20: _t->onDeviceDiscoverFinish(); break; case 21: _t->onDeviceError((*reinterpret_cast< QLowEnergyController::Error(*)>(_a[1]))); break; case 22: _t->onServiceCharacteristicChanged((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; case 23: _t->onServiceCharacteristicRead((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; case 24: _t->onServiceCharacteristicWritten((*reinterpret_cast< const QLowEnergyCharacteristic(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; case 25: _t->onServiceDescriptorRead((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; case 26: _t->onServiceDescriptorWritten((*reinterpret_cast< const QLowEnergyDescriptor(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; case 27: _t->onServiceError((*reinterpret_cast< QLowEnergyService::ServiceError(*)>(_a[1]))); break; case 28: _t->onServiceStateChanged((*reinterpret_cast< QLowEnergyService::ServiceState(*)>(_a[1]))); break; case 29: _t->onDeviceSelect((*reinterpret_cast< const BluetoothDeviceData(*)>(_a[1]))); break; case 30: _t->onAttributeResponse((*reinterpret_cast< const DeviceBluetoothPairedQueryResponseData(*)>(_a[1]))); break; case 31: _t->doStart(); break; case 32: _t->ondoStart(); break; case 33: _t->doScan(); break; case 34: _t->ondoScan(); break; default: ; } } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { switch (_id) { default: *reinterpret_cast(_a[0]) = -1; break; case 10: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothAddress >(); break; } break; case 11: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothAddress >(); break; } break; case 12: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothLocalDevice::Error >(); break; } break; case 13: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothDeviceInfo >(); break; } break; case 19: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QBluetoothUuid >(); break; } break; case 21: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyController::Error >(); break; } break; case 22: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; } break; case 23: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; } break; case 24: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyCharacteristic >(); break; } break; case 25: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; } break; case 26: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyDescriptor >(); break; } break; case 27: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceError >(); break; } break; case 28: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 0: *reinterpret_cast(_a[0]) = qRegisterMetaType< QLowEnergyService::ServiceState >(); break; } break; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _t = void (BluetoothInterface::*)(const BluetoothData & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BluetoothInterface::didStateChange)) { *result = 0; return; } } { using _t = void (BluetoothInterface::*)(const UIBloodPressureData & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BluetoothInterface::didActionReceive)) { *result = 1; return; } } { using _t = void (BluetoothInterface::*)(const BluetoothDeviceData & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BluetoothInterface::didDeviceChange)) { *result = 2; return; } } { using _t = void (BluetoothInterface::*)(const BluetoothDeviceData & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BluetoothInterface::didDeviceSelect)) { *result = 3; return; } } { using _t = void (BluetoothInterface::*)(); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BluetoothInterface::diddoStart)) { *result = 4; return; } } { using _t = void (BluetoothInterface::*)(); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BluetoothInterface::diddoScan)) { *result = 5; return; } } } } QT_INIT_METAOBJECT const QMetaObject Bluetooth::BluetoothInterface::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_Bluetooth__BluetoothInterface.data, qt_meta_data_Bluetooth__BluetoothInterface, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *Bluetooth::BluetoothInterface::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *Bluetooth::BluetoothInterface::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_Bluetooth__BluetoothInterface.stringdata0)) return static_cast(this); return QObject::qt_metacast(_clname); } int Bluetooth::BluetoothInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QObject::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 35) qt_static_metacall(this, _c, _id, _a); _id -= 35; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 35) qt_static_metacall(this, _c, _id, _a); _id -= 35; } return _id; } // SIGNAL 0 void Bluetooth::BluetoothInterface::didStateChange(const BluetoothData & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } // SIGNAL 1 void Bluetooth::BluetoothInterface::didActionReceive(const UIBloodPressureData & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } // SIGNAL 2 void Bluetooth::BluetoothInterface::didDeviceChange(const BluetoothDeviceData & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 2, _a); } // SIGNAL 3 void Bluetooth::BluetoothInterface::didDeviceSelect(const BluetoothDeviceData & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 3, _a); } // SIGNAL 4 void Bluetooth::BluetoothInterface::diddoStart() { QMetaObject::activate(this, &staticMetaObject, 4, nullptr); } // SIGNAL 5 void Bluetooth::BluetoothInterface::diddoScan() { QMetaObject::activate(this, &staticMetaObject, 5, nullptr); } QT_WARNING_POP QT_END_MOC_NAMESPACE