PulseView  0.3.0
A Qt-based sigrok GUI
moc_decoderstack.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'decoderstack.hpp'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "../../../../pv/data/decoderstack.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'decoderstack.hpp' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.5.1. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
22  QByteArrayData data[6];
23  char stringdata0[85];
24 };
25 #define QT_MOC_LITERAL(idx, ofs, len) \
26  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27  qptrdiff(offsetof(qt_meta_stringdata_pv__data__DecoderStack_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 22), // "pv::data::DecoderStack"
33 QT_MOC_LITERAL(1, 23, 15), // "new_decode_data"
34 QT_MOC_LITERAL(2, 39, 0), // ""
35 QT_MOC_LITERAL(3, 40, 12), // "on_new_frame"
36 QT_MOC_LITERAL(4, 53, 16), // "on_data_received"
37 QT_MOC_LITERAL(5, 70, 14) // "on_frame_ended"
38 
39  },
40  "pv::data::DecoderStack\0new_decode_data\0"
41  "\0on_new_frame\0on_data_received\0"
42  "on_frame_ended"
43 };
44 #undef QT_MOC_LITERAL
45 
46 static const uint qt_meta_data_pv__data__DecoderStack[] = {
47 
48  // content:
49  7, // revision
50  0, // classname
51  0, 0, // classinfo
52  4, 14, // methods
53  0, 0, // properties
54  0, 0, // enums/sets
55  0, 0, // constructors
56  0, // flags
57  1, // signalCount
58 
59  // signals: name, argc, parameters, tag, flags
60  1, 0, 34, 2, 0x06 /* Public */,
61 
62  // slots: name, argc, parameters, tag, flags
63  3, 0, 35, 2, 0x08 /* Private */,
64  4, 0, 36, 2, 0x08 /* Private */,
65  5, 0, 37, 2, 0x08 /* Private */,
66 
67  // signals: parameters
68  QMetaType::Void,
69 
70  // slots: parameters
71  QMetaType::Void,
72  QMetaType::Void,
73  QMetaType::Void,
74 
75  0 // eod
76 };
77 
78 void pv::data::DecoderStack::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
79 {
80  if (_c == QMetaObject::InvokeMetaMethod) {
81  DecoderStack *_t = static_cast<DecoderStack *>(_o);
82  Q_UNUSED(_t)
83  switch (_id) {
84  case 0: _t->new_decode_data(); break;
85  case 1: _t->on_new_frame(); break;
86  case 2: _t->on_data_received(); break;
87  case 3: _t->on_frame_ended(); break;
88  default: ;
89  }
90  } else if (_c == QMetaObject::IndexOfMethod) {
91  int *result = reinterpret_cast<int *>(_a[0]);
92  void **func = reinterpret_cast<void **>(_a[1]);
93  {
94  typedef void (DecoderStack::*_t)();
95  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecoderStack::new_decode_data)) {
96  *result = 0;
97  }
98  }
99  }
100  Q_UNUSED(_a);
101 }
102 
103 const QMetaObject pv::data::DecoderStack::staticMetaObject = {
104  { &QObject::staticMetaObject, qt_meta_stringdata_pv__data__DecoderStack.data,
105  qt_meta_data_pv__data__DecoderStack, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
106 };
107 
108 
109 const QMetaObject *pv::data::DecoderStack::metaObject() const
110 {
111  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
112 }
113 
114 void *pv::data::DecoderStack::qt_metacast(const char *_clname)
115 {
116  if (!_clname) return Q_NULLPTR;
117  if (!strcmp(_clname, qt_meta_stringdata_pv__data__DecoderStack.stringdata0))
118  return static_cast<void*>(const_cast< DecoderStack*>(this));
119  return QObject::qt_metacast(_clname);
120 }
121 
122 int pv::data::DecoderStack::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 < 4)
129  qt_static_metacall(this, _c, _id, _a);
130  _id -= 4;
131  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
132  if (_id < 4)
133  *reinterpret_cast<int*>(_a[0]) = -1;
134  _id -= 4;
135  }
136  return _id;
137 }
138 
139 // SIGNAL 0
141 {
142  QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
143 }
144 QT_END_MOC_NAMESPACE
static const qt_meta_stringdata_pv__data__DecoderStack_t qt_meta_stringdata_pv__data__DecoderStack
static const uint qt_meta_data_pv__data__DecoderStack[]
DecoderStack(pv::Session &session_, const srd_decoder *const decoder)
#define QT_MOC_LITERAL(idx, ofs, len)