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.6.2)
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#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'scopecontroller.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.2. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSScopeControllerENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSScopeControllerENDCLASS = QtMocHelpers::stringData(
41 "ScopeController",
42 "newFrame",
43 "",
44 "SharedFrame",
45 "frame"
46);
47#else // !QT_MOC_HAS_STRING_DATA
48struct qt_meta_stringdata_CLASSScopeControllerENDCLASS_t {
49 uint offsetsAndSizes[10];
50 char stringdata0[16];
51 char stringdata1[9];
52 char stringdata2[1];
53 char stringdata3[12];
54 char stringdata4[6];
55};
56#define QT_MOC_LITERAL(ofs, len) \
57 uint(sizeof(qt_meta_stringdata_CLASSScopeControllerENDCLASS_t::offsetsAndSizes) + ofs), len
58Q_CONSTINIT static const qt_meta_stringdata_CLASSScopeControllerENDCLASS_t qt_meta_stringdata_CLASSScopeControllerENDCLASS = {
59 {
60 QT_MOC_LITERAL(0, 15), // "ScopeController"
61 QT_MOC_LITERAL(16, 8), // "newFrame"
62 QT_MOC_LITERAL(25, 0), // ""
63 QT_MOC_LITERAL(26, 11), // "SharedFrame"
64 QT_MOC_LITERAL(38, 5) // "frame"
65 },
66 "ScopeController",
67 "newFrame",
68 "",
69 "SharedFrame",
70 "frame"
71};
72#undef QT_MOC_LITERAL
73#endif // !QT_MOC_HAS_STRING_DATA
74} // unnamed namespace
75
76Q_CONSTINIT static const uint qt_meta_data_CLASSScopeControllerENDCLASS[] = {
77
78 // content:
79 12, // revision
80 0, // classname
81 0, 0, // classinfo
82 1, 14, // methods
83 0, 0, // properties
84 0, 0, // enums/sets
85 0, 0, // constructors
86 0, // flags
87 1, // signalCount
88
89 // signals: name, argc, parameters, tag, flags, initial metatype offsets
90 1, 1, 20, 2, 0x06, 1 /* Public */,
91
92 // signals: parameters
93 QMetaType::Void, 0x80000000 | 3, 4,
94
95 0 // eod
96};
97
98Q_CONSTINIT const QMetaObject ScopeController::staticMetaObject = { {
99 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
100 qt_meta_stringdata_CLASSScopeControllerENDCLASS.offsetsAndSizes,
101 qt_meta_data_CLASSScopeControllerENDCLASS,
102 qt_static_metacall,
103 nullptr,
104 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSScopeControllerENDCLASS_t,
105 // Q_OBJECT / Q_GADGET
106 QtPrivate::TypeAndForceComplete<ScopeController, std::true_type>,
107 // method 'newFrame'
108 QtPrivate::TypeAndForceComplete<void, std::false_type>,
109 QtPrivate::TypeAndForceComplete<const SharedFrame &, std::false_type>
110 >,
111 nullptr
112} };
113
114void ScopeController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
115{
116 if (_c == QMetaObject::InvokeMetaMethod) {
117 auto *_t = static_cast<ScopeController *>(_o);
118 (void)_t;
119 switch (_id) {
120 case 0: _t->newFrame((*reinterpret_cast< std::add_pointer_t<SharedFrame>>(_a[1]))); break;
121 default: ;
122 }
123 } else if (_c == QMetaObject::IndexOfMethod) {
124 int *result = reinterpret_cast<int *>(_a[0]);
125 {
126 using _t = void (ScopeController::*)(const SharedFrame & );
127 if (_t _q_method = &ScopeController::newFrame; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
128 *result = 0;
129 return;
130 }
131 }
132 }
133}
134
135const QMetaObject *ScopeController::metaObject() const
136{
137 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
138}
139
140void *ScopeController::qt_metacast(const char *_clname)
141{
142 if (!_clname) return nullptr;
143 if (!strcmp(_clname, qt_meta_stringdata_CLASSScopeControllerENDCLASS.stringdata0))
144 return static_cast<void*>(this);
145 return QObject::qt_metacast(_clname);
146}
147
148int ScopeController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
149{
150 _id = QObject::qt_metacall(_c, _id, _a);
151 if (_id < 0)
152 return _id;
153 if (_c == QMetaObject::InvokeMetaMethod) {
154 if (_id < 1)
155 qt_static_metacall(this, _c, _id, _a);
156 _id -= 1;
157 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
158 if (_id < 1)
159 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
160 _id -= 1;
161 }
162 return _id;
163}
164
165// SIGNAL 0
166void ScopeController::newFrame(const SharedFrame & _t1)
167{
168 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
169 QMetaObject::activate(this, &staticMetaObject, 0, _a);
170}
171QT_WARNING_POP
The SharedFrame provides thread safe access to Mlt::Frame data.
Definition sharedframe.h:49