You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
217 lines
8.0 KiB
C++
217 lines
8.0 KiB
C++
|
2 years ago
|
/****************************************************************************
|
||
|
|
** Meta object code from reading C++ file 'ADModule.h'
|
||
|
|
**
|
||
|
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.4)
|
||
|
|
**
|
||
|
|
** WARNING! All changes made in this file will be lost!
|
||
|
|
*****************************************************************************/
|
||
|
|
|
||
|
|
#include "../../../../src/ADModule.h"
|
||
|
|
#include <QtCore/qbytearray.h>
|
||
|
|
#include <QtCore/qmetatype.h>
|
||
|
|
#include <QtCore/QVector>
|
||
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||
|
|
#error "The header file 'ADModule.h' doesn't include <QObject>."
|
||
|
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
||
|
|
#error "This file was generated using the moc from 5.9.4. 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_ADModule_t {
|
||
|
|
QByteArrayData data[18];
|
||
|
|
char stringdata0[224];
|
||
|
|
};
|
||
|
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||
|
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||
|
|
qptrdiff(offsetof(qt_meta_stringdata_ADModule_t, stringdata0) + ofs \
|
||
|
|
- idx * sizeof(QByteArrayData)) \
|
||
|
|
)
|
||
|
|
static const qt_meta_stringdata_ADModule_t qt_meta_stringdata_ADModule = {
|
||
|
|
{
|
||
|
|
QT_MOC_LITERAL(0, 0, 8), // "ADModule"
|
||
|
|
QT_MOC_LITERAL(1, 9, 13), // "sgReceiveData"
|
||
|
|
QT_MOC_LITERAL(2, 23, 0), // ""
|
||
|
|
QT_MOC_LITERAL(3, 24, 6), // "sideId"
|
||
|
|
QT_MOC_LITERAL(4, 31, 15), // "QVector<double>"
|
||
|
|
QT_MOC_LITERAL(5, 47, 14), // "hexVecDistance"
|
||
|
|
QT_MOC_LITERAL(6, 62, 12), // "sgNewNumData"
|
||
|
|
QT_MOC_LITERAL(7, 75, 25), // "QVector<QVector<double> >"
|
||
|
|
QT_MOC_LITERAL(8, 101, 3), // "vec"
|
||
|
|
QT_MOC_LITERAL(9, 105, 16), // "QVector<QString>"
|
||
|
|
QT_MOC_LITERAL(10, 122, 6), // "strVec"
|
||
|
|
QT_MOC_LITERAL(11, 129, 4), // "side"
|
||
|
|
QT_MOC_LITERAL(12, 134, 18), // "onDataRequestStart"
|
||
|
|
QT_MOC_LITERAL(13, 153, 17), // "onDataRequestStop"
|
||
|
|
QT_MOC_LITERAL(14, 171, 15), // "onReadDatagrams"
|
||
|
|
QT_MOC_LITERAL(15, 187, 12), // "onThreadInit"
|
||
|
|
QT_MOC_LITERAL(16, 200, 13), // "onReceiveData"
|
||
|
|
QT_MOC_LITERAL(17, 214, 9) // "stationId"
|
||
|
|
|
||
|
|
},
|
||
|
|
"ADModule\0sgReceiveData\0\0sideId\0"
|
||
|
|
"QVector<double>\0hexVecDistance\0"
|
||
|
|
"sgNewNumData\0QVector<QVector<double> >\0"
|
||
|
|
"vec\0QVector<QString>\0strVec\0side\0"
|
||
|
|
"onDataRequestStart\0onDataRequestStop\0"
|
||
|
|
"onReadDatagrams\0onThreadInit\0onReceiveData\0"
|
||
|
|
"stationId"
|
||
|
|
};
|
||
|
|
#undef QT_MOC_LITERAL
|
||
|
|
|
||
|
|
static const uint qt_meta_data_ADModule[] = {
|
||
|
|
|
||
|
|
// content:
|
||
|
|
7, // revision
|
||
|
|
0, // classname
|
||
|
|
0, 0, // classinfo
|
||
|
|
7, 14, // methods
|
||
|
|
0, 0, // properties
|
||
|
|
0, 0, // enums/sets
|
||
|
|
0, 0, // constructors
|
||
|
|
0, // flags
|
||
|
|
2, // signalCount
|
||
|
|
|
||
|
|
// signals: name, argc, parameters, tag, flags
|
||
|
|
1, 2, 49, 2, 0x06 /* Public */,
|
||
|
|
6, 3, 54, 2, 0x06 /* Public */,
|
||
|
|
|
||
|
|
// slots: name, argc, parameters, tag, flags
|
||
|
|
12, 1, 61, 2, 0x0a /* Public */,
|
||
|
|
13, 0, 64, 2, 0x0a /* Public */,
|
||
|
|
14, 0, 65, 2, 0x08 /* Private */,
|
||
|
|
15, 0, 66, 2, 0x08 /* Private */,
|
||
|
|
16, 2, 67, 2, 0x08 /* Private */,
|
||
|
|
|
||
|
|
// signals: parameters
|
||
|
|
QMetaType::Void, QMetaType::Int, 0x80000000 | 4, 3, 5,
|
||
|
|
QMetaType::Void, 0x80000000 | 7, 0x80000000 | 9, QMetaType::Int, 8, 10, 11,
|
||
|
|
|
||
|
|
// slots: parameters
|
||
|
|
QMetaType::Void, QMetaType::Int, 3,
|
||
|
|
QMetaType::Void,
|
||
|
|
QMetaType::Void,
|
||
|
|
QMetaType::Void,
|
||
|
|
QMetaType::Void, QMetaType::Int, 0x80000000 | 4, 17, 5,
|
||
|
|
|
||
|
|
0 // eod
|
||
|
|
};
|
||
|
|
|
||
|
|
void ADModule::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||
|
|
{
|
||
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||
|
|
ADModule *_t = static_cast<ADModule *>(_o);
|
||
|
|
Q_UNUSED(_t)
|
||
|
|
switch (_id) {
|
||
|
|
case 0: _t->sgReceiveData((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QVector<double>(*)>(_a[2]))); break;
|
||
|
|
case 1: _t->sgNewNumData((*reinterpret_cast< const QVector<QVector<double> >(*)>(_a[1])),(*reinterpret_cast< const QVector<QString>(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
|
||
|
|
case 2: _t->onDataRequestStart((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||
|
|
case 3: _t->onDataRequestStop(); break;
|
||
|
|
case 4: _t->onReadDatagrams(); break;
|
||
|
|
case 5: _t->onThreadInit(); break;
|
||
|
|
case 6: _t->onReceiveData((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QVector<double>(*)>(_a[2]))); break;
|
||
|
|
default: ;
|
||
|
|
}
|
||
|
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||
|
|
switch (_id) {
|
||
|
|
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||
|
|
case 0:
|
||
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
||
|
|
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||
|
|
case 1:
|
||
|
|
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<double> >(); break;
|
||
|
|
}
|
||
|
|
break;
|
||
|
|
case 1:
|
||
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
||
|
|
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||
|
|
case 1:
|
||
|
|
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QString> >(); break;
|
||
|
|
case 0:
|
||
|
|
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QVector<double> > >(); break;
|
||
|
|
}
|
||
|
|
break;
|
||
|
|
case 6:
|
||
|
|
switch (*reinterpret_cast<int*>(_a[1])) {
|
||
|
|
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||
|
|
case 1:
|
||
|
|
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<double> >(); break;
|
||
|
|
}
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
} else if (_c == QMetaObject::IndexOfMethod) {
|
||
|
|
int *result = reinterpret_cast<int *>(_a[0]);
|
||
|
|
{
|
||
|
|
typedef void (ADModule::*_t)(int , const QVector<double> & );
|
||
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ADModule::sgReceiveData)) {
|
||
|
|
*result = 0;
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
{
|
||
|
|
typedef void (ADModule::*_t)(const QVector<QVector<double>> & , const QVector<QString> & , int );
|
||
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ADModule::sgNewNumData)) {
|
||
|
|
*result = 1;
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
const QMetaObject ADModule::staticMetaObject = {
|
||
|
|
{ &QObject::staticMetaObject, qt_meta_stringdata_ADModule.data,
|
||
|
|
qt_meta_data_ADModule, qt_static_metacall, nullptr, nullptr}
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
const QMetaObject *ADModule::metaObject() const
|
||
|
|
{
|
||
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||
|
|
}
|
||
|
|
|
||
|
|
void *ADModule::qt_metacast(const char *_clname)
|
||
|
|
{
|
||
|
|
if (!_clname) return nullptr;
|
||
|
|
if (!strcmp(_clname, qt_meta_stringdata_ADModule.stringdata0))
|
||
|
|
return static_cast<void*>(this);
|
||
|
|
if (!strcmp(_clname, "lp_singleton<ADModule>"))
|
||
|
|
return static_cast< lp_singleton<ADModule>*>(this);
|
||
|
|
return QObject::qt_metacast(_clname);
|
||
|
|
}
|
||
|
|
|
||
|
|
int ADModule::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)
|
||
|
|
qt_static_metacall(this, _c, _id, _a);
|
||
|
|
_id -= 7;
|
||
|
|
}
|
||
|
|
return _id;
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 0
|
||
|
|
void ADModule::sgReceiveData(int _t1, const QVector<double> & _t2)
|
||
|
|
{
|
||
|
|
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||
|
|
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||
|
|
}
|
||
|
|
|
||
|
|
// SIGNAL 1
|
||
|
|
void ADModule::sgNewNumData(const QVector<QVector<double>> & _t1, const QVector<QString> & _t2, int _t3)
|
||
|
|
{
|
||
|
|
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
|
||
|
|
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||
|
|
}
|
||
|
|
QT_WARNING_POP
|
||
|
|
QT_END_MOC_NAMESPACE
|