/**************************************************************************** ** Meta object code from reading C++ file 'schedulermanager.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 "../../energyplugin/schedulermanager.h" #include #include #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'schedulermanager.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_ZN16SchedulerManagerE_t {}; } // unnamed namespace #ifdef QT_MOC_HAS_STRINGDATA static constexpr auto qt_meta_stringdata_ZN16SchedulerManagerE = QtMocHelpers::stringData( "SchedulerManager", "timelineUpdated", "", "QList", "timeline", "slotExecuted", "EnergyTimeSlot", "slot", "success", "strategyChanged", "strategyId", "loadRegistered", "FlexibleLoad", "load", "loadUpdated", "configChanged", "SchedulerConfig", "config", "manualSlotsChanged", "onRecomputeTimer", "onSlotExecutionTimer" ); #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_ZN16SchedulerManagerE[] = { // content: 12, // revision 0, // classname 0, 0, // classinfo 9, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 7, // signalCount // signals: name, argc, parameters, tag, flags, initial metatype offsets 1, 1, 68, 2, 0x06, 1 /* Public */, 5, 2, 71, 2, 0x06, 3 /* Public */, 9, 1, 76, 2, 0x06, 6 /* Public */, 11, 1, 79, 2, 0x06, 8 /* Public */, 14, 1, 82, 2, 0x06, 10 /* Public */, 15, 1, 85, 2, 0x06, 12 /* Public */, 18, 0, 88, 2, 0x06, 14 /* Public */, // slots: name, argc, parameters, tag, flags, initial metatype offsets 19, 0, 89, 2, 0x08, 15 /* Private */, 20, 0, 90, 2, 0x08, 16 /* Private */, // signals: parameters QMetaType::Void, 0x80000000 | 3, 4, QMetaType::Void, 0x80000000 | 6, QMetaType::Bool, 7, 8, QMetaType::Void, QMetaType::QString, 10, QMetaType::Void, 0x80000000 | 12, 13, QMetaType::Void, 0x80000000 | 12, 13, QMetaType::Void, 0x80000000 | 16, 17, QMetaType::Void, // slots: parameters QMetaType::Void, QMetaType::Void, 0 // eod }; Q_CONSTINIT const QMetaObject SchedulerManager::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_ZN16SchedulerManagerE.offsetsAndSizes, qt_meta_data_ZN16SchedulerManagerE, qt_static_metacall, nullptr, qt_incomplete_metaTypeArray, // method 'timelineUpdated' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete &, std::false_type>, // method 'slotExecuted' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'strategyChanged' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'loadRegistered' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'loadUpdated' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'configChanged' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'manualSlotsChanged' QtPrivate::TypeAndForceComplete, // method 'onRecomputeTimer' QtPrivate::TypeAndForceComplete, // method 'onSlotExecutionTimer' QtPrivate::TypeAndForceComplete >, nullptr } }; void SchedulerManager::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->timelineUpdated((*reinterpret_cast< std::add_pointer_t>>(_a[1]))); break; case 1: _t->slotExecuted((*reinterpret_cast< std::add_pointer_t>(_a[1])),(*reinterpret_cast< std::add_pointer_t>(_a[2]))); break; case 2: _t->strategyChanged((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 3: _t->loadRegistered((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 4: _t->loadUpdated((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 5: _t->configChanged((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 6: _t->manualSlotsChanged(); break; case 7: _t->onRecomputeTimer(); break; case 8: _t->onSlotExecutionTimer(); break; default: ; } } if (_c == QMetaObject::RegisterMethodArgumentMetaType) { switch (_id) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 0: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 0: *reinterpret_cast(_a[0]) = QMetaType::fromType< QList >(); break; } break; case 1: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 0: *reinterpret_cast(_a[0]) = QMetaType::fromType< EnergyTimeSlot >(); break; } break; case 3: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 0: *reinterpret_cast(_a[0]) = QMetaType::fromType< FlexibleLoad >(); break; } break; case 4: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 0: *reinterpret_cast(_a[0]) = QMetaType::fromType< FlexibleLoad >(); break; } break; } } if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _q_method_type = void (SchedulerManager::*)(const QList & ); if (_q_method_type _q_method = &SchedulerManager::timelineUpdated; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 0; return; } } { using _q_method_type = void (SchedulerManager::*)(const EnergyTimeSlot & , bool ); if (_q_method_type _q_method = &SchedulerManager::slotExecuted; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 1; return; } } { using _q_method_type = void (SchedulerManager::*)(const QString & ); if (_q_method_type _q_method = &SchedulerManager::strategyChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 2; return; } } { using _q_method_type = void (SchedulerManager::*)(const FlexibleLoad & ); if (_q_method_type _q_method = &SchedulerManager::loadRegistered; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 3; return; } } { using _q_method_type = void (SchedulerManager::*)(const FlexibleLoad & ); if (_q_method_type _q_method = &SchedulerManager::loadUpdated; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 4; return; } } { using _q_method_type = void (SchedulerManager::*)(const SchedulerConfig & ); if (_q_method_type _q_method = &SchedulerManager::configChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 5; return; } } { using _q_method_type = void (SchedulerManager::*)(); if (_q_method_type _q_method = &SchedulerManager::manualSlotsChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 6; return; } } } } const QMetaObject *SchedulerManager::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *SchedulerManager::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_ZN16SchedulerManagerE.stringdata0)) return static_cast(this); return QObject::qt_metacast(_clname); } int SchedulerManager::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 < 9) qt_static_metacall(this, _c, _id, _a); _id -= 9; } if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 9) qt_static_metacall(this, _c, _id, _a); _id -= 9; } return _id; } // SIGNAL 0 void SchedulerManager::timelineUpdated(const QList & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } // SIGNAL 1 void SchedulerManager::slotExecuted(const EnergyTimeSlot & _t1, bool _t2) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))), const_cast(reinterpret_cast(std::addressof(_t2))) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } // SIGNAL 2 void SchedulerManager::strategyChanged(const QString & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 2, _a); } // SIGNAL 3 void SchedulerManager::loadRegistered(const FlexibleLoad & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 3, _a); } // SIGNAL 4 void SchedulerManager::loadUpdated(const FlexibleLoad & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 4, _a); } // SIGNAL 5 void SchedulerManager::configChanged(const SchedulerConfig & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 5, _a); } // SIGNAL 6 void SchedulerManager::manualSlotsChanged() { QMetaObject::activate(this, &staticMetaObject, 6, nullptr); } QT_WARNING_POP