@ -0,0 +1,15 @@
|
||||
{
|
||||
"coverage": "覆盖范围: 3.4%",
|
||||
"coveragePathData": "[{\"pathColor\":\"#E53935\",\"circleColor\":\"#1E88E5\",\"radius\":80.00,\"path\":[[113.551903,28.578503],[113.552477,28.578503],[113.553052,28.578503],[113.553626,28.578503],[113.554201,28.578503],[113.554775,28.578503],[113.555350,28.578503],[113.555924,28.578503],[113.556499,28.578503],[113.557073,28.578503],[113.557648,28.578503],[113.558097,28.578503],[113.558097,28.579007],[113.557648,28.579007],[113.557073,28.579007],[113.556499,28.579007],[113.555924,28.579007],[113.555350,28.579007],[113.554775,28.579007],[113.554201,28.579007],[113.553626,28.579007],[113.553052,28.579007],[113.552477,28.579007],[113.551903,28.579007],[113.551903,28.579512],[113.552477,28.579512],[113.553052,28.579512],[113.553626,28.579512],[113.554201,28.579512],[113.554775,28.579512],[113.555350,28.579512],[113.555924,28.579512],[113.556499,28.579512],[113.557073,28.579512],[113.557648,28.579512],[113.558097,28.579512],[113.558097,28.580016],[113.557648,28.580016],[113.557073,28.580016],[113.556499,28.580016],[113.555924,28.580016],[113.555350,28.580016],[113.554775,28.580016],[113.554201,28.580016],[113.553626,28.580016],[113.553052,28.580016],[113.552477,28.580016],[113.551903,28.580016],[113.551903,28.580521],[113.552477,28.580521],[113.553052,28.580521],[113.553626,28.580521],[113.554201,28.580521],[113.554775,28.580521],[113.555350,28.580521],[113.555924,28.580521],[113.556499,28.580521],[113.557073,28.580521],[113.557648,28.580521],[113.558097,28.580521],[113.558097,28.581025],[113.557648,28.581025],[113.557073,28.581025],[113.556499,28.581025],[113.555924,28.581025],[113.555350,28.581025],[113.554775,28.581025],[113.554201,28.581025],[113.553626,28.581025],[113.553052,28.581025],[113.552477,28.581025],[113.551903,28.581025],[113.551903,28.581530],[113.552477,28.581530],[113.553052,28.581530],[113.553626,28.581530],[113.554201,28.581530],[113.554775,28.581530],[113.555350,28.581530],[113.555924,28.581530],[113.556499,28.581530],[113.557073,28.581530],[113.557648,28.581530],[113.558097,28.581530],[113.558097,28.582034],[113.557648,28.582034],[113.557073,28.582034],[113.556499,28.582034],[113.555924,28.582034],[113.555350,28.582034],[113.554775,28.582034],[113.554201,28.582034],[113.553626,28.582034],[113.553052,28.582034],[113.552477,28.582034],[113.551903,28.582034],[113.551903,28.582539],[113.552477,28.582539],[113.553052,28.582539],[113.553626,28.582539],[113.554201,28.582539],[113.554775,28.582539],[113.555350,28.582539],[113.555924,28.582539],[113.556499,28.582539],[113.557073,28.582539],[113.557648,28.582539],[113.558097,28.582539],[113.558097,28.583043],[113.557648,28.583043],[113.557073,28.583043],[113.556499,28.583043],[113.555924,28.583043],[113.555350,28.583043],[113.554775,28.583043],[113.554201,28.583043],[113.553626,28.583043],[113.553052,28.583043],[113.552477,28.583043],[113.551903,28.583043],[113.551903,28.583548],[113.552477,28.583548],[113.553052,28.583548],[113.553626,28.583548],[113.554201,28.583548],[113.554775,28.583548],[113.555350,28.583548],[113.555924,28.583548],[113.556499,28.583548],[113.557073,28.583548],[113.557648,28.583548],[113.558097,28.583548],[113.558097,28.584052],[113.557648,28.584052],[113.557073,28.584052],[113.556499,28.584052],[113.555924,28.584052],[113.555350,28.584052],[113.554775,28.584052],[113.554201,28.584052],[113.553626,28.584052],[113.553052,28.584052],[113.552477,28.584052],[113.551903,28.584052],[113.551903,28.584557],[113.552477,28.584557],[113.553052,28.584557],[113.553626,28.584557],[113.554201,28.584557],[113.554775,28.584557],[113.555350,28.584557],[113.555924,28.584557],[113.556499,28.584557],[113.557073,28.584557],[113.557648,28.584557],[113.558097,28.584557],[113.558097,28.584697],[113.557648,28.584697],[113.557073,28.584697],[113.556499,28.584697],[113.555924,28.584697],[113.555350,28.584697],[113.554775,28.584697],[113.554201,28.584697],[113.553626,28.584697],[113.553052,28.584697],[113.552477,28.584697],[113.551903,28.584697]]}]",
|
||||
"droneCount": 1,
|
||||
"searchTime": "预计搜索时间: 10.2min",
|
||||
"tableData": [
|
||||
{
|
||||
"coverage": "100.0%",
|
||||
"droneId": "Drone 1",
|
||||
"path": "覆盖路径 (168个点)",
|
||||
"time": "10.2min"
|
||||
}
|
||||
],
|
||||
"timestamp": "2025-10-23 10:20:01"
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
{
|
||||
"coverage": "覆盖范围: 4.5%",
|
||||
"coveragePathData": "[{\"pathColor\":\"#E53935\",\"circleColor\":\"#1E88E5\",\"radius\":80.00,\"path\":[[113.618000,28.565700],[113.618718,28.565700],[113.619436,28.565700],[113.620154,28.565700],[113.620872,28.565700],[113.621590,28.565700],[113.622308,28.565700],[113.623026,28.565700],[113.623744,28.565700],[113.624463,28.565700],[113.625181,28.565700],[113.625899,28.565700],[113.626617,28.565700],[113.627000,28.565700],[113.627000,28.566331],[113.626617,28.566331],[113.625899,28.566331],[113.625181,28.566331],[113.624463,28.566331],[113.623744,28.566331],[113.623026,28.566331],[113.622308,28.566331],[113.621590,28.566331],[113.620872,28.566331],[113.620154,28.566331],[113.619436,28.566331],[113.618718,28.566331],[113.618000,28.566331],[113.618000,28.566961],[113.618718,28.566961],[113.619436,28.566961],[113.620154,28.566961],[113.620872,28.566961],[113.621590,28.566961],[113.622308,28.566961],[113.623026,28.566961],[113.623744,28.566961],[113.624463,28.566961],[113.625181,28.566961],[113.625899,28.566961],[113.626617,28.566961],[113.627000,28.566961],[113.620872,28.567592],[113.620154,28.567592],[113.619436,28.567592],[113.618718,28.567592],[113.618000,28.567592]]},{\"pathColor\":\"#1E88E5\",\"circleColor\":\"#8E24AA\",\"radius\":100.00,\"path\":[[113.621590,28.567592],[113.622308,28.567592],[113.623026,28.567592],[113.623744,28.567592],[113.624463,28.567592],[113.625181,28.567592],[113.625899,28.567592],[113.626617,28.567592],[113.627000,28.567592],[113.618000,28.568223],[113.618718,28.568223],[113.619436,28.568223],[113.620154,28.568223],[113.620872,28.568223],[113.620872,28.568853],[113.620154,28.568853],[113.619436,28.568853],[113.618718,28.568853],[113.618000,28.568853],[113.627000,28.568223],[113.626617,28.568223],[113.625899,28.568223],[113.625181,28.568223],[113.624463,28.568223],[113.623744,28.568223],[113.623026,28.568223],[113.622308,28.568223],[113.621590,28.568223],[113.621590,28.568853],[113.622308,28.568853],[113.623026,28.568853],[113.623744,28.568853],[113.624463,28.568853],[113.625181,28.568853],[113.625899,28.568853],[113.626617,28.568853],[113.627000,28.568853],[113.618000,28.569484],[113.618718,28.569484],[113.619436,28.569484],[113.620154,28.569484],[113.620872,28.569484],[113.624463,28.569484],[113.623744,28.569484],[113.623026,28.569484],[113.622308,28.569484],[113.621590,28.569484]]},{\"pathColor\":\"#8E24AA\",\"circleColor\":\"#F06292\",\"radius\":120.00,\"path\":[[113.625181,28.569484],[113.625899,28.569484],[113.626617,28.569484],[113.627000,28.569484],[113.618000,28.570114],[113.618718,28.570114],[113.619436,28.570114],[113.620154,28.570114],[113.620872,28.570114],[113.621590,28.570114],[113.622308,28.570114],[113.623026,28.570114],[113.623744,28.570114],[113.624463,28.570114],[113.624463,28.570745],[113.623744,28.570745],[113.623026,28.570745],[113.622308,28.570745],[113.621590,28.570745],[113.620872,28.570745],[113.620154,28.570745],[113.619436,28.570745],[113.618718,28.570745],[113.618000,28.570745],[113.627000,28.570114],[113.626617,28.570114],[113.625899,28.570114],[113.625181,28.570114],[113.625181,28.570745],[113.625899,28.570745],[113.626617,28.570745],[113.627000,28.570745],[113.618000,28.571000],[113.618718,28.571000],[113.619436,28.571000],[113.620154,28.571000],[113.620872,28.571000],[113.621590,28.571000],[113.622308,28.571000],[113.623026,28.571000],[113.623744,28.571000],[113.624463,28.571000],[113.627000,28.571000],[113.626617,28.571000],[113.625899,28.571000],[113.625181,28.571000]]}]",
|
||||
"droneCount": 3,
|
||||
"searchTime": "预计搜索时间: 6.5min",
|
||||
"tableData": [
|
||||
{
|
||||
"coverage": "21.0%",
|
||||
"droneId": "Drone 1",
|
||||
"path": "覆盖路径 (47个点)",
|
||||
"time": "4.1min"
|
||||
},
|
||||
{
|
||||
"coverage": "32.8%",
|
||||
"droneId": "Drone 2",
|
||||
"path": "覆盖路径 (47个点)",
|
||||
"time": "6.5min"
|
||||
},
|
||||
{
|
||||
"coverage": "46.2%",
|
||||
"droneId": "Drone 3",
|
||||
"path": "覆盖路径 (46个点)",
|
||||
"time": "6.3min"
|
||||
}
|
||||
],
|
||||
"timestamp": "2025-10-23 10:21:53"
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
[[113.477418, 28.502403],[113.375107, 28.461060]]
|
||||
@ -0,0 +1 @@
|
||||
[[113.477418, 28.502403],[113.375107, 28.461060]]
|
||||
@ -0,0 +1 @@
|
||||
[[113.477418, 28.502403],[113.375107, 28.461060]]
|
||||
@ -0,0 +1 @@
|
||||
[[113.324982, 28.489797],[113.331414, 28.471167],[113.341705, 28.460921],[113.350710, 28.456263],[113.361001, 28.453469],[113.373864, 28.453469],[113.388015, 28.458126],[113.426606, 28.474893]]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,403 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'targetdata.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.3)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../Src/models/targetdata.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'targetdata.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.3. 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_TargetData_t {
|
||||
QByteArrayData data[12];
|
||||
char stringdata0[141];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_TargetData_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_TargetData_t qt_meta_stringdata_TargetData = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10), // "TargetData"
|
||||
QT_MOC_LITERAL(1, 11, 13), // "statusChanged"
|
||||
QT_MOC_LITERAL(2, 25, 0), // ""
|
||||
QT_MOC_LITERAL(3, 26, 12), // "TargetStatus"
|
||||
QT_MOC_LITERAL(4, 39, 6), // "status"
|
||||
QT_MOC_LITERAL(5, 46, 15), // "priorityChanged"
|
||||
QT_MOC_LITERAL(6, 62, 8), // "priority"
|
||||
QT_MOC_LITERAL(7, 71, 19), // "strikeMethodChanged"
|
||||
QT_MOC_LITERAL(8, 91, 12), // "StrikeMethod"
|
||||
QT_MOC_LITERAL(9, 104, 6), // "method"
|
||||
QT_MOC_LITERAL(10, 111, 13), // "targetEngaged"
|
||||
QT_MOC_LITERAL(11, 125, 15) // "targetDestroyed"
|
||||
|
||||
},
|
||||
"TargetData\0statusChanged\0\0TargetStatus\0"
|
||||
"status\0priorityChanged\0priority\0"
|
||||
"strikeMethodChanged\0StrikeMethod\0"
|
||||
"method\0targetEngaged\0targetDestroyed"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_TargetData[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
5, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 39, 2, 0x06 /* Public */,
|
||||
5, 1, 42, 2, 0x06 /* Public */,
|
||||
7, 1, 45, 2, 0x06 /* Public */,
|
||||
10, 0, 48, 2, 0x06 /* Public */,
|
||||
11, 0, 49, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
QMetaType::Void, QMetaType::Int, 6,
|
||||
QMetaType::Void, 0x80000000 | 8, 9,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void TargetData::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<TargetData *>(_o);
|
||||
(void)_t;
|
||||
switch (_id) {
|
||||
case 0: _t->statusChanged((*reinterpret_cast< TargetStatus(*)>(_a[1]))); break;
|
||||
case 1: _t->priorityChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 2: _t->strikeMethodChanged((*reinterpret_cast< StrikeMethod(*)>(_a[1]))); break;
|
||||
case 3: _t->targetEngaged(); break;
|
||||
case 4: _t->targetDestroyed(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (TargetData::*)(TargetStatus );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetData::statusChanged)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TargetData::*)(int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetData::priorityChanged)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TargetData::*)(StrikeMethod );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetData::strikeMethodChanged)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TargetData::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetData::targetEngaged)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TargetData::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetData::targetDestroyed)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject TargetData::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_TargetData.data,
|
||||
qt_meta_data_TargetData,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *TargetData::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *TargetData::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_TargetData.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int TargetData::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 < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void TargetData::statusChanged(TargetStatus _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void TargetData::priorityChanged(int _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void TargetData::strikeMethodChanged(StrikeMethod _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void TargetData::targetEngaged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void TargetData::targetDestroyed()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
|
||||
}
|
||||
struct qt_meta_stringdata_TargetManager_t {
|
||||
QByteArrayData data[13];
|
||||
char stringdata0[169];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_TargetManager_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_TargetManager_t qt_meta_stringdata_TargetManager = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "TargetManager"
|
||||
QT_MOC_LITERAL(1, 14, 13), // "targetCreated"
|
||||
QT_MOC_LITERAL(2, 28, 0), // ""
|
||||
QT_MOC_LITERAL(3, 29, 8), // "targetId"
|
||||
QT_MOC_LITERAL(4, 38, 13), // "targetRemoved"
|
||||
QT_MOC_LITERAL(5, 52, 19), // "targetStatusChanged"
|
||||
QT_MOC_LITERAL(6, 72, 12), // "TargetStatus"
|
||||
QT_MOC_LITERAL(7, 85, 6), // "status"
|
||||
QT_MOC_LITERAL(8, 92, 21), // "targetPriorityChanged"
|
||||
QT_MOC_LITERAL(9, 114, 8), // "priority"
|
||||
QT_MOC_LITERAL(10, 123, 25), // "targetStrikeMethodChanged"
|
||||
QT_MOC_LITERAL(11, 149, 12), // "StrikeMethod"
|
||||
QT_MOC_LITERAL(12, 162, 6) // "method"
|
||||
|
||||
},
|
||||
"TargetManager\0targetCreated\0\0targetId\0"
|
||||
"targetRemoved\0targetStatusChanged\0"
|
||||
"TargetStatus\0status\0targetPriorityChanged\0"
|
||||
"priority\0targetStrikeMethodChanged\0"
|
||||
"StrikeMethod\0method"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_TargetManager[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
5, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 39, 2, 0x06 /* Public */,
|
||||
4, 1, 42, 2, 0x06 /* Public */,
|
||||
5, 2, 45, 2, 0x06 /* Public */,
|
||||
8, 2, 50, 2, 0x06 /* Public */,
|
||||
10, 2, 55, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, QMetaType::QString, 0x80000000 | 6, 3, 7,
|
||||
QMetaType::Void, QMetaType::QString, QMetaType::Int, 3, 9,
|
||||
QMetaType::Void, QMetaType::QString, 0x80000000 | 11, 3, 12,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void TargetManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<TargetManager *>(_o);
|
||||
(void)_t;
|
||||
switch (_id) {
|
||||
case 0: _t->targetCreated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 1: _t->targetRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 2: _t->targetStatusChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< TargetStatus(*)>(_a[2]))); break;
|
||||
case 3: _t->targetPriorityChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 4: _t->targetStrikeMethodChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< StrikeMethod(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (TargetManager::*)(const QString & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetManager::targetCreated)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TargetManager::*)(const QString & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetManager::targetRemoved)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TargetManager::*)(const QString & , TargetStatus );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetManager::targetStatusChanged)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TargetManager::*)(const QString & , int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetManager::targetPriorityChanged)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TargetManager::*)(const QString & , StrikeMethod );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetManager::targetStrikeMethodChanged)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject TargetManager::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_TargetManager.data,
|
||||
qt_meta_data_TargetManager,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *TargetManager::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *TargetManager::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_TargetManager.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int TargetManager::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 < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void TargetManager::targetCreated(const QString & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void TargetManager::targetRemoved(const QString & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void TargetManager::targetStatusChanged(const QString & _t1, TargetStatus _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void TargetManager::targetPriorityChanged(const QString & _t1, int _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void TargetManager::targetStrikeMethodChanged(const QString & _t1, StrikeMethod _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue