/**************************************************************************** ** Meta object code from reading C++ file 'devicemanager.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include #include "../../../../Spectrometer/devicemanager.h" #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'devicemanager.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.15.2. 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_DeviceManager_t { QByteArrayData data[24]; char stringdata0[350]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_DeviceManager_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_DeviceManager_t qt_meta_stringdata_DeviceManager = { { QT_MOC_LITERAL(0, 0, 13), // "DeviceManager" QT_MOC_LITERAL(1, 14, 18), // "DetectDeviceFinish" QT_MOC_LITERAL(2, 33, 0), // "" QT_MOC_LITERAL(3, 34, 26), // "std::vector" QT_MOC_LITERAL(4, 61, 12), // "m_pDeviceLst" QT_MOC_LITERAL(5, 74, 17), // "spectrumDataReady" QT_MOC_LITERAL(6, 92, 11), // "deviceIndex" QT_MOC_LITERAL(7, 104, 14), // "QVector" QT_MOC_LITERAL(8, 119, 14), // "wavelengthList" QT_MOC_LITERAL(9, 134, 12), // "spectrumList" QT_MOC_LITERAL(10, 147, 17), // "onDetectDeviceLst" QT_MOC_LITERAL(11, 165, 14), // "onDataReceived" QT_MOC_LITERAL(12, 180, 11), // "std::string" QT_MOC_LITERAL(13, 192, 18), // "std::vector" QT_MOC_LITERAL(14, 211, 10), // "wavelength" QT_MOC_LITERAL(15, 222, 8), // "spectrum" QT_MOC_LITERAL(16, 231, 19), // "onDataReceivedBanch" QT_MOC_LITERAL(17, 251, 32), // "std::vector >" QT_MOC_LITERAL(18, 284, 7), // "onError" QT_MOC_LITERAL(19, 292, 5), // "error" QT_MOC_LITERAL(20, 298, 12), // "StartMeasure" QT_MOC_LITERAL(21, 311, 15), // "integrationTime" QT_MOC_LITERAL(22, 327, 10), // "nrAverages" QT_MOC_LITERAL(23, 338, 11) // "stopMeasure" }, "DeviceManager\0DetectDeviceFinish\0\0" "std::vector\0m_pDeviceLst\0" "spectrumDataReady\0deviceIndex\0" "QVector\0wavelengthList\0" "spectrumList\0onDetectDeviceLst\0" "onDataReceived\0std::string\0" "std::vector\0wavelength\0spectrum\0" "onDataReceivedBanch\0" "std::vector >\0" "onError\0error\0StartMeasure\0integrationTime\0" "nrAverages\0stopMeasure" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_DeviceManager[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 8, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 2, // signalCount // signals: name, argc, parameters, tag, flags 1, 1, 54, 2, 0x06 /* Public */, 5, 3, 57, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 10, 0, 64, 2, 0x0a /* Public */, 11, 3, 65, 2, 0x0a /* Public */, 16, 3, 72, 2, 0x0a /* Public */, 18, 2, 79, 2, 0x0a /* Public */, 20, 2, 84, 2, 0x0a /* Public */, 23, 0, 89, 2, 0x0a /* Public */, // signals: parameters QMetaType::Void, 0x80000000 | 3, 4, QMetaType::Void, QMetaType::QString, 0x80000000 | 7, 0x80000000 | 7, 6, 8, 9, // slots: parameters QMetaType::Void, QMetaType::Void, 0x80000000 | 12, 0x80000000 | 13, 0x80000000 | 13, 6, 14, 15, QMetaType::Void, 0x80000000 | 12, 0x80000000 | 13, 0x80000000 | 17, 6, 14, 15, QMetaType::Void, 0x80000000 | 12, 0x80000000 | 12, 2, 19, QMetaType::Int, QMetaType::Int, QMetaType::Int, 21, 22, QMetaType::Void, 0 // eod }; void DeviceManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast(_o); Q_UNUSED(_t) switch (_id) { case 0: _t->DetectDeviceFinish((*reinterpret_cast< std::vector(*)>(_a[1]))); break; case 1: _t->spectrumDataReady((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< const QVector(*)>(_a[2])),(*reinterpret_cast< const QVector(*)>(_a[3]))); break; case 2: _t->onDetectDeviceLst(); break; case 3: _t->onDataReceived((*reinterpret_cast< std::string(*)>(_a[1])),(*reinterpret_cast< const std::vector(*)>(_a[2])),(*reinterpret_cast< const std::vector(*)>(_a[3]))); break; case 4: _t->onDataReceivedBanch((*reinterpret_cast< std::string(*)>(_a[1])),(*reinterpret_cast< const std::vector(*)>(_a[2])),(*reinterpret_cast< const std::vector >(*)>(_a[3]))); break; case 5: _t->onError((*reinterpret_cast< std::string(*)>(_a[1])),(*reinterpret_cast< const std::string(*)>(_a[2]))); break; case 6: { int _r = _t->StartMeasure((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break; case 7: _t->stopMeasure(); break; default: ; } } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { switch (_id) { default: *reinterpret_cast(_a[0]) = -1; break; case 1: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = -1; break; case 2: case 1: *reinterpret_cast(_a[0]) = qRegisterMetaType< QVector >(); break; } break; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _t = void (DeviceManager::*)(std::vector ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManager::DetectDeviceFinish)) { *result = 0; return; } } { using _t = void (DeviceManager::*)(QString , const QVector & , const QVector & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManager::spectrumDataReady)) { *result = 1; return; } } } } QT_INIT_METAOBJECT const QMetaObject DeviceManager::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_DeviceManager.data, qt_meta_data_DeviceManager, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *DeviceManager::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *DeviceManager::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_DeviceManager.stringdata0)) return static_cast(this); if (!strcmp(_clname, "SpectrometerCallback")) return static_cast< SpectrometerCallback*>(this); return QObject::qt_metacast(_clname); } int DeviceManager::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 < 8) qt_static_metacall(this, _c, _id, _a); _id -= 8; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 8) qt_static_metacall(this, _c, _id, _a); _id -= 8; } return _id; } // SIGNAL 0 void DeviceManager::DetectDeviceFinish(std::vector _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } // SIGNAL 1 void DeviceManager::spectrumDataReady(QString _t1, const QVector & _t2, const QVector & _t3) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))), const_cast(reinterpret_cast(std::addressof(_t3))) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } QT_WARNING_POP QT_END_MOC_NAMESPACE