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 69 (Qt 6.9.0)
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 != 69
21#error "This file was generated using the moc from 6.9.0. 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
37template <> constexpr inline auto ScopeController::qt_create_metaobjectdata<qt_meta_tag_ZN15ScopeControllerE_t>()
38{
39 namespace QMC = QtMocConstants;
40 QtMocHelpers::StringRefStorage qt_stringData {
41 "ScopeController",
42 "newFrame",
43 "",
44 "SharedFrame",
45 "frame"
46 };
47
48 QtMocHelpers::UintData qt_methods {
49 // Signal 'newFrame'
50 QtMocHelpers::SignalData<void(const SharedFrame &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
51 { 0x80000000 | 3, 4 },
52 }}),
53 };
54 QtMocHelpers::UintData qt_properties {
55 };
56 QtMocHelpers::UintData qt_enums {
57 };
58 return QtMocHelpers::metaObjectData<ScopeController, qt_meta_tag_ZN15ScopeControllerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
59 qt_methods, qt_properties, qt_enums);
60}
61Q_CONSTINIT const QMetaObject ScopeController::staticMetaObject = { {
62 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
63 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ScopeControllerE_t>.stringdata,
64 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ScopeControllerE_t>.data,
65 qt_static_metacall,
66 nullptr,
67 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ScopeControllerE_t>.metaTypes,
68 nullptr
69} };
70
71void ScopeController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
72{
73 auto *_t = static_cast<ScopeController *>(_o);
74 if (_c == QMetaObject::InvokeMetaMethod) {
75 switch (_id) {
76 case 0: _t->newFrame((*reinterpret_cast< std::add_pointer_t<SharedFrame>>(_a[1]))); break;
77 default: ;
78 }
79 }
80 if (_c == QMetaObject::IndexOfMethod) {
81 if (QtMocHelpers::indexOfMethod<void (ScopeController::*)(const SharedFrame & )>(_a, &ScopeController::newFrame, 0))
82 return;
83 }
84}
85
86const QMetaObject *ScopeController::metaObject() const
87{
88 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
89}
90
91void *ScopeController::qt_metacast(const char *_clname)
92{
93 if (!_clname) return nullptr;
94 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ScopeControllerE_t>.strings))
95 return static_cast<void*>(this);
96 return QObject::qt_metacast(_clname);
97}
98
99int ScopeController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
100{
101 _id = QObject::qt_metacall(_c, _id, _a);
102 if (_id < 0)
103 return _id;
104 if (_c == QMetaObject::InvokeMetaMethod) {
105 if (_id < 1)
106 qt_static_metacall(this, _c, _id, _a);
107 _id -= 1;
108 }
109 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
110 if (_id < 1)
111 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
112 _id -= 1;
113 }
114 return _id;
115}
116
117// SIGNAL 0
118void ScopeController::newFrame(const SharedFrame & _t1)
119{
120 QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
121}
122QT_WARNING_POP
The SharedFrame provides thread safe access to Mlt::Frame data.
Definition sharedframe.h:50