9#include "../../../../src/controllers/scopecontroller.h"
10#include <QtCore/qmetatype.h>
12#include <QtCore/qtmochelpers.h>
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.7.2. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSScopeControllerENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSScopeControllerENDCLASS = QtMocHelpers::stringData(
45#error "qtmochelpers.h not found or too old."
49Q_CONSTINIT
static const uint qt_meta_data_CLASSScopeControllerENDCLASS[] = {
63 1, 1, 20, 2, 0x06, 1 ,
66 QMetaType::Void, 0x80000000 | 3, 4,
71Q_CONSTINIT
const QMetaObject ScopeController::staticMetaObject = { {
72 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
73 qt_meta_stringdata_CLASSScopeControllerENDCLASS.offsetsAndSizes,
74 qt_meta_data_CLASSScopeControllerENDCLASS,
77 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSScopeControllerENDCLASS_t,
79 QtPrivate::TypeAndForceComplete<ScopeController, std::true_type>,
81 QtPrivate::TypeAndForceComplete<void, std::false_type>,
82 QtPrivate::TypeAndForceComplete<const SharedFrame &, std::false_type>
87void ScopeController::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
89 if (_c == QMetaObject::InvokeMetaMethod) {
90 auto *_t =
static_cast<ScopeController *
>(_o);
93 case 0: _t->newFrame((*
reinterpret_cast< std::add_pointer_t<SharedFrame>
>(_a[1])));
break;
96 }
else if (_c == QMetaObject::IndexOfMethod) {
97 int *result =
reinterpret_cast<int *
>(_a[0]);
99 using _t = void (ScopeController::*)(
const SharedFrame & );
100 if (_t _q_method = &ScopeController::newFrame; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
108const QMetaObject *ScopeController::metaObject()
const
110 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
113void *ScopeController::qt_metacast(
const char *_clname)
115 if (!_clname)
return nullptr;
116 if (!strcmp(_clname, qt_meta_stringdata_CLASSScopeControllerENDCLASS.stringdata0))
117 return static_cast<void*
>(
this);
118 return QObject::qt_metacast(_clname);
121int ScopeController::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
123 _id = QObject::qt_metacall(_c, _id, _a);
126 if (_c == QMetaObject::InvokeMetaMethod) {
128 qt_static_metacall(
this, _c, _id, _a);
130 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
132 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
139void ScopeController::newFrame(
const SharedFrame & _t1)
141 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
142 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
The SharedFrame provides thread safe access to Mlt::Frame data.
Definition sharedframe.h:49