/**************************************************************************** ** Meta object code from reading C++ file 'controllerlink.h' ** ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.2) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../../../../lib/controllerlink.h" #include #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'controllerlink.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 68 #error "This file was generated using the moc from 6.8.2. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif #ifndef Q_CONSTINIT #define Q_CONSTINIT #endif QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED QT_WARNING_DISABLE_GCC("-Wuseless-cast") namespace { struct qt_meta_tag_ZN7AdvCtrl14ControllerLinkE_t {}; } // unnamed namespace #ifdef QT_MOC_HAS_STRINGDATA static constexpr auto qt_meta_stringdata_ZN7AdvCtrl14ControllerLinkE = QtMocHelpers::stringData( "AdvCtrl::ControllerLink", "stateChanged", "", "AdvCtrl::ControllerLink::State", "state", "detected", "firmware", "cameras", "uid", "notDetected", "lost", "leds", "mask", "reply", "commandLine", "result", "error", "message", "closed", "open", "portName", "baudRate", "close", "send", "State", "Closed", "NoLink", "Link" ); #else // !QT_MOC_HAS_STRINGDATA #error "qtmochelpers.h not found or too old." #endif // !QT_MOC_HAS_STRINGDATA Q_CONSTINIT static const uint qt_meta_data_ZN7AdvCtrl14ControllerLinkE[] = { // content: 12, // revision 0, // classname 0, 0, // classinfo 12, 14, // methods 0, 0, // properties 1, 122, // enums/sets 0, 0, // constructors 0, // flags 8, // signalCount // signals: name, argc, parameters, tag, flags, initial metatype offsets 1, 1, 86, 2, 0x06, 2 /* Public */, 5, 3, 89, 2, 0x06, 4 /* Public */, 9, 0, 96, 2, 0x06, 8 /* Public */, 10, 0, 97, 2, 0x06, 9 /* Public */, 11, 1, 98, 2, 0x06, 10 /* Public */, 13, 2, 101, 2, 0x06, 12 /* Public */, 16, 1, 106, 2, 0x06, 15 /* Public */, 18, 0, 109, 2, 0x06, 17 /* Public */, // slots: name, argc, parameters, tag, flags, initial metatype offsets 19, 2, 110, 2, 0x0a, 18 /* Public */, 19, 1, 115, 2, 0x2a, 21 /* Public | MethodCloned */, 22, 0, 118, 2, 0x0a, 23 /* Public */, 23, 1, 119, 2, 0x0a, 24 /* Public */, // signals: parameters QMetaType::Void, 0x80000000 | 3, 4, QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, 6, 7, 8, QMetaType::Void, QMetaType::Void, QMetaType::Void, QMetaType::UInt, 12, QMetaType::Void, QMetaType::QString, QMetaType::QString, 14, 15, QMetaType::Void, QMetaType::QString, 17, QMetaType::Void, // slots: parameters QMetaType::Void, QMetaType::QString, QMetaType::Int, 20, 21, QMetaType::Void, QMetaType::QString, 20, QMetaType::Void, QMetaType::Void, QMetaType::QString, 14, // enums: name, alias, flags, count, data 24, 24, 0x0, 3, 127, // enum data: key, value 25, uint(AdvCtrl::ControllerLink::Closed), 26, uint(AdvCtrl::ControllerLink::NoLink), 27, uint(AdvCtrl::ControllerLink::Link), 0 // eod }; Q_CONSTINIT const QMetaObject AdvCtrl::ControllerLink::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_ZN7AdvCtrl14ControllerLinkE.offsetsAndSizes, qt_meta_data_ZN7AdvCtrl14ControllerLinkE, qt_static_metacall, nullptr, qt_incomplete_metaTypeArray, // Q_OBJECT / Q_GADGET QtPrivate::TypeAndForceComplete, // method 'stateChanged' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'detected' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'notDetected' QtPrivate::TypeAndForceComplete, // method 'lost' QtPrivate::TypeAndForceComplete, // method 'leds' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'reply' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'error' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'closed' QtPrivate::TypeAndForceComplete, // method 'open' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'open' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'close' QtPrivate::TypeAndForceComplete, // method 'send' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete >, nullptr } }; void AdvCtrl::ControllerLink::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { auto *_t = static_cast(_o); if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: _t->stateChanged((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 1: _t->detected((*reinterpret_cast< std::add_pointer_t>(_a[1])),(*reinterpret_cast< std::add_pointer_t>(_a[2])),(*reinterpret_cast< std::add_pointer_t>(_a[3]))); break; case 2: _t->notDetected(); break; case 3: _t->lost(); break; case 4: _t->leds((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 5: _t->reply((*reinterpret_cast< std::add_pointer_t>(_a[1])),(*reinterpret_cast< std::add_pointer_t>(_a[2]))); break; case 6: _t->error((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 7: _t->closed(); break; case 8: _t->open((*reinterpret_cast< std::add_pointer_t>(_a[1])),(*reinterpret_cast< std::add_pointer_t>(_a[2]))); break; case 9: _t->open((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 10: _t->close(); break; case 11: _t->send((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; default: ; } } if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _q_method_type = void (ControllerLink::*)(AdvCtrl::ControllerLink::State ); if (_q_method_type _q_method = &ControllerLink::stateChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 0; return; } } { using _q_method_type = void (ControllerLink::*)(const QString & , const QString & , const QString & ); if (_q_method_type _q_method = &ControllerLink::detected; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 1; return; } } { using _q_method_type = void (ControllerLink::*)(); if (_q_method_type _q_method = &ControllerLink::notDetected; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 2; return; } } { using _q_method_type = void (ControllerLink::*)(); if (_q_method_type _q_method = &ControllerLink::lost; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 3; return; } } { using _q_method_type = void (ControllerLink::*)(quint32 ); if (_q_method_type _q_method = &ControllerLink::leds; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 4; return; } } { using _q_method_type = void (ControllerLink::*)(const QString & , const QString & ); if (_q_method_type _q_method = &ControllerLink::reply; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 5; return; } } { using _q_method_type = void (ControllerLink::*)(const QString & ); if (_q_method_type _q_method = &ControllerLink::error; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 6; return; } } { using _q_method_type = void (ControllerLink::*)(); if (_q_method_type _q_method = &ControllerLink::closed; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 7; return; } } } } const QMetaObject *AdvCtrl::ControllerLink::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *AdvCtrl::ControllerLink::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_ZN7AdvCtrl14ControllerLinkE.stringdata0)) return static_cast(this); return QObject::qt_metacast(_clname); } int AdvCtrl::ControllerLink::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 < 12) qt_static_metacall(this, _c, _id, _a); _id -= 12; } if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 12) *reinterpret_cast(_a[0]) = QMetaType(); _id -= 12; } return _id; } // SIGNAL 0 void AdvCtrl::ControllerLink::stateChanged(AdvCtrl::ControllerLink::State _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } // SIGNAL 1 void AdvCtrl::ControllerLink::detected(const QString & _t1, const QString & _t2, const QString & _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); } // SIGNAL 2 void AdvCtrl::ControllerLink::notDetected() { QMetaObject::activate(this, &staticMetaObject, 2, nullptr); } // SIGNAL 3 void AdvCtrl::ControllerLink::lost() { QMetaObject::activate(this, &staticMetaObject, 3, nullptr); } // SIGNAL 4 void AdvCtrl::ControllerLink::leds(quint32 _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 4, _a); } // SIGNAL 5 void AdvCtrl::ControllerLink::reply(const QString & _t1, const QString & _t2) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; QMetaObject::activate(this, &staticMetaObject, 5, _a); } // SIGNAL 6 void AdvCtrl::ControllerLink::error(const QString & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 6, _a); } // SIGNAL 7 void AdvCtrl::ControllerLink::closed() { QMetaObject::activate(this, &staticMetaObject, 7, nullptr); } QT_WARNING_POP