/**************************************************************************** ** Meta object code from reading C++ file 'smartchargingmanager.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/smartchargingmanager.h" #include #include #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'smartchargingmanager.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_ZN20SmartChargingManagerE_t {}; } // unnamed namespace #ifdef QT_MOC_HAS_STRINGDATA static constexpr auto qt_meta_stringdata_ZN20SmartChargingManagerE = QtMocHelpers::stringData( "SmartChargingManager", "phasePowerLimitChanged", "", "phasePowerLimit", "acquisitionToleranceChanged", "acquisitionTolerance", "batteryLevelConsiderationChanged", "batteryLevelConsideration", "lockOnUnplugChanged", "lockOnUnplug", "chargingInfoAdded", "ChargingInfo", "chargingInfo", "chargingInfoRemoved", "ThingId", "evChargerThingId", "chargingInfoChanged", "chargingSchedulesChanged", "update", "currentDateTime", "prepareInformation", "planSpotMarketCharging", "planSurplusCharging", "adjustEvChargers", "updateManualSoCsWithMeter", "EnergyLogs::SampleRate", "sampleRate", "ThingPowerLogEntry", "entry", "updateManualSoCsWithoutMeter", "verifyOverloadProtection", "verifyOverloadProtectionRecovery", "onThingAdded", "Thing*", "thing", "onThingRemoved", "thingId", "onActionExecuted", "Action", "action", "Thing::ThingError", "status", "onChargingModeChanged", "evChargerId" ); #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_ZN20SmartChargingManagerE[] = { // content: 12, // revision 0, // classname 0, 0, // classinfo 21, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 8, // signalCount // signals: name, argc, parameters, tag, flags, initial metatype offsets 1, 1, 140, 2, 0x06, 1 /* Public */, 4, 1, 143, 2, 0x06, 3 /* Public */, 6, 1, 146, 2, 0x06, 5 /* Public */, 8, 1, 149, 2, 0x06, 7 /* Public */, 10, 1, 152, 2, 0x06, 9 /* Public */, 13, 1, 155, 2, 0x06, 11 /* Public */, 16, 1, 158, 2, 0x06, 13 /* Public */, 17, 0, 161, 2, 0x06, 15 /* Public */, // slots: name, argc, parameters, tag, flags, initial metatype offsets 18, 1, 162, 2, 0x08, 16 /* Private */, 20, 1, 165, 2, 0x08, 18 /* Private */, 21, 1, 168, 2, 0x08, 20 /* Private */, 22, 1, 171, 2, 0x08, 22 /* Private */, 23, 1, 174, 2, 0x08, 24 /* Private */, 24, 2, 177, 2, 0x08, 26 /* Private */, 29, 1, 182, 2, 0x08, 29 /* Private */, 30, 1, 185, 2, 0x08, 31 /* Private */, 31, 1, 188, 2, 0x08, 33 /* Private */, 32, 1, 191, 2, 0x08, 35 /* Private */, 35, 1, 194, 2, 0x08, 37 /* Private */, 37, 2, 197, 2, 0x08, 39 /* Private */, 42, 2, 202, 2, 0x08, 42 /* Private */, // signals: parameters QMetaType::Void, QMetaType::Int, 3, QMetaType::Void, QMetaType::Double, 5, QMetaType::Void, QMetaType::Double, 7, QMetaType::Void, QMetaType::Bool, 9, QMetaType::Void, 0x80000000 | 11, 12, QMetaType::Void, 0x80000000 | 14, 15, QMetaType::Void, 0x80000000 | 11, 12, QMetaType::Void, // slots: parameters QMetaType::Void, QMetaType::QDateTime, 19, QMetaType::Void, QMetaType::QDateTime, 19, QMetaType::Void, QMetaType::QDateTime, 19, QMetaType::Void, QMetaType::QDateTime, 19, QMetaType::Void, QMetaType::QDateTime, 19, QMetaType::Void, 0x80000000 | 25, 0x80000000 | 27, 26, 28, QMetaType::Void, QMetaType::QDateTime, 19, QMetaType::Void, QMetaType::QDateTime, 19, QMetaType::Void, QMetaType::QDateTime, 19, QMetaType::Void, 0x80000000 | 33, 34, QMetaType::Void, 0x80000000 | 14, 36, QMetaType::Void, 0x80000000 | 38, 0x80000000 | 40, 39, 41, QMetaType::Void, 0x80000000 | 14, 0x80000000 | 11, 43, 12, 0 // eod }; Q_CONSTINIT const QMetaObject SmartChargingManager::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_ZN20SmartChargingManagerE.offsetsAndSizes, qt_meta_data_ZN20SmartChargingManagerE, qt_static_metacall, nullptr, qt_incomplete_metaTypeArray, // method 'phasePowerLimitChanged' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'acquisitionToleranceChanged' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'batteryLevelConsiderationChanged' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'lockOnUnplugChanged' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'chargingInfoAdded' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'chargingInfoRemoved' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'chargingInfoChanged' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'chargingSchedulesChanged' QtPrivate::TypeAndForceComplete, // method 'update' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'prepareInformation' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'planSpotMarketCharging' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'planSurplusCharging' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'adjustEvChargers' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'updateManualSoCsWithMeter' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'updateManualSoCsWithoutMeter' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'verifyOverloadProtection' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'verifyOverloadProtectionRecovery' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'onThingAdded' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'onThingRemoved' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'onActionExecuted' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'onChargingModeChanged' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete >, nullptr } }; void SmartChargingManager::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->phasePowerLimitChanged((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 1: _t->acquisitionToleranceChanged((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 2: _t->batteryLevelConsiderationChanged((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 3: _t->lockOnUnplugChanged((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 4: _t->chargingInfoAdded((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 5: _t->chargingInfoRemoved((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 6: _t->chargingInfoChanged((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 7: _t->chargingSchedulesChanged(); break; case 8: _t->update((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 9: _t->prepareInformation((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 10: _t->planSpotMarketCharging((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 11: _t->planSurplusCharging((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 12: _t->adjustEvChargers((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 13: _t->updateManualSoCsWithMeter((*reinterpret_cast< std::add_pointer_t>(_a[1])),(*reinterpret_cast< std::add_pointer_t>(_a[2]))); break; case 14: _t->updateManualSoCsWithoutMeter((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 15: _t->verifyOverloadProtection((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 16: _t->verifyOverloadProtectionRecovery((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 17: _t->onThingAdded((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 18: _t->onThingRemoved((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; case 19: _t->onActionExecuted((*reinterpret_cast< std::add_pointer_t>(_a[1])),(*reinterpret_cast< std::add_pointer_t>(_a[2]))); break; case 20: _t->onChargingModeChanged((*reinterpret_cast< std::add_pointer_t>(_a[1])),(*reinterpret_cast< std::add_pointer_t>(_a[2]))); break; default: ; } } if (_c == QMetaObject::RegisterMethodArgumentMetaType) { switch (_id) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 5: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 0: *reinterpret_cast(_a[0]) = QMetaType::fromType< ThingId >(); break; } break; case 13: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 1: *reinterpret_cast(_a[0]) = QMetaType::fromType< ThingPowerLogEntry >(); break; } break; case 17: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 0: *reinterpret_cast(_a[0]) = QMetaType::fromType< Thing* >(); break; } break; case 18: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 0: *reinterpret_cast(_a[0]) = QMetaType::fromType< ThingId >(); break; } break; case 19: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 1: *reinterpret_cast(_a[0]) = QMetaType::fromType< Thing::ThingError >(); break; } break; case 20: switch (*reinterpret_cast(_a[1])) { default: *reinterpret_cast(_a[0]) = QMetaType(); break; case 0: *reinterpret_cast(_a[0]) = QMetaType::fromType< ThingId >(); break; } break; } } if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _q_method_type = void (SmartChargingManager::*)(int ); if (_q_method_type _q_method = &SmartChargingManager::phasePowerLimitChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 0; return; } } { using _q_method_type = void (SmartChargingManager::*)(double ); if (_q_method_type _q_method = &SmartChargingManager::acquisitionToleranceChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 1; return; } } { using _q_method_type = void (SmartChargingManager::*)(double ); if (_q_method_type _q_method = &SmartChargingManager::batteryLevelConsiderationChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 2; return; } } { using _q_method_type = void (SmartChargingManager::*)(bool ); if (_q_method_type _q_method = &SmartChargingManager::lockOnUnplugChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 3; return; } } { using _q_method_type = void (SmartChargingManager::*)(const ChargingInfo & ); if (_q_method_type _q_method = &SmartChargingManager::chargingInfoAdded; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 4; return; } } { using _q_method_type = void (SmartChargingManager::*)(const ThingId & ); if (_q_method_type _q_method = &SmartChargingManager::chargingInfoRemoved; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 5; return; } } { using _q_method_type = void (SmartChargingManager::*)(const ChargingInfo & ); if (_q_method_type _q_method = &SmartChargingManager::chargingInfoChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 6; return; } } { using _q_method_type = void (SmartChargingManager::*)(); if (_q_method_type _q_method = &SmartChargingManager::chargingSchedulesChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) { *result = 7; return; } } } } const QMetaObject *SmartChargingManager::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *SmartChargingManager::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_ZN20SmartChargingManagerE.stringdata0)) return static_cast(this); return QObject::qt_metacast(_clname); } int SmartChargingManager::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 < 21) qt_static_metacall(this, _c, _id, _a); _id -= 21; } if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 21) qt_static_metacall(this, _c, _id, _a); _id -= 21; } return _id; } // SIGNAL 0 void SmartChargingManager::phasePowerLimitChanged(int _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 0, _a); } // SIGNAL 1 void SmartChargingManager::acquisitionToleranceChanged(double _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } // SIGNAL 2 void SmartChargingManager::batteryLevelConsiderationChanged(double _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 2, _a); } // SIGNAL 3 void SmartChargingManager::lockOnUnplugChanged(bool _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 3, _a); } // SIGNAL 4 void SmartChargingManager::chargingInfoAdded(const ChargingInfo & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 4, _a); } // SIGNAL 5 void SmartChargingManager::chargingInfoRemoved(const ThingId & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 5, _a); } // SIGNAL 6 void SmartChargingManager::chargingInfoChanged(const ChargingInfo & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 6, _a); } // SIGNAL 7 void SmartChargingManager::chargingSchedulesChanged() { QMetaObject::activate(this, &staticMetaObject, 7, nullptr); } QT_WARNING_POP