readme更新
parent
8eceecf0db
commit
2bc3d5edfb
Binary file not shown.
@ -0,0 +1,216 @@
|
||||
/****************************************************************************
|
||||
** 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
|
||||
@ -0,0 +1,130 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'Camera.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/Camera.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'Camera.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_Camera_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[26];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_Camera_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_Camera_t qt_meta_stringdata_Camera = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 6), // "Camera"
|
||||
QT_MOC_LITERAL(1, 7, 11), // "updateImage"
|
||||
QT_MOC_LITERAL(2, 19, 0), // ""
|
||||
QT_MOC_LITERAL(3, 20, 5) // "image"
|
||||
|
||||
},
|
||||
"Camera\0updateImage\0\0image"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_Camera[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QImage, 3,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void Camera::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
Camera *_t = static_cast<Camera *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->updateImage((*reinterpret_cast< QImage(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
typedef void (Camera::*_t)(QImage );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Camera::updateImage)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject Camera::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_Camera.data,
|
||||
qt_meta_data_Camera, qt_static_metacall, nullptr, nullptr}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *Camera::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *Camera::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_Camera.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int Camera::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 < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void Camera::updateImage(QImage _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -0,0 +1,149 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'CameraControl.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/CameraControl.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QVector>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'CameraControl.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_CameraControl_t {
|
||||
QByteArrayData data[8];
|
||||
char stringdata0[95];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_CameraControl_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_CameraControl_t qt_meta_stringdata_CameraControl = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "CameraControl"
|
||||
QT_MOC_LITERAL(1, 14, 15), // "sgCapturedImage"
|
||||
QT_MOC_LITERAL(2, 30, 0), // ""
|
||||
QT_MOC_LITERAL(3, 31, 18), // "QVector<ImageInfo>"
|
||||
QT_MOC_LITERAL(4, 50, 12), // "vecImageInfo"
|
||||
QT_MOC_LITERAL(5, 63, 14), // "cameraLocation"
|
||||
QT_MOC_LITERAL(6, 78, 9), // "onCapture"
|
||||
QT_MOC_LITERAL(7, 88, 6) // "onOpen"
|
||||
|
||||
},
|
||||
"CameraControl\0sgCapturedImage\0\0"
|
||||
"QVector<ImageInfo>\0vecImageInfo\0"
|
||||
"cameraLocation\0onCapture\0onOpen"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_CameraControl[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 29, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
6, 1, 34, 2, 0x0a /* Public */,
|
||||
7, 0, 37, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Int, 5,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void CameraControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
CameraControl *_t = static_cast<CameraControl *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sgCapturedImage((*reinterpret_cast< const QVector<ImageInfo>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 1: _t->onCapture((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 2: _t->onOpen(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
typedef void (CameraControl::*_t)(const QVector<ImageInfo> & , int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CameraControl::sgCapturedImage)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject CameraControl::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_CameraControl.data,
|
||||
qt_meta_data_CameraControl, qt_static_metacall, nullptr, nullptr}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *CameraControl::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *CameraControl::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_CameraControl.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "lp_singleton<CameraControl>"))
|
||||
return static_cast< lp_singleton<CameraControl>*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int CameraControl::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 < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void CameraControl::sgCapturedImage(const QVector<ImageInfo> & _t1, int _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);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -0,0 +1,90 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'CategoryMatcher.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/CategoryMatcher.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'CategoryMatcher.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_CategoryMatcher_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[16];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_CategoryMatcher_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_CategoryMatcher_t qt_meta_stringdata_CategoryMatcher = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15) // "CategoryMatcher"
|
||||
|
||||
},
|
||||
"CategoryMatcher"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_CategoryMatcher[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void CategoryMatcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject CategoryMatcher::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_CategoryMatcher.data,
|
||||
qt_meta_data_CategoryMatcher, qt_static_metacall, nullptr, nullptr}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *CategoryMatcher::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *CategoryMatcher::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_CategoryMatcher.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int CategoryMatcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -0,0 +1,167 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'CodeScanStation.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/CodeScanStation.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QSharedPointer>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'CodeScanStation.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_CodeScanStation_t {
|
||||
QByteArrayData data[8];
|
||||
char stringdata0[99];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_CodeScanStation_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_CodeScanStation_t qt_meta_stringdata_CodeScanStation = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15), // "CodeScanStation"
|
||||
QT_MOC_LITERAL(1, 16, 17), // "sgNewCodeScanData"
|
||||
QT_MOC_LITERAL(2, 34, 0), // ""
|
||||
QT_MOC_LITERAL(3, 35, 26), // "QSharedPointer<QByteArray>"
|
||||
QT_MOC_LITERAL(4, 62, 6), // "onOpen"
|
||||
QT_MOC_LITERAL(5, 69, 16), // "onSerialDataRecv"
|
||||
QT_MOC_LITERAL(6, 86, 2), // "sn"
|
||||
QT_MOC_LITERAL(7, 89, 9) // "data_ptr_"
|
||||
|
||||
},
|
||||
"CodeScanStation\0sgNewCodeScanData\0\0"
|
||||
"QSharedPointer<QByteArray>\0onOpen\0"
|
||||
"onSerialDataRecv\0sn\0data_ptr_"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_CodeScanStation[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 29, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
4, 0, 34, 2, 0x08 /* Private */,
|
||||
5, 2, 35, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Int, 0x80000000 | 3, 2, 2,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 0x80000000 | 3, 6, 7,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void CodeScanStation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
CodeScanStation *_t = static_cast<CodeScanStation *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sgNewCodeScanData((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QSharedPointer<QByteArray>(*)>(_a[2]))); break;
|
||||
case 1: _t->onOpen(); break;
|
||||
case 2: _t->onSerialDataRecv((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QSharedPointer<QByteArray>(*)>(_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< QSharedPointer<QByteArray> >(); break;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 1:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSharedPointer<QByteArray> >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
typedef void (CodeScanStation::*_t)(int , QSharedPointer<QByteArray> );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeScanStation::sgNewCodeScanData)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject CodeScanStation::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_CodeScanStation.data,
|
||||
qt_meta_data_CodeScanStation, qt_static_metacall, nullptr, nullptr}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *CodeScanStation::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *CodeScanStation::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_CodeScanStation.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "lp_singleton<CodeScanStation>"))
|
||||
return static_cast< lp_singleton<CodeScanStation>*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int CodeScanStation::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 < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void CodeScanStation::sgNewCodeScanData(int _t1, QSharedPointer<QByteArray> _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);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -0,0 +1,90 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'HikCamera.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/HikCamera.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'HikCamera.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_HikCamera_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[10];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_HikCamera_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_HikCamera_t qt_meta_stringdata_HikCamera = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9) // "HikCamera"
|
||||
|
||||
},
|
||||
"HikCamera"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_HikCamera[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void HikCamera::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject HikCamera::staticMetaObject = {
|
||||
{ &Camera::staticMetaObject, qt_meta_stringdata_HikCamera.data,
|
||||
qt_meta_data_HikCamera, qt_static_metacall, nullptr, nullptr}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *HikCamera::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *HikCamera::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_HikCamera.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return Camera::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int HikCamera::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = Camera::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -0,0 +1,180 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'NetControl.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/NetControl.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'NetControl.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_NetControl_t {
|
||||
QByteArrayData data[14];
|
||||
char stringdata0[162];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_NetControl_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_NetControl_t qt_meta_stringdata_NetControl = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10), // "NetControl"
|
||||
QT_MOC_LITERAL(1, 11, 13), // "sgReceiveData"
|
||||
QT_MOC_LITERAL(2, 25, 0), // ""
|
||||
QT_MOC_LITERAL(3, 26, 4), // "data"
|
||||
QT_MOC_LITERAL(4, 31, 9), // "onInitNet"
|
||||
QT_MOC_LITERAL(5, 41, 9), // "onSendMsg"
|
||||
QT_MOC_LITERAL(6, 51, 3), // "msg"
|
||||
QT_MOC_LITERAL(7, 55, 17), // "sendHeartbeatPack"
|
||||
QT_MOC_LITERAL(8, 73, 11), // "onConnected"
|
||||
QT_MOC_LITERAL(9, 85, 14), // "onDisconnected"
|
||||
QT_MOC_LITERAL(10, 100, 14), // "onErrorHandler"
|
||||
QT_MOC_LITERAL(11, 115, 28), // "QAbstractSocket::SocketError"
|
||||
QT_MOC_LITERAL(12, 144, 3), // "err"
|
||||
QT_MOC_LITERAL(13, 148, 13) // "onMsgReceived"
|
||||
|
||||
},
|
||||
"NetControl\0sgReceiveData\0\0data\0onInitNet\0"
|
||||
"onSendMsg\0msg\0sendHeartbeatPack\0"
|
||||
"onConnected\0onDisconnected\0onErrorHandler\0"
|
||||
"QAbstractSocket::SocketError\0err\0"
|
||||
"onMsgReceived"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_NetControl[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
8, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 54, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
4, 0, 57, 2, 0x0a /* Public */,
|
||||
5, 1, 58, 2, 0x0a /* Public */,
|
||||
7, 0, 61, 2, 0x08 /* Private */,
|
||||
8, 0, 62, 2, 0x08 /* Private */,
|
||||
9, 0, 63, 2, 0x08 /* Private */,
|
||||
10, 1, 64, 2, 0x08 /* Private */,
|
||||
13, 0, 67, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 6,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 11, 12,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void NetControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
NetControl *_t = static_cast<NetControl *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sgReceiveData((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 1: _t->onInitNet(); break;
|
||||
case 2: _t->onSendMsg((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 3: _t->sendHeartbeatPack(); break;
|
||||
case 4: _t->onConnected(); break;
|
||||
case 5: _t->onDisconnected(); break;
|
||||
case 6: _t->onErrorHandler((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
|
||||
case 7: _t->onMsgReceived(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 6:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
typedef void (NetControl::*_t)(const QString & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NetControl::sgReceiveData)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject NetControl::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_NetControl.data,
|
||||
qt_meta_data_NetControl, qt_static_metacall, nullptr, nullptr}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *NetControl::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *NetControl::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_NetControl.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int NetControl::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;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 8)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 8;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void NetControl::sgReceiveData(const QString & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -0,0 +1,114 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'QNumTemplateBuild.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/QNumTemplateBuild.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'QNumTemplateBuild.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_QNumTemplateBuild_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata0[33];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QNumTemplateBuild_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QNumTemplateBuild_t qt_meta_stringdata_QNumTemplateBuild = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17), // "QNumTemplateBuild"
|
||||
QT_MOC_LITERAL(1, 18, 13), // "onButtonClick"
|
||||
QT_MOC_LITERAL(2, 32, 0) // ""
|
||||
|
||||
},
|
||||
"QNumTemplateBuild\0onButtonClick\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QNumTemplateBuild[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x08 /* Private */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QNumTemplateBuild::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
QNumTemplateBuild *_t = static_cast<QNumTemplateBuild *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->onButtonClick(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject QNumTemplateBuild::staticMetaObject = {
|
||||
{ &QWidget::staticMetaObject, qt_meta_stringdata_QNumTemplateBuild.data,
|
||||
qt_meta_data_QNumTemplateBuild, qt_static_metacall, nullptr, nullptr}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *QNumTemplateBuild::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QNumTemplateBuild::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QNumTemplateBuild.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QNumTemplateBuild::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -0,0 +1,371 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'SmokeBoxIdentification.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/SmokeBoxIdentification.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QVector>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'SmokeBoxIdentification.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_SmokeBoxIdentification_t {
|
||||
QByteArrayData data[38];
|
||||
char stringdata0[552];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_SmokeBoxIdentification_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_SmokeBoxIdentification_t qt_meta_stringdata_SmokeBoxIdentification = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 22), // "SmokeBoxIdentification"
|
||||
QT_MOC_LITERAL(1, 23, 9), // "sgCapture"
|
||||
QT_MOC_LITERAL(2, 33, 0), // ""
|
||||
QT_MOC_LITERAL(3, 34, 14), // "cameraLocation"
|
||||
QT_MOC_LITERAL(4, 49, 23), // "sgCategoryMatchFinished"
|
||||
QT_MOC_LITERAL(5, 73, 8), // "smokeNum"
|
||||
QT_MOC_LITERAL(6, 82, 11), // "sgShowImage"
|
||||
QT_MOC_LITERAL(7, 94, 7), // "QLabel*"
|
||||
QT_MOC_LITERAL(8, 102, 8), // "labelPtr"
|
||||
QT_MOC_LITERAL(9, 111, 6), // "qImage"
|
||||
QT_MOC_LITERAL(10, 118, 21), // "sgNumDataCollectStart"
|
||||
QT_MOC_LITERAL(11, 140, 6), // "sideId"
|
||||
QT_MOC_LITERAL(12, 147, 20), // "sgNumDataCollectStop"
|
||||
QT_MOC_LITERAL(13, 168, 22), // "sgStartEmptyPlaceCheck"
|
||||
QT_MOC_LITERAL(14, 191, 10), // "streetName"
|
||||
QT_MOC_LITERAL(15, 202, 21), // "sgStopEmptyPlaceCheck"
|
||||
QT_MOC_LITERAL(16, 224, 18), // "sgControlSideLight"
|
||||
QT_MOC_LITERAL(17, 243, 9), // "sgSendMsg"
|
||||
QT_MOC_LITERAL(18, 253, 3), // "msg"
|
||||
QT_MOC_LITERAL(19, 257, 11), // "onDecodeMsg"
|
||||
QT_MOC_LITERAL(20, 269, 15), // "onCapturedImage"
|
||||
QT_MOC_LITERAL(21, 285, 18), // "QVector<ImageInfo>"
|
||||
QT_MOC_LITERAL(22, 304, 12), // "vecImageInfo"
|
||||
QT_MOC_LITERAL(23, 317, 14), // "camearLocation"
|
||||
QT_MOC_LITERAL(24, 332, 14), // "onNumStatistic"
|
||||
QT_MOC_LITERAL(25, 347, 7), // "typeNum"
|
||||
QT_MOC_LITERAL(26, 355, 11), // "onShowImage"
|
||||
QT_MOC_LITERAL(27, 367, 27), // "onMonitorSensorTriggerStart"
|
||||
QT_MOC_LITERAL(28, 395, 26), // "onMonitorSensorTriggerStop"
|
||||
QT_MOC_LITERAL(29, 422, 15), // "onActionClicked"
|
||||
QT_MOC_LITERAL(30, 438, 23), // "onSendEmptyCheckResults"
|
||||
QT_MOC_LITERAL(31, 462, 17), // "QMap<QString,int>"
|
||||
QT_MOC_LITERAL(32, 480, 12), // "onNewNumData"
|
||||
QT_MOC_LITERAL(33, 493, 25), // "QVector<QVector<double> >"
|
||||
QT_MOC_LITERAL(34, 519, 3), // "vec"
|
||||
QT_MOC_LITERAL(35, 523, 16), // "QVector<QString>"
|
||||
QT_MOC_LITERAL(36, 540, 6), // "strVec"
|
||||
QT_MOC_LITERAL(37, 547, 4) // "side"
|
||||
|
||||
},
|
||||
"SmokeBoxIdentification\0sgCapture\0\0"
|
||||
"cameraLocation\0sgCategoryMatchFinished\0"
|
||||
"smokeNum\0sgShowImage\0QLabel*\0labelPtr\0"
|
||||
"qImage\0sgNumDataCollectStart\0sideId\0"
|
||||
"sgNumDataCollectStop\0sgStartEmptyPlaceCheck\0"
|
||||
"streetName\0sgStopEmptyPlaceCheck\0"
|
||||
"sgControlSideLight\0sgSendMsg\0msg\0"
|
||||
"onDecodeMsg\0onCapturedImage\0"
|
||||
"QVector<ImageInfo>\0vecImageInfo\0"
|
||||
"camearLocation\0onNumStatistic\0typeNum\0"
|
||||
"onShowImage\0onMonitorSensorTriggerStart\0"
|
||||
"onMonitorSensorTriggerStop\0onActionClicked\0"
|
||||
"onSendEmptyCheckResults\0QMap<QString,int>\0"
|
||||
"onNewNumData\0QVector<QVector<double> >\0"
|
||||
"vec\0QVector<QString>\0strVec\0side"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_SmokeBoxIdentification[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
18, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
9, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 104, 2, 0x06 /* Public */,
|
||||
4, 1, 107, 2, 0x06 /* Public */,
|
||||
6, 2, 110, 2, 0x06 /* Public */,
|
||||
10, 1, 115, 2, 0x06 /* Public */,
|
||||
12, 0, 118, 2, 0x06 /* Public */,
|
||||
13, 1, 119, 2, 0x06 /* Public */,
|
||||
15, 0, 122, 2, 0x06 /* Public */,
|
||||
16, 1, 123, 2, 0x06 /* Public */,
|
||||
17, 1, 126, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
19, 1, 129, 2, 0x08 /* Private */,
|
||||
20, 2, 132, 2, 0x08 /* Private */,
|
||||
24, 1, 137, 2, 0x08 /* Private */,
|
||||
26, 2, 140, 2, 0x08 /* Private */,
|
||||
27, 1, 145, 2, 0x08 /* Private */,
|
||||
28, 1, 148, 2, 0x08 /* Private */,
|
||||
29, 0, 151, 2, 0x08 /* Private */,
|
||||
30, 1, 152, 2, 0x08 /* Private */,
|
||||
32, 3, 155, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Int, 3,
|
||||
QMetaType::Void, QMetaType::QString, 5,
|
||||
QMetaType::Void, 0x80000000 | 7, QMetaType::QImage, 8, 9,
|
||||
QMetaType::Void, QMetaType::Int, 11,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 14,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, 2,
|
||||
QMetaType::Void, QMetaType::QString, 18,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QString, 18,
|
||||
QMetaType::Void, 0x80000000 | 21, QMetaType::Int, 22, 23,
|
||||
QMetaType::Void, QMetaType::QString, 25,
|
||||
QMetaType::Void, 0x80000000 | 7, QMetaType::QImage, 8, 9,
|
||||
QMetaType::Void, QMetaType::Int, 2,
|
||||
QMetaType::Void, QMetaType::Int, 2,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 31, 2,
|
||||
QMetaType::Void, 0x80000000 | 33, 0x80000000 | 35, QMetaType::Int, 34, 36, 37,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void SmokeBoxIdentification::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
SmokeBoxIdentification *_t = static_cast<SmokeBoxIdentification *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sgCapture((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 1: _t->sgCategoryMatchFinished((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 2: _t->sgShowImage((*reinterpret_cast< QLabel*(*)>(_a[1])),(*reinterpret_cast< const QImage(*)>(_a[2]))); break;
|
||||
case 3: _t->sgNumDataCollectStart((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 4: _t->sgNumDataCollectStop(); break;
|
||||
case 5: _t->sgStartEmptyPlaceCheck((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 6: _t->sgStopEmptyPlaceCheck(); break;
|
||||
case 7: _t->sgControlSideLight((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 8: _t->sgSendMsg((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 9: _t->onDecodeMsg((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 10: _t->onCapturedImage((*reinterpret_cast< const QVector<ImageInfo>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 11: _t->onNumStatistic((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 12: _t->onShowImage((*reinterpret_cast< QLabel*(*)>(_a[1])),(*reinterpret_cast< const QImage(*)>(_a[2]))); break;
|
||||
case 13: _t->onMonitorSensorTriggerStart((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 14: _t->onMonitorSensorTriggerStop((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 15: _t->onActionClicked(); break;
|
||||
case 16: _t->onSendEmptyCheckResults((*reinterpret_cast< const QMap<QString,int>(*)>(_a[1]))); break;
|
||||
case 17: _t->onNewNumData((*reinterpret_cast< const QVector<QVector<double> >(*)>(_a[1])),(*reinterpret_cast< const QVector<QString>(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 2:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QLabel* >(); break;
|
||||
}
|
||||
break;
|
||||
case 12:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QLabel* >(); break;
|
||||
}
|
||||
break;
|
||||
case 17:
|
||||
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;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
typedef void (SmokeBoxIdentification::*_t)(int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SmokeBoxIdentification::sgCapture)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (SmokeBoxIdentification::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SmokeBoxIdentification::sgCategoryMatchFinished)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (SmokeBoxIdentification::*_t)(QLabel * , const QImage & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SmokeBoxIdentification::sgShowImage)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (SmokeBoxIdentification::*_t)(int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SmokeBoxIdentification::sgNumDataCollectStart)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (SmokeBoxIdentification::*_t)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SmokeBoxIdentification::sgNumDataCollectStop)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (SmokeBoxIdentification::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SmokeBoxIdentification::sgStartEmptyPlaceCheck)) {
|
||||
*result = 5;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (SmokeBoxIdentification::*_t)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SmokeBoxIdentification::sgStopEmptyPlaceCheck)) {
|
||||
*result = 6;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (SmokeBoxIdentification::*_t)(int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SmokeBoxIdentification::sgControlSideLight)) {
|
||||
*result = 7;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (SmokeBoxIdentification::*_t)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SmokeBoxIdentification::sgSendMsg)) {
|
||||
*result = 8;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject SmokeBoxIdentification::staticMetaObject = {
|
||||
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_SmokeBoxIdentification.data,
|
||||
qt_meta_data_SmokeBoxIdentification, qt_static_metacall, nullptr, nullptr}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *SmokeBoxIdentification::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *SmokeBoxIdentification::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_SmokeBoxIdentification.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int SmokeBoxIdentification::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 18)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 18)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 18;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void SmokeBoxIdentification::sgCapture(int _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void SmokeBoxIdentification::sgCategoryMatchFinished(QString _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void SmokeBoxIdentification::sgShowImage(QLabel * _t1, const QImage & _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void SmokeBoxIdentification::sgNumDataCollectStart(int _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void SmokeBoxIdentification::sgNumDataCollectStop()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void SmokeBoxIdentification::sgStartEmptyPlaceCheck(QString _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void SmokeBoxIdentification::sgStopEmptyPlaceCheck()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 7
|
||||
void SmokeBoxIdentification::sgControlSideLight(int _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 7, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 8
|
||||
void SmokeBoxIdentification::sgSendMsg(QString _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 8, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -0,0 +1,235 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'lpSerialStation.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/lpSerialStation.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QSharedPointer>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'lpSerialStation.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_lpSerialStation_t {
|
||||
QByteArrayData data[21];
|
||||
char stringdata0[346];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_lpSerialStation_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_lpSerialStation_t qt_meta_stringdata_lpSerialStation = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15), // "lpSerialStation"
|
||||
QT_MOC_LITERAL(1, 16, 22), // "sgNewEmptyCheckResults"
|
||||
QT_MOC_LITERAL(2, 39, 0), // ""
|
||||
QT_MOC_LITERAL(3, 40, 17), // "QMap<QString,int>"
|
||||
QT_MOC_LITERAL(4, 58, 27), // "sgMonitorSensorTriggerStart"
|
||||
QT_MOC_LITERAL(5, 86, 6), // "sideId"
|
||||
QT_MOC_LITERAL(6, 93, 26), // "sgMonitorSensorTriggerStop"
|
||||
QT_MOC_LITERAL(7, 120, 18), // "onControlSideLight"
|
||||
QT_MOC_LITERAL(8, 139, 7), // "cmdData"
|
||||
QT_MOC_LITERAL(9, 147, 22), // "onStartEmptyPlaceCheck"
|
||||
QT_MOC_LITERAL(10, 170, 10), // "streetName"
|
||||
QT_MOC_LITERAL(11, 181, 21), // "onStopEmptyPlaceCheck"
|
||||
QT_MOC_LITERAL(12, 203, 20), // "onNewCodeScanResults"
|
||||
QT_MOC_LITERAL(13, 224, 26), // "QSharedPointer<QByteArray>"
|
||||
QT_MOC_LITERAL(14, 251, 6), // "onOpen"
|
||||
QT_MOC_LITERAL(15, 258, 13), // "onDataReceive"
|
||||
QT_MOC_LITERAL(16, 272, 2), // "sn"
|
||||
QT_MOC_LITERAL(17, 275, 29), // "QSharedPointer<LpSerialFrame>"
|
||||
QT_MOC_LITERAL(18, 305, 9), // "data_ptr_"
|
||||
QT_MOC_LITERAL(19, 315, 14), // "onStateChanged"
|
||||
QT_MOC_LITERAL(20, 330, 15) // "SerialErrorType"
|
||||
|
||||
},
|
||||
"lpSerialStation\0sgNewEmptyCheckResults\0"
|
||||
"\0QMap<QString,int>\0sgMonitorSensorTriggerStart\0"
|
||||
"sideId\0sgMonitorSensorTriggerStop\0"
|
||||
"onControlSideLight\0cmdData\0"
|
||||
"onStartEmptyPlaceCheck\0streetName\0"
|
||||
"onStopEmptyPlaceCheck\0onNewCodeScanResults\0"
|
||||
"QSharedPointer<QByteArray>\0onOpen\0"
|
||||
"onDataReceive\0sn\0QSharedPointer<LpSerialFrame>\0"
|
||||
"data_ptr_\0onStateChanged\0SerialErrorType"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_lpSerialStation[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
10, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
3, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 64, 2, 0x06 /* Public */,
|
||||
4, 1, 67, 2, 0x06 /* Public */,
|
||||
6, 1, 70, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
7, 1, 73, 2, 0x0a /* Public */,
|
||||
9, 1, 76, 2, 0x0a /* Public */,
|
||||
11, 0, 79, 2, 0x0a /* Public */,
|
||||
12, 2, 80, 2, 0x0a /* Public */,
|
||||
14, 0, 85, 2, 0x08 /* Private */,
|
||||
15, 2, 86, 2, 0x08 /* Private */,
|
||||
19, 2, 91, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 2,
|
||||
QMetaType::Void, QMetaType::Int, 5,
|
||||
QMetaType::Void, QMetaType::Int, 5,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Int, 8,
|
||||
QMetaType::Void, QMetaType::QString, 10,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Int, 0x80000000 | 13, 2, 2,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 0x80000000 | 17, 16, 18,
|
||||
QMetaType::Void, QMetaType::QString, 0x80000000 | 20, 2, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void lpSerialStation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
lpSerialStation *_t = static_cast<lpSerialStation *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sgNewEmptyCheckResults((*reinterpret_cast< const QMap<QString,int>(*)>(_a[1]))); break;
|
||||
case 1: _t->sgMonitorSensorTriggerStart((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 2: _t->sgMonitorSensorTriggerStop((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 3: _t->onControlSideLight((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 4: _t->onStartEmptyPlaceCheck((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 5: _t->onStopEmptyPlaceCheck(); break;
|
||||
case 6: _t->onNewCodeScanResults((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QSharedPointer<QByteArray>(*)>(_a[2]))); break;
|
||||
case 7: _t->onOpen(); break;
|
||||
case 8: _t->onDataReceive((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QSharedPointer<LpSerialFrame>(*)>(_a[2]))); break;
|
||||
case 9: _t->onStateChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< SerialErrorType(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; 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< QSharedPointer<QByteArray> >(); break;
|
||||
}
|
||||
break;
|
||||
case 8:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 1:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSharedPointer<LpSerialFrame> >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
typedef void (lpSerialStation::*_t)(const QMap<QString,int> & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&lpSerialStation::sgNewEmptyCheckResults)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (lpSerialStation::*_t)(int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&lpSerialStation::sgMonitorSensorTriggerStart)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (lpSerialStation::*_t)(int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&lpSerialStation::sgMonitorSensorTriggerStop)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject lpSerialStation::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_lpSerialStation.data,
|
||||
qt_meta_data_lpSerialStation, qt_static_metacall, nullptr, nullptr}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *lpSerialStation::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *lpSerialStation::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_lpSerialStation.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "lp_singleton<lpSerialStation>"))
|
||||
return static_cast< lp_singleton<lpSerialStation>*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int lpSerialStation::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 < 10)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 10)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 10;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void lpSerialStation::sgNewEmptyCheckResults(const QMap<QString,int> & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void lpSerialStation::sgMonitorSensorTriggerStart(int _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void lpSerialStation::sgMonitorSensorTriggerStop(int _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -0,0 +1,27 @@
|
||||
Debug | 2023-12-28 14:10:32 ÖÜËÄ | Decode smokeInfo from "D:/Code/Logistics/smokeboxidentification/tpvs17/../runner17/Release\\user\\smokeInfo.xlsx" successed
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | "D:/Code/Logistics/smokeboxidentification/tpvs17/../runner17/Release\\templateNum" is not exist
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | Do not found any device!
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | SerialNumber: "00J50359922" init failed
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | Do not found any device!
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | SerialNumber: "00J50359927" init failed
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | Do not found any device!
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | SerialNumber: "00J50359938" init failed
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | Do not found any device!
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | SerialNumber: "00J50359923" init failed
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | Do not found any device!
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | SerialNumber: "00J50359918" init failed
|
||||
Warning | 2023-12-28 14:10:32 ÖÜËÄ | QObject::moveToThread: Cannot move objects with a parent
|
||||
Debug | 2023-12-28 14:10:32 ÖÜËÄ | ADModule load param successed
|
||||
Debug | 2023-12-28 14:10:32 ÖÜËÄ | SensorsCom load param successed
|
||||
Debug | 2023-12-28 14:10:32 ÖÜËÄ | Code scan load param successed
|
||||
Debug | 2023-12-28 14:10:32 ÖÜËÄ | open "COM8" fail.
|
||||
Debug | 2023-12-28 14:10:32 ÖÜËÄ | open "COM8" fail.
|
||||
Debug | 2023-12-28 14:10:32 ÖÜËÄ | open "COM1" fail.
|
||||
Debug | 2023-12-28 14:10:32 ÖÜËÄ | open "COM7" fail.
|
||||
Debug | 2023-12-28 14:10:32 ÖÜËÄ | "COM7 not found! open failed."
|
||||
Warning | 2023-12-28 14:10:33 ÖÜËÄ | Do not found any device!
|
||||
Warning | 2023-12-28 14:10:33 ÖÜËÄ | SerialNumber: "00J50359945" init failed
|
||||
Debug | 2023-12-28 14:10:33 ÖÜËÄ | m_vecPCamera size: 0
|
||||
Debug | 2023-12-28 14:10:36 ÖÜËÄ | init CategoryMatcher successed
|
||||
Debug | 2023-12-28 14:10:39 ÖÜËÄ | delete netControl
|
||||
Debug | 2023-12-28 14:10:39 ÖÜËÄ | delete netControl finished
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.17763.0
|
||||
Release|x64|E:\Code\smokeboxidentification\tpvs17\|
|
||||
Release|x64|D:\Code\Logistics\smokeboxidentification\tpvs17\|
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue