247 lines
10 KiB
C++
247 lines
10 KiB
C++
/****************************************************************************
|
|
** Meta object code from reading C++ file 'InsightSignals.hpp'
|
|
**
|
|
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.10.0)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
*****************************************************************************/
|
|
|
|
#include "../../src/Insight/InsightSignals.hpp"
|
|
#include <QtCore/qmetatype.h>
|
|
#include <QtCore/QSharedPointer>
|
|
|
|
#include <QtCore/qtmochelpers.h>
|
|
|
|
#include <memory>
|
|
|
|
|
|
#include <QtCore/qxptype_traits.h>
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'InsightSignals.hpp' doesn't include <QObject>."
|
|
#elif Q_MOC_OUTPUT_REVISION != 69
|
|
#error "This file was generated using the moc from 6.10.0. 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_ZN14InsightSignalsE_t {};
|
|
} // unnamed namespace
|
|
|
|
template <> constexpr inline auto InsightSignals::qt_create_metaobjectdata<qt_meta_tag_ZN14InsightSignalsE_t>()
|
|
{
|
|
namespace QMC = QtMocConstants;
|
|
QtMocHelpers::StringRefStorage qt_stringData {
|
|
"InsightSignals",
|
|
"taskQueued",
|
|
"",
|
|
"QSharedPointer<InsightWorkerTask>",
|
|
"task",
|
|
"taskProcessed",
|
|
"targetStateUpdated",
|
|
"Targets::TargetState",
|
|
"newState",
|
|
"previousState",
|
|
"targetReset",
|
|
"targetRegistersWritten",
|
|
"Targets::TargetRegisterDescriptorAndValuePairs",
|
|
"targetRegisters",
|
|
"timestamp",
|
|
"targetMemoryWritten",
|
|
"Targets::TargetAddressSpaceDescriptor",
|
|
"addressSpaceDescriptor",
|
|
"Targets::TargetMemorySegmentDescriptor",
|
|
"memorySegmentDescriptor",
|
|
"Targets::TargetMemoryAddressRange",
|
|
"addressRange",
|
|
"programmingModeEnabled",
|
|
"programmingModeDisabled"
|
|
};
|
|
|
|
QtMocHelpers::UintData qt_methods {
|
|
// Signal 'taskQueued'
|
|
QtMocHelpers::SignalData<void(QSharedPointer<InsightWorkerTask>)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ 0x80000000 | 3, 4 },
|
|
}}),
|
|
// Signal 'taskProcessed'
|
|
QtMocHelpers::SignalData<void(QSharedPointer<InsightWorkerTask>)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ 0x80000000 | 3, 4 },
|
|
}}),
|
|
// Signal 'targetStateUpdated'
|
|
QtMocHelpers::SignalData<void(Targets::TargetState, Targets::TargetState)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ 0x80000000 | 7, 8 }, { 0x80000000 | 7, 9 },
|
|
}}),
|
|
// Signal 'targetReset'
|
|
QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
|
|
// Signal 'targetRegistersWritten'
|
|
QtMocHelpers::SignalData<void(const Targets::TargetRegisterDescriptorAndValuePairs &, const QDateTime &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ 0x80000000 | 12, 13 }, { QMetaType::QDateTime, 14 },
|
|
}}),
|
|
// Signal 'targetMemoryWritten'
|
|
QtMocHelpers::SignalData<void(const Targets::TargetAddressSpaceDescriptor &, const Targets::TargetMemorySegmentDescriptor &, Targets::TargetMemoryAddressRange)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
|
|
{ 0x80000000 | 16, 17 }, { 0x80000000 | 18, 19 }, { 0x80000000 | 20, 21 },
|
|
}}),
|
|
// Signal 'programmingModeEnabled'
|
|
QtMocHelpers::SignalData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
|
|
// Signal 'programmingModeDisabled'
|
|
QtMocHelpers::SignalData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
|
|
};
|
|
QtMocHelpers::UintData qt_properties {
|
|
};
|
|
QtMocHelpers::UintData qt_enums {
|
|
};
|
|
return QtMocHelpers::metaObjectData<InsightSignals, qt_meta_tag_ZN14InsightSignalsE_t>(QMC::MetaObjectFlag{}, qt_stringData,
|
|
qt_methods, qt_properties, qt_enums);
|
|
}
|
|
Q_CONSTINIT const QMetaObject InsightSignals::staticMetaObject = { {
|
|
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14InsightSignalsE_t>.stringdata,
|
|
qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14InsightSignalsE_t>.data,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14InsightSignalsE_t>.metaTypes,
|
|
nullptr
|
|
} };
|
|
|
|
void InsightSignals::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
auto *_t = static_cast<InsightSignals *>(_o);
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
switch (_id) {
|
|
case 0: _t->taskQueued((*reinterpret_cast<std::add_pointer_t<QSharedPointer<InsightWorkerTask>>>(_a[1]))); break;
|
|
case 1: _t->taskProcessed((*reinterpret_cast<std::add_pointer_t<QSharedPointer<InsightWorkerTask>>>(_a[1]))); break;
|
|
case 2: _t->targetStateUpdated((*reinterpret_cast<std::add_pointer_t<Targets::TargetState>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Targets::TargetState>>(_a[2]))); break;
|
|
case 3: _t->targetReset(); break;
|
|
case 4: _t->targetRegistersWritten((*reinterpret_cast<std::add_pointer_t<Targets::TargetRegisterDescriptorAndValuePairs>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QDateTime>>(_a[2]))); break;
|
|
case 5: _t->targetMemoryWritten((*reinterpret_cast<std::add_pointer_t<Targets::TargetAddressSpaceDescriptor>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Targets::TargetMemorySegmentDescriptor>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<Targets::TargetMemoryAddressRange>>(_a[3]))); break;
|
|
case 6: _t->programmingModeEnabled(); break;
|
|
case 7: _t->programmingModeDisabled(); break;
|
|
default: ;
|
|
}
|
|
}
|
|
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
switch (_id) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 0:
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 0:
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QSharedPointer<InsightWorkerTask> >(); break;
|
|
}
|
|
break;
|
|
case 1:
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
|
case 0:
|
|
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QSharedPointer<InsightWorkerTask> >(); break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
if (_c == QMetaObject::IndexOfMethod) {
|
|
if (QtMocHelpers::indexOfMethod<void (InsightSignals::*)(QSharedPointer<InsightWorkerTask> )>(_a, &InsightSignals::taskQueued, 0))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (InsightSignals::*)(QSharedPointer<InsightWorkerTask> )>(_a, &InsightSignals::taskProcessed, 1))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (InsightSignals::*)(Targets::TargetState , Targets::TargetState )>(_a, &InsightSignals::targetStateUpdated, 2))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (InsightSignals::*)()>(_a, &InsightSignals::targetReset, 3))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (InsightSignals::*)(const Targets::TargetRegisterDescriptorAndValuePairs & , const QDateTime & )>(_a, &InsightSignals::targetRegistersWritten, 4))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (InsightSignals::*)(const Targets::TargetAddressSpaceDescriptor & , const Targets::TargetMemorySegmentDescriptor & , Targets::TargetMemoryAddressRange )>(_a, &InsightSignals::targetMemoryWritten, 5))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (InsightSignals::*)()>(_a, &InsightSignals::programmingModeEnabled, 6))
|
|
return;
|
|
if (QtMocHelpers::indexOfMethod<void (InsightSignals::*)()>(_a, &InsightSignals::programmingModeDisabled, 7))
|
|
return;
|
|
}
|
|
}
|
|
|
|
const QMetaObject *InsightSignals::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *InsightSignals::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return nullptr;
|
|
if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14InsightSignalsE_t>.strings))
|
|
return static_cast<void*>(this);
|
|
return QObject::qt_metacast(_clname);
|
|
}
|
|
|
|
int InsightSignals::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;
|
|
}
|
|
if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
if (_id < 8)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 8;
|
|
}
|
|
return _id;
|
|
}
|
|
|
|
// SIGNAL 0
|
|
void InsightSignals::taskQueued(QSharedPointer<InsightWorkerTask> _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 1
|
|
void InsightSignals::taskProcessed(QSharedPointer<InsightWorkerTask> _t1)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
|
|
}
|
|
|
|
// SIGNAL 2
|
|
void InsightSignals::targetStateUpdated(Targets::TargetState _t1, Targets::TargetState _t2)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
|
|
}
|
|
|
|
// SIGNAL 3
|
|
void InsightSignals::targetReset()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
|
|
}
|
|
|
|
// SIGNAL 4
|
|
void InsightSignals::targetRegistersWritten(const Targets::TargetRegisterDescriptorAndValuePairs & _t1, const QDateTime & _t2)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
|
|
}
|
|
|
|
// SIGNAL 5
|
|
void InsightSignals::targetMemoryWritten(const Targets::TargetAddressSpaceDescriptor & _t1, const Targets::TargetMemorySegmentDescriptor & _t2, Targets::TargetMemoryAddressRange _t3)
|
|
{
|
|
QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2, _t3);
|
|
}
|
|
|
|
// SIGNAL 6
|
|
void InsightSignals::programmingModeEnabled()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
|
|
}
|
|
|
|
// SIGNAL 7
|
|
void InsightSignals::programmingModeDisabled()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
|
|
}
|
|
QT_WARNING_POP
|