9#include "../../../../src/controllers/scopecontroller.h"
10#include <QtCore/qmetatype.h>
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
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.)"
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSScopeControllerENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSScopeControllerENDCLASS = QtMocHelpers::stringData(
48struct qt_meta_stringdata_CLASSScopeControllerENDCLASS_t {
49 uint offsetsAndSizes[10];
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 = {
60 QT_MOC_LITERAL(0, 15),
61 QT_MOC_LITERAL(16, 8),
62 QT_MOC_LITERAL(25, 0),
63 QT_MOC_LITERAL(26, 11),
76Q_CONSTINIT
static const uint qt_meta_data_CLASSScopeControllerENDCLASS[] = {
90 1, 1, 20, 2, 0x06, 1 ,
93 QMetaType::Void, 0x80000000 | 3, 4,
98Q_CONSTINIT
const QMetaObject ScopeController::staticMetaObject = { {
99 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
100 qt_meta_stringdata_CLASSScopeControllerENDCLASS.offsetsAndSizes,
101 qt_meta_data_CLASSScopeControllerENDCLASS,
104 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSScopeControllerENDCLASS_t,
106 QtPrivate::TypeAndForceComplete<ScopeController, std::true_type>,
108 QtPrivate::TypeAndForceComplete<void, std::false_type>,
109 QtPrivate::TypeAndForceComplete<const SharedFrame &, std::false_type>
114void ScopeController::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
116 if (_c == QMetaObject::InvokeMetaMethod) {
117 auto *_t =
static_cast<ScopeController *
>(_o);
120 case 0: _t->newFrame((*
reinterpret_cast< std::add_pointer_t<SharedFrame>
>(_a[1])));
break;
123 }
else if (_c == QMetaObject::IndexOfMethod) {
124 int *result =
reinterpret_cast<int *
>(_a[0]);
126 using _t = void (ScopeController::*)(const
SharedFrame & );
127 if (_t _q_method = &ScopeController::newFrame; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
135const QMetaObject *ScopeController::metaObject()
const
137 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
140void *ScopeController::qt_metacast(
const char *_clname)
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);
148int ScopeController::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
150 _id = QObject::qt_metacall(_c, _id, _a);
153 if (_c == QMetaObject::InvokeMetaMethod) {
155 qt_static_metacall(
this, _c, _id, _a);
157 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
159 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
166void ScopeController::newFrame(
const SharedFrame & _t1)
168 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
169 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
The SharedFrame provides thread safe access to Mlt::Frame data.
Definition sharedframe.h:49