1 Star 0 Fork 0

qinxude/rk3568ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
moc_blackbox.cpp 12.89 KB
一键复制 编辑 原始数据 按行查看 历史
qinxude 提交于 2024-09-04 10:00 . befor moc
/****************************************************************************
** Meta object code from reading C++ file 'blackbox.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "blackbox.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'blackbox.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.2. 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_BlackBox_t {
QByteArrayData data[58];
char stringdata0[807];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_BlackBox_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_BlackBox_t qt_meta_stringdata_BlackBox = {
{
QT_MOC_LITERAL(0, 0, 8), // "BlackBox"
QT_MOC_LITERAL(1, 9, 16), // "SerialPortChange"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 13), // "SerialConnect"
QT_MOC_LITERAL(4, 41, 12), // "ErrorProcess"
QT_MOC_LITERAL(5, 54, 28), // "QSerialPort::SerialPortError"
QT_MOC_LITERAL(6, 83, 3), // "Err"
QT_MOC_LITERAL(7, 87, 18), // "ReceiveBlackBoxMsg"
QT_MOC_LITERAL(8, 106, 15), // "SendBlackBoxMsg"
QT_MOC_LITERAL(9, 122, 3), // "Msg"
QT_MOC_LITERAL(10, 126, 17), // "SndHeartBeatToDev"
QT_MOC_LITERAL(11, 144, 11), // "SndResToDev"
QT_MOC_LITERAL(12, 156, 8), // "uint16_t"
QT_MOC_LITERAL(13, 165, 3), // "Sta"
QT_MOC_LITERAL(14, 169, 7), // "uint8_t"
QT_MOC_LITERAL(15, 177, 3), // "Frm"
QT_MOC_LITERAL(16, 181, 11), // "SndReqToDev"
QT_MOC_LITERAL(17, 193, 9), // "StartAddr"
QT_MOC_LITERAL(18, 203, 3), // "Cnt"
QT_MOC_LITERAL(19, 207, 17), // "SndFaceIdFrmToDev"
QT_MOC_LITERAL(20, 225, 9), // "FaceIdSta"
QT_MOC_LITERAL(21, 235, 4), // "Info"
QT_MOC_LITERAL(22, 240, 14), // "SndDTUFrmToDev"
QT_MOC_LITERAL(23, 255, 10), // "ChannelNum"
QT_MOC_LITERAL(24, 266, 4), // "Port"
QT_MOC_LITERAL(25, 271, 4), // "Addr"
QT_MOC_LITERAL(26, 276, 11), // "SndCmdToDev"
QT_MOC_LITERAL(27, 288, 3), // "Cmd"
QT_MOC_LITERAL(28, 292, 14), // "SndSearchToDev"
QT_MOC_LITERAL(29, 307, 16), // "SndCloudResToDev"
QT_MOC_LITERAL(30, 324, 4), // "Data"
QT_MOC_LITERAL(31, 329, 18), // "SndShotCamResToDev"
QT_MOC_LITERAL(32, 348, 6), // "ReqCmd"
QT_MOC_LITERAL(33, 355, 3), // "Res"
QT_MOC_LITERAL(34, 359, 8), // "uint32_t"
QT_MOC_LITERAL(35, 368, 4), // "Sign"
QT_MOC_LITERAL(36, 373, 4), // "Size"
QT_MOC_LITERAL(37, 378, 22), // "SndShotCamJpegResToDev"
QT_MOC_LITERAL(38, 401, 16), // "SndSysModleToDev"
QT_MOC_LITERAL(39, 418, 3), // "cmd"
QT_MOC_LITERAL(40, 422, 22), // "OpenBlackBoxSerialPort"
QT_MOC_LITERAL(41, 445, 20), // "BBNoHeartBeatProcess"
QT_MOC_LITERAL(42, 466, 25), // "DevParamDataChangeProcess"
QT_MOC_LITERAL(43, 492, 19), // "DevParamDataIndex_t"
QT_MOC_LITERAL(44, 512, 28), // "SignalParamDataChangeProcess"
QT_MOC_LITERAL(45, 541, 22), // "SignalParamDataIndex_t"
QT_MOC_LITERAL(46, 564, 5), // "Index"
QT_MOC_LITERAL(47, 570, 30), // "MultipleParamDataChangeProcess"
QT_MOC_LITERAL(48, 601, 24), // "MultipleParamDataIndex_t"
QT_MOC_LITERAL(49, 626, 19), // "SystemChangeProcess"
QT_MOC_LITERAL(50, 646, 17), // "SystemDataIndex_t"
QT_MOC_LITERAL(51, 664, 26), // "MonitorRtDataChangeProcess"
QT_MOC_LITERAL(52, 691, 20), // "MonitorRtDataIndex_t"
QT_MOC_LITERAL(53, 712, 20), // "MisDataChangeProcess"
QT_MOC_LITERAL(54, 733, 14), // "MisDataIndex_t"
QT_MOC_LITERAL(55, 748, 21), // "GetavailablePortsList"
QT_MOC_LITERAL(56, 770, 10), // "CamPackSeq"
QT_MOC_LITERAL(57, 781, 25) // "InitAvailableBaudRateList"
},
"BlackBox\0SerialPortChange\0\0SerialConnect\0"
"ErrorProcess\0QSerialPort::SerialPortError\0"
"Err\0ReceiveBlackBoxMsg\0SendBlackBoxMsg\0"
"Msg\0SndHeartBeatToDev\0SndResToDev\0"
"uint16_t\0Sta\0uint8_t\0Frm\0SndReqToDev\0"
"StartAddr\0Cnt\0SndFaceIdFrmToDev\0"
"FaceIdSta\0Info\0SndDTUFrmToDev\0ChannelNum\0"
"Port\0Addr\0SndCmdToDev\0Cmd\0SndSearchToDev\0"
"SndCloudResToDev\0Data\0SndShotCamResToDev\0"
"ReqCmd\0Res\0uint32_t\0Sign\0Size\0"
"SndShotCamJpegResToDev\0SndSysModleToDev\0"
"cmd\0OpenBlackBoxSerialPort\0"
"BBNoHeartBeatProcess\0DevParamDataChangeProcess\0"
"DevParamDataIndex_t\0SignalParamDataChangeProcess\0"
"SignalParamDataIndex_t\0Index\0"
"MultipleParamDataChangeProcess\0"
"MultipleParamDataIndex_t\0SystemChangeProcess\0"
"SystemDataIndex_t\0MonitorRtDataChangeProcess\0"
"MonitorRtDataIndex_t\0MisDataChangeProcess\0"
"MisDataIndex_t\0GetavailablePortsList\0"
"CamPackSeq\0InitAvailableBaudRateList"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_BlackBox[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
28, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
2, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 154, 2, 0x06 /* Public */,
3, 1, 157, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
4, 1, 160, 2, 0x08 /* Private */,
7, 0, 163, 2, 0x08 /* Private */,
8, 1, 164, 2, 0x08 /* Private */,
10, 0, 167, 2, 0x08 /* Private */,
11, 1, 168, 2, 0x08 /* Private */,
11, 2, 171, 2, 0x08 /* Private */,
16, 2, 176, 2, 0x08 /* Private */,
19, 2, 181, 2, 0x08 /* Private */,
22, 3, 186, 2, 0x08 /* Private */,
26, 1, 193, 2, 0x08 /* Private */,
28, 0, 196, 2, 0x08 /* Private */,
29, 1, 197, 2, 0x08 /* Private */,
31, 4, 200, 2, 0x08 /* Private */,
37, 2, 209, 2, 0x08 /* Private */,
38, 2, 214, 2, 0x08 /* Private */,
40, 0, 219, 2, 0x08 /* Private */,
41, 0, 220, 2, 0x08 /* Private */,
42, 1, 221, 2, 0x08 /* Private */,
44, 1, 224, 2, 0x08 /* Private */,
47, 1, 227, 2, 0x08 /* Private */,
49, 1, 230, 2, 0x08 /* Private */,
51, 1, 233, 2, 0x08 /* Private */,
53, 1, 236, 2, 0x08 /* Private */,
55, 0, 239, 2, 0x08 /* Private */,
56, 0, 240, 2, 0x08 /* Private */,
57, 0, 241, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, QMetaType::QStringList, 2,
QMetaType::Void, QMetaType::Bool, 2,
// slots: parameters
QMetaType::Void, 0x80000000 | 5, 6,
QMetaType::Void,
QMetaType::Void, QMetaType::QByteArray, 9,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 12, 13,
QMetaType::Void, 0x80000000 | 14, 0x80000000 | 12, 15, 13,
QMetaType::Void, 0x80000000 | 12, 0x80000000 | 12, 17, 18,
QMetaType::Void, 0x80000000 | 14, QMetaType::QString, 20, 21,
QMetaType::Void, 0x80000000 | 14, 0x80000000 | 12, QMetaType::QString, 23, 24, 25,
QMetaType::Void, 0x80000000 | 14, 27,
QMetaType::Void,
QMetaType::Void, QMetaType::QByteArray, 30,
QMetaType::Void, 0x80000000 | 14, 0x80000000 | 14, 0x80000000 | 34, 0x80000000 | 34, 32, 33, 35, 36,
QMetaType::Void, 0x80000000 | 14, QMetaType::QByteArray, 33, 30,
QMetaType::Void, 0x80000000 | 14, QMetaType::QString, 39, 30,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 43, 2,
QMetaType::Void, 0x80000000 | 45, 46,
QMetaType::Void, 0x80000000 | 48, 46,
QMetaType::Void, 0x80000000 | 50, 46,
QMetaType::Void, 0x80000000 | 52, 2,
QMetaType::Void, 0x80000000 | 54, 46,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void BlackBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<BlackBox *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->SerialPortChange((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
case 1: _t->SerialConnect((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 2: _t->ErrorProcess((*reinterpret_cast< QSerialPort::SerialPortError(*)>(_a[1]))); break;
case 3: _t->ReceiveBlackBoxMsg(); break;
case 4: _t->SendBlackBoxMsg((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 5: _t->SndHeartBeatToDev(); break;
case 6: _t->SndResToDev((*reinterpret_cast< uint16_t(*)>(_a[1]))); break;
case 7: _t->SndResToDev((*reinterpret_cast< uint8_t(*)>(_a[1])),(*reinterpret_cast< uint16_t(*)>(_a[2]))); break;
case 8: _t->SndReqToDev((*reinterpret_cast< uint16_t(*)>(_a[1])),(*reinterpret_cast< uint16_t(*)>(_a[2]))); break;
case 9: _t->SndFaceIdFrmToDev((*reinterpret_cast< uint8_t(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 10: _t->SndDTUFrmToDev((*reinterpret_cast< uint8_t(*)>(_a[1])),(*reinterpret_cast< uint16_t(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
case 11: _t->SndCmdToDev((*reinterpret_cast< uint8_t(*)>(_a[1]))); break;
case 12: _t->SndSearchToDev(); break;
case 13: _t->SndCloudResToDev((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 14: _t->SndShotCamResToDev((*reinterpret_cast< uint8_t(*)>(_a[1])),(*reinterpret_cast< uint8_t(*)>(_a[2])),(*reinterpret_cast< uint32_t(*)>(_a[3])),(*reinterpret_cast< uint32_t(*)>(_a[4]))); break;
case 15: _t->SndShotCamJpegResToDev((*reinterpret_cast< uint8_t(*)>(_a[1])),(*reinterpret_cast< QByteArray(*)>(_a[2]))); break;
case 16: _t->SndSysModleToDev((*reinterpret_cast< uint8_t(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 17: _t->OpenBlackBoxSerialPort(); break;
case 18: _t->BBNoHeartBeatProcess(); break;
case 19: _t->DevParamDataChangeProcess((*reinterpret_cast< DevParamDataIndex_t(*)>(_a[1]))); break;
case 20: _t->SignalParamDataChangeProcess((*reinterpret_cast< SignalParamDataIndex_t(*)>(_a[1]))); break;
case 21: _t->MultipleParamDataChangeProcess((*reinterpret_cast< MultipleParamDataIndex_t(*)>(_a[1]))); break;
case 22: _t->SystemChangeProcess((*reinterpret_cast< SystemDataIndex_t(*)>(_a[1]))); break;
case 23: _t->MonitorRtDataChangeProcess((*reinterpret_cast< MonitorRtDataIndex_t(*)>(_a[1]))); break;
case 24: _t->MisDataChangeProcess((*reinterpret_cast< MisDataIndex_t(*)>(_a[1]))); break;
case 25: _t->GetavailablePortsList(); break;
case 26: _t->CamPackSeq(); break;
case 27: _t->InitAvailableBaudRateList(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (BlackBox::*)(QStringList );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BlackBox::SerialPortChange)) {
*result = 0;
return;
}
}
{
using _t = void (BlackBox::*)(bool );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BlackBox::SerialConnect)) {
*result = 1;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject BlackBox::staticMetaObject = { {
&QObject::staticMetaObject,
qt_meta_stringdata_BlackBox.data,
qt_meta_data_BlackBox,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *BlackBox::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *BlackBox::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_BlackBox.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int BlackBox::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 < 28)
qt_static_metacall(this, _c, _id, _a);
_id -= 28;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 28)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 28;
}
return _id;
}
// SIGNAL 0
void BlackBox::SerialPortChange(QStringList _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void BlackBox::SerialConnect(bool _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/qinxude/rk3568ui.git
[email protected]:qinxude/rk3568ui.git
qinxude
rk3568ui
rk3568ui
master

搜索帮助