添加项目文件。

This commit is contained in:
ldh
2026-11-06 14:45:09 +08:00
parent fb76f2ed7d
commit 24cbecc2cc
3437 changed files with 895900 additions and 0 deletions
@@ -0,0 +1,348 @@
/****************************************************************************
** Meta object code from reading C++ file 'probe_tube.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../../../probe_tube.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'probe_tube.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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_ProbeTube_t {
QByteArrayData data[25];
char stringdata0[473];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ProbeTube_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ProbeTube_t qt_meta_stringdata_ProbeTube = {
{
QT_MOC_LITERAL(0, 0, 9), // "ProbeTube"
QT_MOC_LITERAL(1, 10, 14), // "finishBakeZero"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 27), // "finishControlModeSelectionA"
QT_MOC_LITERAL(4, 54, 27), // "finishControlModeSelectionB"
QT_MOC_LITERAL(5, 82, 25), // "finishGetAbsolutePosition"
QT_MOC_LITERAL(6, 108, 17), // "finishTargetSpeed"
QT_MOC_LITERAL(7, 126, 22), // "finishAcceleratedSpeed"
QT_MOC_LITERAL(8, 149, 23), // "finishDecelerationSpeed"
QT_MOC_LITERAL(9, 173, 25), // "finishMoveTargetPositionA"
QT_MOC_LITERAL(10, 199, 25), // "finishMoveTargetPositionB"
QT_MOC_LITERAL(11, 225, 23), // "finishSetTargetPosition"
QT_MOC_LITERAL(12, 249, 10), // "doBakeZero"
QT_MOC_LITERAL(13, 260, 23), // "doControlModeSelectionA"
QT_MOC_LITERAL(14, 284, 23), // "doControlModeSelectionB"
QT_MOC_LITERAL(15, 308, 21), // "doGetAbsolutePosition"
QT_MOC_LITERAL(16, 330, 13), // "doTargetSpeed"
QT_MOC_LITERAL(17, 344, 5), // "speed"
QT_MOC_LITERAL(18, 350, 18), // "doAcceleratedSpeed"
QT_MOC_LITERAL(19, 369, 19), // "doDecelerationSpeed"
QT_MOC_LITERAL(20, 389, 21), // "doMoveTargetPositionA"
QT_MOC_LITERAL(21, 411, 21), // "doMoveTargetPositionB"
QT_MOC_LITERAL(22, 433, 19), // "doSetTargetPosition"
QT_MOC_LITERAL(23, 453, 8), // "position"
QT_MOC_LITERAL(24, 462, 10) // "SerialRead"
},
"ProbeTube\0finishBakeZero\0\0"
"finishControlModeSelectionA\0"
"finishControlModeSelectionB\0"
"finishGetAbsolutePosition\0finishTargetSpeed\0"
"finishAcceleratedSpeed\0finishDecelerationSpeed\0"
"finishMoveTargetPositionA\0"
"finishMoveTargetPositionB\0"
"finishSetTargetPosition\0doBakeZero\0"
"doControlModeSelectionA\0doControlModeSelectionB\0"
"doGetAbsolutePosition\0doTargetSpeed\0"
"speed\0doAcceleratedSpeed\0doDecelerationSpeed\0"
"doMoveTargetPositionA\0doMoveTargetPositionB\0"
"doSetTargetPosition\0position\0SerialRead"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_ProbeTube[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
21, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
10, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 119, 2, 0x06 /* Public */,
3, 0, 120, 2, 0x06 /* Public */,
4, 0, 121, 2, 0x06 /* Public */,
5, 0, 122, 2, 0x06 /* Public */,
6, 0, 123, 2, 0x06 /* Public */,
7, 0, 124, 2, 0x06 /* Public */,
8, 0, 125, 2, 0x06 /* Public */,
9, 0, 126, 2, 0x06 /* Public */,
10, 0, 127, 2, 0x06 /* Public */,
11, 0, 128, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
12, 0, 129, 2, 0x0a /* Public */,
13, 0, 130, 2, 0x0a /* Public */,
14, 0, 131, 2, 0x0a /* Public */,
15, 0, 132, 2, 0x0a /* Public */,
16, 1, 133, 2, 0x0a /* Public */,
18, 1, 136, 2, 0x0a /* Public */,
19, 1, 139, 2, 0x0a /* Public */,
20, 0, 142, 2, 0x0a /* Public */,
21, 0, 143, 2, 0x0a /* Public */,
22, 1, 144, 2, 0x0a /* Public */,
24, 0, 147, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 17,
QMetaType::Void, QMetaType::Int, 17,
QMetaType::Void, QMetaType::Int, 17,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 23,
QMetaType::Void,
0 // eod
};
void ProbeTube::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<ProbeTube *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->finishBakeZero(); break;
case 1: _t->finishControlModeSelectionA(); break;
case 2: _t->finishControlModeSelectionB(); break;
case 3: _t->finishGetAbsolutePosition(); break;
case 4: _t->finishTargetSpeed(); break;
case 5: _t->finishAcceleratedSpeed(); break;
case 6: _t->finishDecelerationSpeed(); break;
case 7: _t->finishMoveTargetPositionA(); break;
case 8: _t->finishMoveTargetPositionB(); break;
case 9: _t->finishSetTargetPosition(); break;
case 10: _t->doBakeZero(); break;
case 11: _t->doControlModeSelectionA(); break;
case 12: _t->doControlModeSelectionB(); break;
case 13: _t->doGetAbsolutePosition(); break;
case 14: _t->doTargetSpeed((*reinterpret_cast< int(*)>(_a[1]))); break;
case 15: _t->doAcceleratedSpeed((*reinterpret_cast< int(*)>(_a[1]))); break;
case 16: _t->doDecelerationSpeed((*reinterpret_cast< int(*)>(_a[1]))); break;
case 17: _t->doMoveTargetPositionA(); break;
case 18: _t->doMoveTargetPositionB(); break;
case 19: _t->doSetTargetPosition((*reinterpret_cast< int(*)>(_a[1]))); break;
case 20: _t->SerialRead(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (ProbeTube::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProbeTube::finishBakeZero)) {
*result = 0;
return;
}
}
{
using _t = void (ProbeTube::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProbeTube::finishControlModeSelectionA)) {
*result = 1;
return;
}
}
{
using _t = void (ProbeTube::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProbeTube::finishControlModeSelectionB)) {
*result = 2;
return;
}
}
{
using _t = void (ProbeTube::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProbeTube::finishGetAbsolutePosition)) {
*result = 3;
return;
}
}
{
using _t = void (ProbeTube::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProbeTube::finishTargetSpeed)) {
*result = 4;
return;
}
}
{
using _t = void (ProbeTube::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProbeTube::finishAcceleratedSpeed)) {
*result = 5;
return;
}
}
{
using _t = void (ProbeTube::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProbeTube::finishDecelerationSpeed)) {
*result = 6;
return;
}
}
{
using _t = void (ProbeTube::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProbeTube::finishMoveTargetPositionA)) {
*result = 7;
return;
}
}
{
using _t = void (ProbeTube::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProbeTube::finishMoveTargetPositionB)) {
*result = 8;
return;
}
}
{
using _t = void (ProbeTube::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProbeTube::finishSetTargetPosition)) {
*result = 9;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject ProbeTube::staticMetaObject = { {
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
qt_meta_stringdata_ProbeTube.data,
qt_meta_data_ProbeTube,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *ProbeTube::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *ProbeTube::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_ProbeTube.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int ProbeTube::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 < 21)
qt_static_metacall(this, _c, _id, _a);
_id -= 21;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 21)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 21;
}
return _id;
}
// SIGNAL 0
void ProbeTube::finishBakeZero()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
// SIGNAL 1
void ProbeTube::finishControlModeSelectionA()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
// SIGNAL 2
void ProbeTube::finishControlModeSelectionB()
{
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
// SIGNAL 3
void ProbeTube::finishGetAbsolutePosition()
{
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
// SIGNAL 4
void ProbeTube::finishTargetSpeed()
{
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
// SIGNAL 5
void ProbeTube::finishAcceleratedSpeed()
{
QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
// SIGNAL 6
void ProbeTube::finishDecelerationSpeed()
{
QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
// SIGNAL 7
void ProbeTube::finishMoveTargetPositionA()
{
QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
// SIGNAL 8
void ProbeTube::finishMoveTargetPositionB()
{
QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
// SIGNAL 9
void ProbeTube::finishSetTargetPosition()
{
QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE