CuteLogger
Fast and simple logging solution for Qt based applications
moc_scopecontroller.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'scopecontroller.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.3)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/controllers/scopecontroller.h"
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'scopecontroller.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.3. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34struct qt_meta_tag_ZN15ScopeControllerE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN15ScopeControllerE = QtMocHelpers::stringData(
40 "ScopeController",
41 "newFrame",
42 "",
43 "SharedFrame",
44 "frame"
45);
46#else // !QT_MOC_HAS_STRINGDATA
47#error "qtmochelpers.h not found or too old."
48#endif // !QT_MOC_HAS_STRINGDATA
49
50Q_CONSTINIT static const uint qt_meta_data_ZN15ScopeControllerE[] = {
51
52 // content:
53 12, // revision
54 0, // classname
55 0, 0, // classinfo
56 1, 14, // methods
57 0, 0, // properties
58 0, 0, // enums/sets
59 0, 0, // constructors
60 0, // flags
61 1, // signalCount
62
63 // signals: name, argc, parameters, tag, flags, initial metatype offsets
64 1, 1, 20, 2, 0x06, 1 /* Public */,
65
66 // signals: parameters
67 QMetaType::Void, 0x80000000 | 3, 4,
68
69 0 // eod
70};
71
72Q_CONSTINIT const QMetaObject ScopeController::staticMetaObject = { {
73 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
74 qt_meta_stringdata_ZN15ScopeControllerE.offsetsAndSizes,
75 qt_meta_data_ZN15ScopeControllerE,
76 qt_static_metacall,
77 nullptr,
78 qt_incomplete_metaTypeArray<qt_meta_tag_ZN15ScopeControllerE_t,
79 // Q_OBJECT / Q_GADGET
80 QtPrivate::TypeAndForceComplete<ScopeController, std::true_type>,
81 // method 'newFrame'
82 QtPrivate::TypeAndForceComplete<void, std::false_type>,
83 QtPrivate::TypeAndForceComplete<const SharedFrame &, std::false_type>
84 >,
85 nullptr
86} };
87
88void ScopeController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
89{
90 auto *_t = static_cast<ScopeController *>(_o);
91 if (_c == QMetaObject::InvokeMetaMethod) {
92 switch (_id) {
93 case 0: _t->newFrame((*reinterpret_cast< std::add_pointer_t<SharedFrame>>(_a[1]))); break;
94 default: ;
95 }
96 }
97 if (_c == QMetaObject::IndexOfMethod) {
98 int *result = reinterpret_cast<int *>(_a[0]);
99 {
100 using _q_method_type = void (ScopeController::*)(const SharedFrame & );
101 if (_q_method_type _q_method = &ScopeController::newFrame; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
102 *result = 0;
103 return;
104 }
105 }
106 }
107}
108
109const QMetaObject *ScopeController::metaObject() const
110{
111 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
112}
113
114void *ScopeController::qt_metacast(const char *_clname)
115{
116 if (!_clname) return nullptr;
117 if (!strcmp(_clname, qt_meta_stringdata_ZN15ScopeControllerE.stringdata0))
118 return static_cast<void*>(this);
119 return QObject::qt_metacast(_clname);
120}
121
122int ScopeController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
123{
124 _id = QObject::qt_metacall(_c, _id, _a);
125 if (_id < 0)
126 return _id;
127 if (_c == QMetaObject::InvokeMetaMethod) {
128 if (_id < 1)
129 qt_static_metacall(this, _c, _id, _a);
130 _id -= 1;
131 }
132 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
133 if (_id < 1)
134 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
135 _id -= 1;
136 }
137 return _id;
138}
139
140// SIGNAL 0
141void ScopeController::newFrame(const SharedFrame & _t1)
142{
143 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
144 QMetaObject::activate(this, &staticMetaObject, 0, _a);
145}
146QT_WARNING_POP
The SharedFrame provides thread safe access to Mlt::Frame data.
Definition sharedframe.h:50