HITDAQ/hit2017v2/debug/moc_datareceiver.cpp

298 lines
9.3 KiB
C++

/****************************************************************************
** Meta object code from reading C++ file 'datareceiver.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.5.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../datareceiver.h"
#include <QtCore/qmetatype.h>
#if __has_include(<QtCore/qtmochelpers.h>)
#include <QtCore/qtmochelpers.h>
#else
QT_BEGIN_MOC_NAMESPACE
#endif
#include <memory>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'datareceiver.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.5.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
#ifdef QT_MOC_HAS_STRINGDATA
struct qt_meta_stringdata_CLASSDataReceiverENDCLASS_t {};
static constexpr auto qt_meta_stringdata_CLASSDataReceiverENDCLASS = QtMocHelpers::stringData(
"DataReceiver",
"sigInit",
"",
"sigDeinit",
"sigConfigureEthSettings",
"sigDataReady",
"DataReceiver*",
"ptr",
"onTimer",
"readData",
"onInit",
"onDeinit",
"onConfigureEthSettings"
);
#else // !QT_MOC_HAS_STRING_DATA
struct qt_meta_stringdata_CLASSDataReceiverENDCLASS_t {
uint offsetsAndSizes[26];
char stringdata0[13];
char stringdata1[8];
char stringdata2[1];
char stringdata3[10];
char stringdata4[24];
char stringdata5[13];
char stringdata6[14];
char stringdata7[4];
char stringdata8[8];
char stringdata9[9];
char stringdata10[7];
char stringdata11[9];
char stringdata12[23];
};
#define QT_MOC_LITERAL(ofs, len) \
uint(sizeof(qt_meta_stringdata_CLASSDataReceiverENDCLASS_t::offsetsAndSizes) + ofs), len
Q_CONSTINIT static const qt_meta_stringdata_CLASSDataReceiverENDCLASS_t qt_meta_stringdata_CLASSDataReceiverENDCLASS = {
{
QT_MOC_LITERAL(0, 12), // "DataReceiver"
QT_MOC_LITERAL(13, 7), // "sigInit"
QT_MOC_LITERAL(21, 0), // ""
QT_MOC_LITERAL(22, 9), // "sigDeinit"
QT_MOC_LITERAL(32, 23), // "sigConfigureEthSettings"
QT_MOC_LITERAL(56, 12), // "sigDataReady"
QT_MOC_LITERAL(69, 13), // "DataReceiver*"
QT_MOC_LITERAL(83, 3), // "ptr"
QT_MOC_LITERAL(87, 7), // "onTimer"
QT_MOC_LITERAL(95, 8), // "readData"
QT_MOC_LITERAL(104, 6), // "onInit"
QT_MOC_LITERAL(111, 8), // "onDeinit"
QT_MOC_LITERAL(120, 22) // "onConfigureEthSettings"
},
"DataReceiver",
"sigInit",
"",
"sigDeinit",
"sigConfigureEthSettings",
"sigDataReady",
"DataReceiver*",
"ptr",
"onTimer",
"readData",
"onInit",
"onDeinit",
"onConfigureEthSettings"
};
#undef QT_MOC_LITERAL
#endif // !QT_MOC_HAS_STRING_DATA
} // unnamed namespace
Q_CONSTINIT static const uint qt_meta_data_CLASSDataReceiverENDCLASS[] = {
// content:
11, // revision
0, // classname
0, 0, // classinfo
9, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
4, // signalCount
// signals: name, argc, parameters, tag, flags, initial metatype offsets
1, 0, 68, 2, 0x06, 1 /* Public */,
3, 0, 69, 2, 0x06, 2 /* Public */,
4, 0, 70, 2, 0x06, 3 /* Public */,
5, 1, 71, 2, 0x06, 4 /* Public */,
// slots: name, argc, parameters, tag, flags, initial metatype offsets
8, 0, 74, 2, 0x0a, 6 /* Public */,
9, 0, 75, 2, 0x09, 7 /* Protected */,
10, 0, 76, 2, 0x09, 8 /* Protected */,
11, 0, 77, 2, 0x09, 9 /* Protected */,
12, 0, 78, 2, 0x09, 10 /* Protected */,
// signals: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 6, 7,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
Q_CONSTINIT const QMetaObject DataReceiver::staticMetaObject = { {
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
qt_meta_stringdata_CLASSDataReceiverENDCLASS.offsetsAndSizes,
qt_meta_data_CLASSDataReceiverENDCLASS,
qt_static_metacall,
nullptr,
qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSDataReceiverENDCLASS_t,
// Q_OBJECT / Q_GADGET
QtPrivate::TypeAndForceComplete<DataReceiver, std::true_type>,
// method 'sigInit'
QtPrivate::TypeAndForceComplete<void, std::false_type>,
// method 'sigDeinit'
QtPrivate::TypeAndForceComplete<void, std::false_type>,
// method 'sigConfigureEthSettings'
QtPrivate::TypeAndForceComplete<void, std::false_type>,
// method 'sigDataReady'
QtPrivate::TypeAndForceComplete<void, std::false_type>,
QtPrivate::TypeAndForceComplete<DataReceiver *, std::false_type>,
// method 'onTimer'
QtPrivate::TypeAndForceComplete<void, std::false_type>,
// method 'readData'
QtPrivate::TypeAndForceComplete<void, std::false_type>,
// method 'onInit'
QtPrivate::TypeAndForceComplete<void, std::false_type>,
// method 'onDeinit'
QtPrivate::TypeAndForceComplete<void, std::false_type>,
// method 'onConfigureEthSettings'
QtPrivate::TypeAndForceComplete<void, std::false_type>
>,
nullptr
} };
void DataReceiver::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<DataReceiver *>(_o);
(void)_t;
switch (_id) {
case 0: _t->sigInit(); break;
case 1: _t->sigDeinit(); break;
case 2: _t->sigConfigureEthSettings(); break;
case 3: _t->sigDataReady((*reinterpret_cast< std::add_pointer_t<DataReceiver*>>(_a[1]))); break;
case 4: _t->onTimer(); break;
case 5: _t->readData(); break;
case 6: _t->onInit(); break;
case 7: _t->onDeinit(); break;
case 8: _t->onConfigureEthSettings(); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
switch (_id) {
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
case 3:
switch (*reinterpret_cast<int*>(_a[1])) {
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
case 0:
*reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DataReceiver* >(); break;
}
break;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (DataReceiver::*)();
if (_t _q_method = &DataReceiver::sigInit; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
*result = 0;
return;
}
}
{
using _t = void (DataReceiver::*)();
if (_t _q_method = &DataReceiver::sigDeinit; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
*result = 1;
return;
}
}
{
using _t = void (DataReceiver::*)();
if (_t _q_method = &DataReceiver::sigConfigureEthSettings; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
*result = 2;
return;
}
}
{
using _t = void (DataReceiver::*)(DataReceiver * );
if (_t _q_method = &DataReceiver::sigDataReady; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
*result = 3;
return;
}
}
}
}
const QMetaObject *DataReceiver::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *DataReceiver::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_CLASSDataReceiverENDCLASS.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int DataReceiver::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 < 9)
qt_static_metacall(this, _c, _id, _a);
_id -= 9;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 9)
qt_static_metacall(this, _c, _id, _a);
_id -= 9;
}
return _id;
}
// SIGNAL 0
void DataReceiver::sigInit()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
// SIGNAL 1
void DataReceiver::sigDeinit()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
// SIGNAL 2
void DataReceiver::sigConfigureEthSettings()
{
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
// SIGNAL 3
void DataReceiver::sigDataReady(DataReceiver * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP