/**************************************************************************** ** Meta object code from reading C++ file 'VDGROPumpData.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/view/dg/data/VDGROPumpData.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'VDGROPumpData.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_View__VDGROPump_t { QByteArrayData data[23]; char stringdata0[238]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_View__VDGROPump_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_View__VDGROPump_t qt_meta_stringdata_View__VDGROPump = { { QT_MOC_LITERAL(0, 0, 15), // "View::VDGROPump" QT_MOC_LITERAL(1, 16, 15), // "pressureChanged" QT_MOC_LITERAL(2, 32, 0), // "" QT_MOC_LITERAL(3, 33, 9), // "vpressure" QT_MOC_LITERAL(4, 43, 15), // "flowRateChanged" QT_MOC_LITERAL(5, 59, 9), // "vflowRate" QT_MOC_LITERAL(6, 69, 10), // "pwmChanged" QT_MOC_LITERAL(7, 80, 4), // "vpwm" QT_MOC_LITERAL(8, 85, 12), // "stateChanged" QT_MOC_LITERAL(9, 98, 6), // "vstate" QT_MOC_LITERAL(10, 105, 18), // "tgtFlowRateChanged" QT_MOC_LITERAL(11, 124, 12), // "vtgtFlowRate" QT_MOC_LITERAL(12, 137, 12), // "fbPWMChanged" QT_MOC_LITERAL(13, 150, 6), // "vfbPWM" QT_MOC_LITERAL(14, 157, 15), // "onActionReceive" QT_MOC_LITERAL(15, 173, 12), // "DGROPumpData" QT_MOC_LITERAL(16, 186, 5), // "vData" QT_MOC_LITERAL(17, 192, 8), // "pressure" QT_MOC_LITERAL(18, 201, 8), // "flowRate" QT_MOC_LITERAL(19, 210, 3), // "pwm" QT_MOC_LITERAL(20, 214, 5), // "state" QT_MOC_LITERAL(21, 220, 11), // "tgtFlowRate" QT_MOC_LITERAL(22, 232, 5) // "fbPWM" }, "View::VDGROPump\0pressureChanged\0\0" "vpressure\0flowRateChanged\0vflowRate\0" "pwmChanged\0vpwm\0stateChanged\0vstate\0" "tgtFlowRateChanged\0vtgtFlowRate\0" "fbPWMChanged\0vfbPWM\0onActionReceive\0" "DGROPumpData\0vData\0pressure\0flowRate\0" "pwm\0state\0tgtFlowRate\0fbPWM" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_View__VDGROPump[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 7, 14, // methods 6, 70, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 6, // signalCount // signals: name, argc, parameters, tag, flags 1, 1, 49, 2, 0x06 /* Public */, 4, 1, 52, 2, 0x06 /* Public */, 6, 1, 55, 2, 0x06 /* Public */, 8, 1, 58, 2, 0x06 /* Public */, 10, 1, 61, 2, 0x06 /* Public */, 12, 1, 64, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 14, 1, 67, 2, 0x08 /* Private */, // signals: parameters QMetaType::Void, QMetaType::Float, 3, QMetaType::Void, QMetaType::Float, 5, QMetaType::Void, QMetaType::Float, 7, QMetaType::Void, QMetaType::UInt, 9, QMetaType::Void, QMetaType::Float, 11, QMetaType::Void, QMetaType::Float, 13, // slots: parameters QMetaType::Void, 0x80000000 | 15, 16, // properties: name, type, flags 17, QMetaType::Float, 0x00495003, 18, QMetaType::Float, 0x00495003, 19, QMetaType::Float, 0x00495003, 20, QMetaType::UInt, 0x00495003, 21, QMetaType::Float, 0x00495003, 22, QMetaType::Float, 0x00495003, // properties: notify_signal_id 0, 1, 2, 3, 4, 5, 0 // eod }; void View::VDGROPump::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->pressureChanged((*reinterpret_cast< const float(*)>(_a[1]))); break; case 1: _t->flowRateChanged((*reinterpret_cast< const float(*)>(_a[1]))); break; case 2: _t->pwmChanged((*reinterpret_cast< const float(*)>(_a[1]))); break; case 3: _t->stateChanged((*reinterpret_cast< const quint32(*)>(_a[1]))); break; case 4: _t->tgtFlowRateChanged((*reinterpret_cast< const float(*)>(_a[1]))); break; case 5: _t->fbPWMChanged((*reinterpret_cast< const float(*)>(_a[1]))); break; case 6: _t->onActionReceive((*reinterpret_cast< const DGROPumpData(*)>(_a[1]))); break; default: ; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _t = void (VDGROPump::*)(const float & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VDGROPump::pressureChanged)) { *result = 0; return; } } { using _t = void (VDGROPump::*)(const float & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VDGROPump::flowRateChanged)) { *result = 1; return; } } { using _t = void (VDGROPump::*)(const float & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VDGROPump::pwmChanged)) { *result = 2; return; } } { using _t = void (VDGROPump::*)(const quint32 & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VDGROPump::stateChanged)) { *result = 3; return; } } { using _t = void (VDGROPump::*)(const float & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VDGROPump::tgtFlowRateChanged)) { *result = 4; return; } } { using _t = void (VDGROPump::*)(const float & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VDGROPump::fbPWMChanged)) { *result = 5; return; } } } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty) { auto *_t = static_cast(_o); (void)_t; void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< float*>(_v) = _t->pressure(); break; case 1: *reinterpret_cast< float*>(_v) = _t->flowRate(); break; case 2: *reinterpret_cast< float*>(_v) = _t->pwm(); break; case 3: *reinterpret_cast< quint32*>(_v) = _t->state(); break; case 4: *reinterpret_cast< float*>(_v) = _t->tgtFlowRate(); break; case 5: *reinterpret_cast< float*>(_v) = _t->fbPWM(); break; default: break; } } else if (_c == QMetaObject::WriteProperty) { auto *_t = static_cast(_o); (void)_t; void *_v = _a[0]; switch (_id) { case 0: _t->pressure(*reinterpret_cast< float*>(_v)); break; case 1: _t->flowRate(*reinterpret_cast< float*>(_v)); break; case 2: _t->pwm(*reinterpret_cast< float*>(_v)); break; case 3: _t->state(*reinterpret_cast< quint32*>(_v)); break; case 4: _t->tgtFlowRate(*reinterpret_cast< float*>(_v)); break; case 5: _t->fbPWM(*reinterpret_cast< float*>(_v)); break; default: break; } } else if (_c == QMetaObject::ResetProperty) { } #endif // QT_NO_PROPERTIES } QT_INIT_METAOBJECT const QMetaObject View::VDGROPump::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_View__VDGROPump.data, qt_meta_data_View__VDGROPump, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *View::VDGROPump::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *View::VDGROPump::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_View__VDGROPump.stringdata0)) return static_cast(this); return QObject::qt_metacast(_clname); } int View::VDGROPump::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 < 7) qt_static_metacall(this, _c, _id, _a); _id -= 7; } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 7) *reinterpret_cast(_a[0]) = -1; _id -= 7; } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { qt_static_metacall(this, _c, _id, _a); _id -= 6; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 6; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 6; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 6; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 6; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 6; } #endif // QT_NO_PROPERTIES return _id; } // SIGNAL 0 void View::VDGROPump::pressureChanged(const float & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } // SIGNAL 1 void View::VDGROPump::flowRateChanged(const float & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } // SIGNAL 2 void View::VDGROPump::pwmChanged(const float & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 2, _a); } // SIGNAL 3 void View::VDGROPump::stateChanged(const quint32 & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 3, _a); } // SIGNAL 4 void View::VDGROPump::tgtFlowRateChanged(const float & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 4, _a); } // SIGNAL 5 void View::VDGROPump::fbPWMChanged(const float & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 5, _a); } QT_WARNING_POP QT_END_MOC_NAMESPACE