388 lines
13 KiB
C++
388 lines
13 KiB
C++
|
/****************************************************************************
|
||
|
** Meta object code from reading C++ file 'eventbuilder.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 "../eventbuilder.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 'eventbuilder.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_CLASSEventBuilderENDCLASS_t {};
|
||
|
static constexpr auto qt_meta_stringdata_CLASSEventBuilderENDCLASS = QtMocHelpers::stringData(
|
||
|
"EventBuilder",
|
||
|
"sigInit",
|
||
|
"",
|
||
|
"sigDeinit",
|
||
|
"sigStartLogging",
|
||
|
"sigStopLogging",
|
||
|
"sigStartTakingHistos",
|
||
|
"sigStopTakingHistos",
|
||
|
"sigHistoCompleted",
|
||
|
"onNewData",
|
||
|
"DataReceiver*",
|
||
|
"receiver",
|
||
|
"onInit",
|
||
|
"onDeinit",
|
||
|
"onStartLogging",
|
||
|
"onStopLogging",
|
||
|
"onStartTakingHistos",
|
||
|
"sample_count",
|
||
|
"onStopTakingHistos"
|
||
|
);
|
||
|
#else // !QT_MOC_HAS_STRING_DATA
|
||
|
struct qt_meta_stringdata_CLASSEventBuilderENDCLASS_t {
|
||
|
uint offsetsAndSizes[38];
|
||
|
char stringdata0[13];
|
||
|
char stringdata1[8];
|
||
|
char stringdata2[1];
|
||
|
char stringdata3[10];
|
||
|
char stringdata4[16];
|
||
|
char stringdata5[15];
|
||
|
char stringdata6[21];
|
||
|
char stringdata7[20];
|
||
|
char stringdata8[18];
|
||
|
char stringdata9[10];
|
||
|
char stringdata10[14];
|
||
|
char stringdata11[9];
|
||
|
char stringdata12[7];
|
||
|
char stringdata13[9];
|
||
|
char stringdata14[15];
|
||
|
char stringdata15[14];
|
||
|
char stringdata16[20];
|
||
|
char stringdata17[13];
|
||
|
char stringdata18[19];
|
||
|
};
|
||
|
#define QT_MOC_LITERAL(ofs, len) \
|
||
|
uint(sizeof(qt_meta_stringdata_CLASSEventBuilderENDCLASS_t::offsetsAndSizes) + ofs), len
|
||
|
Q_CONSTINIT static const qt_meta_stringdata_CLASSEventBuilderENDCLASS_t qt_meta_stringdata_CLASSEventBuilderENDCLASS = {
|
||
|
{
|
||
|
QT_MOC_LITERAL(0, 12), // "EventBuilder"
|
||
|
QT_MOC_LITERAL(13, 7), // "sigInit"
|
||
|
QT_MOC_LITERAL(21, 0), // ""
|
||
|
QT_MOC_LITERAL(22, 9), // "sigDeinit"
|
||
|
QT_MOC_LITERAL(32, 15), // "sigStartLogging"
|
||
|
QT_MOC_LITERAL(48, 14), // "sigStopLogging"
|
||
|
QT_MOC_LITERAL(63, 20), // "sigStartTakingHistos"
|
||
|
QT_MOC_LITERAL(84, 19), // "sigStopTakingHistos"
|
||
|
QT_MOC_LITERAL(104, 17), // "sigHistoCompleted"
|
||
|
QT_MOC_LITERAL(122, 9), // "onNewData"
|
||
|
QT_MOC_LITERAL(132, 13), // "DataReceiver*"
|
||
|
QT_MOC_LITERAL(146, 8), // "receiver"
|
||
|
QT_MOC_LITERAL(155, 6), // "onInit"
|
||
|
QT_MOC_LITERAL(162, 8), // "onDeinit"
|
||
|
QT_MOC_LITERAL(171, 14), // "onStartLogging"
|
||
|
QT_MOC_LITERAL(186, 13), // "onStopLogging"
|
||
|
QT_MOC_LITERAL(200, 19), // "onStartTakingHistos"
|
||
|
QT_MOC_LITERAL(220, 12), // "sample_count"
|
||
|
QT_MOC_LITERAL(233, 18) // "onStopTakingHistos"
|
||
|
},
|
||
|
"EventBuilder",
|
||
|
"sigInit",
|
||
|
"",
|
||
|
"sigDeinit",
|
||
|
"sigStartLogging",
|
||
|
"sigStopLogging",
|
||
|
"sigStartTakingHistos",
|
||
|
"sigStopTakingHistos",
|
||
|
"sigHistoCompleted",
|
||
|
"onNewData",
|
||
|
"DataReceiver*",
|
||
|
"receiver",
|
||
|
"onInit",
|
||
|
"onDeinit",
|
||
|
"onStartLogging",
|
||
|
"onStopLogging",
|
||
|
"onStartTakingHistos",
|
||
|
"sample_count",
|
||
|
"onStopTakingHistos"
|
||
|
};
|
||
|
#undef QT_MOC_LITERAL
|
||
|
#endif // !QT_MOC_HAS_STRING_DATA
|
||
|
} // unnamed namespace
|
||
|
|
||
|
Q_CONSTINIT static const uint qt_meta_data_CLASSEventBuilderENDCLASS[] = {
|
||
|
|
||
|
// content:
|
||
|
11, // revision
|
||
|
0, // classname
|
||
|
0, 0, // classinfo
|
||
|
14, 14, // methods
|
||
|
0, 0, // properties
|
||
|
0, 0, // enums/sets
|
||
|
0, 0, // constructors
|
||
|
0, // flags
|
||
|
7, // signalCount
|
||
|
|
||
|
// signals: name, argc, parameters, tag, flags, initial metatype offsets
|
||
|
1, 0, 98, 2, 0x06, 1 /* Public */,
|
||
|
3, 0, 99, 2, 0x06, 2 /* Public */,
|
||
|
4, 0, 100, 2, 0x06, 3 /* Public */,
|
||
|
5, 0, 101, 2, 0x06, 4 /* Public */,
|
||
|
6, 1, 102, 2, 0x06, 5 /* Public */,
|
||
|
7, 0, 105, 2, 0x06, 7 /* Public */,
|
||
|
8, 0, 106, 2, 0x06, 8 /* Public */,
|
||
|
|
||
|
// slots: name, argc, parameters, tag, flags, initial metatype offsets
|
||
|
9, 1, 107, 2, 0x0a, 9 /* Public */,
|
||
|
12, 0, 110, 2, 0x09, 11 /* Protected */,
|
||
|
13, 0, 111, 2, 0x09, 12 /* Protected */,
|
||
|
14, 0, 112, 2, 0x09, 13 /* Protected */,
|
||
|
15, 0, 113, 2, 0x09, 14 /* Protected */,
|
||
|
16, 1, 114, 2, 0x09, 15 /* Protected */,
|
||
|
18, 0, 117, 2, 0x09, 17 /* Protected */,
|
||
|
|
||
|
// signals: parameters
|
||
|
QMetaType::Void,
|
||
|
QMetaType::Void,
|
||
|
QMetaType::Void,
|
||
|
QMetaType::Void,
|
||
|
QMetaType::Void, QMetaType::Int, 2,
|
||
|
QMetaType::Void,
|
||
|
QMetaType::Void,
|
||
|
|
||
|
// slots: parameters
|
||
|
QMetaType::Void, 0x80000000 | 10, 11,
|
||
|
QMetaType::Void,
|
||
|
QMetaType::Void,
|
||
|
QMetaType::Void,
|
||
|
QMetaType::Void,
|
||
|
QMetaType::Void, QMetaType::Int, 17,
|
||
|
QMetaType::Void,
|
||
|
|
||
|
0 // eod
|
||
|
};
|
||
|
|
||
|
Q_CONSTINIT const QMetaObject EventBuilder::staticMetaObject = { {
|
||
|
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||
|
qt_meta_stringdata_CLASSEventBuilderENDCLASS.offsetsAndSizes,
|
||
|
qt_meta_data_CLASSEventBuilderENDCLASS,
|
||
|
qt_static_metacall,
|
||
|
nullptr,
|
||
|
qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSEventBuilderENDCLASS_t,
|
||
|
// Q_OBJECT / Q_GADGET
|
||
|
QtPrivate::TypeAndForceComplete<EventBuilder, std::true_type>,
|
||
|
// method 'sigInit'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
// method 'sigDeinit'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
// method 'sigStartLogging'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
// method 'sigStopLogging'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
// method 'sigStartTakingHistos'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
QtPrivate::TypeAndForceComplete<int, std::false_type>,
|
||
|
// method 'sigStopTakingHistos'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
// method 'sigHistoCompleted'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
// method 'onNewData'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
QtPrivate::TypeAndForceComplete<DataReceiver *, std::false_type>,
|
||
|
// method 'onInit'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
// method 'onDeinit'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
// method 'onStartLogging'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
// method 'onStopLogging'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
// method 'onStartTakingHistos'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
||
|
QtPrivate::TypeAndForceComplete<int, std::false_type>,
|
||
|
// method 'onStopTakingHistos'
|
||
|
QtPrivate::TypeAndForceComplete<void, std::false_type>
|
||
|
>,
|
||
|
nullptr
|
||
|
} };
|
||
|
|
||
|
void EventBuilder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||
|
{
|
||
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
||
|
auto *_t = static_cast<EventBuilder *>(_o);
|
||
|
(void)_t;
|
||
|
switch (_id) {
|
||
|
case 0: _t->sigInit(); break;
|
||
|
case 1: _t->sigDeinit(); break;
|
||
|
case 2: _t->sigStartLogging(); break;
|
||
|
case 3: _t->sigStopLogging(); break;
|
||
|
case 4: _t->sigStartTakingHistos((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
|
||
|
case 5: _t->sigStopTakingHistos(); break;
|
||
|
case 6: _t->sigHistoCompleted(); break;
|
||
|
case 7: _t->onNewData((*reinterpret_cast< std::add_pointer_t<DataReceiver*>>(_a[1]))); break;
|
||
|
case 8: _t->onInit(); break;
|
||
|
case 9: _t->onDeinit(); break;
|
||
|
case 10: _t->onStartLogging(); break;
|
||
|
case 11: _t->onStopLogging(); break;
|
||
|
case 12: _t->onStartTakingHistos((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
|
||
|
case 13: _t->onStopTakingHistos(); break;
|
||
|
default: ;
|
||
|
}
|
||
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||
|
switch (_id) {
|
||
|
default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
|
||
|
case 7:
|
||
|
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 (EventBuilder::*)();
|
||
|
if (_t _q_method = &EventBuilder::sigInit; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
|
||
|
*result = 0;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
{
|
||
|
using _t = void (EventBuilder::*)();
|
||
|
if (_t _q_method = &EventBuilder::sigDeinit; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
|
||
|
*result = 1;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
{
|
||
|
using _t = void (EventBuilder::*)();
|
||
|
if (_t _q_method = &EventBuilder::sigStartLogging; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
|
||
|
*result = 2;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
{
|
||
|
using _t = void (EventBuilder::*)();
|
||
|
if (_t _q_method = &EventBuilder::sigStopLogging; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
|
||
|
*result = 3;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
{
|
||
|
using _t = void (EventBuilder::*)(int );
|
||
|
if (_t _q_method = &EventBuilder::sigStartTakingHistos; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
|
||
|
*result = 4;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
{
|
||
|
using _t = void (EventBuilder::*)();
|
||
|
if (_t _q_method = &EventBuilder::sigStopTakingHistos; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
|
||
|
*result = 5;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
{
|
||
|
using _t = void (EventBuilder::*)();
|
||
|
if (_t _q_method = &EventBuilder::sigHistoCompleted; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
|
||
|
*result = 6;
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
const QMetaObject *EventBuilder::metaObject() const
|
||
|
{
|
||
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||
|
}
|
||
|
|
||
|
void *EventBuilder::qt_metacast(const char *_clname)
|
||
|
{
|
||
|
if (!_clname) return nullptr;
|
||
|
if (!strcmp(_clname, qt_meta_stringdata_CLASSEventBuilderENDCLASS.stringdata0))
|
||
|
return static_cast<void*>(this);
|
||
|
return QObject::qt_metacast(_clname);
|
||
|
}
|
||
|
|
||
|
int EventBuilder::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 < 14)
|
||
|
qt_static_metacall(this, _c, _id, _a);
|
||
|
_id -= 14;
|
||
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||
|
if (_id < 14)
|
||
|
qt_static_metacall(this, _c, _id, _a);
|
||
|
_id -= 14;
|
||
|
}
|
||
|
return _id;
|
||
|
}
|
||
|
|
||
|
// SIGNAL 0
|
||
|
void EventBuilder::sigInit()
|
||
|
{
|
||
|
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||
|
}
|
||
|
|
||
|
// SIGNAL 1
|
||
|
void EventBuilder::sigDeinit()
|
||
|
{
|
||
|
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||
|
}
|
||
|
|
||
|
// SIGNAL 2
|
||
|
void EventBuilder::sigStartLogging()
|
||
|
{
|
||
|
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||
|
}
|
||
|
|
||
|
// SIGNAL 3
|
||
|
void EventBuilder::sigStopLogging()
|
||
|
{
|
||
|
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
|
||
|
}
|
||
|
|
||
|
// SIGNAL 4
|
||
|
void EventBuilder::sigStartTakingHistos(int _t1)
|
||
|
{
|
||
|
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||
|
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||
|
}
|
||
|
|
||
|
// SIGNAL 5
|
||
|
void EventBuilder::sigStopTakingHistos()
|
||
|
{
|
||
|
QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
|
||
|
}
|
||
|
|
||
|
// SIGNAL 6
|
||
|
void EventBuilder::sigHistoCompleted()
|
||
|
{
|
||
|
QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
|
||
|
}
|
||
|
QT_WARNING_POP
|