PulseView  unreleased development snapshot
A Qt-based sigrok GUI
moc_decodesignal.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'decodesignal.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/decodesignal.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'decodesignal.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[19];
23  char stringdata0[320];
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__DecodeSignal_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 22), // "pv::data::DecodeSignal"
33 QT_MOC_LITERAL(1, 23, 15), // "decoder_stacked"
34 QT_MOC_LITERAL(2, 39, 0), // ""
35 QT_MOC_LITERAL(3, 40, 7), // "decoder"
36 QT_MOC_LITERAL(4, 48, 15), // "decoder_removed"
37 QT_MOC_LITERAL(5, 64, 15), // "new_annotations"
38 QT_MOC_LITERAL(6, 80, 15), // "new_binary_data"
39 QT_MOC_LITERAL(7, 96, 10), // "segment_id"
40 QT_MOC_LITERAL(8, 107, 12), // "bin_class_id"
41 QT_MOC_LITERAL(9, 120, 12), // "decode_reset"
42 QT_MOC_LITERAL(10, 133, 15), // "decode_finished"
43 QT_MOC_LITERAL(11, 149, 16), // "channels_updated"
44 QT_MOC_LITERAL(12, 166, 29), // "annotation_visibility_changed"
45 QT_MOC_LITERAL(13, 196, 24), // "on_capture_state_changed"
46 QT_MOC_LITERAL(14, 221, 5), // "state"
47 QT_MOC_LITERAL(15, 227, 15), // "on_data_cleared"
48 QT_MOC_LITERAL(16, 243, 16), // "on_data_received"
49 QT_MOC_LITERAL(17, 260, 26), // "on_input_segment_completed"
50 QT_MOC_LITERAL(18, 287, 32) // "on_annotation_visibility_changed"
51 
52  },
53  "pv::data::DecodeSignal\0decoder_stacked\0"
54  "\0decoder\0decoder_removed\0new_annotations\0"
55  "new_binary_data\0segment_id\0bin_class_id\0"
56  "decode_reset\0decode_finished\0"
57  "channels_updated\0annotation_visibility_changed\0"
58  "on_capture_state_changed\0state\0"
59  "on_data_cleared\0on_data_received\0"
60  "on_input_segment_completed\0"
61  "on_annotation_visibility_changed"
62 };
63 #undef QT_MOC_LITERAL
64 
65 static const uint qt_meta_data_pv__data__DecodeSignal[] = {
66 
67  // content:
68  7, // revision
69  0, // classname
70  0, 0, // classinfo
71  13, 14, // methods
72  0, 0, // properties
73  0, 0, // enums/sets
74  0, 0, // constructors
75  0, // flags
76  8, // signalCount
77 
78  // signals: name, argc, parameters, tag, flags
79  1, 1, 79, 2, 0x06 /* Public */,
80  4, 1, 82, 2, 0x06 /* Public */,
81  5, 0, 85, 2, 0x06 /* Public */,
82  6, 3, 86, 2, 0x06 /* Public */,
83  9, 0, 93, 2, 0x06 /* Public */,
84  10, 0, 94, 2, 0x06 /* Public */,
85  11, 0, 95, 2, 0x06 /* Public */,
86  12, 0, 96, 2, 0x06 /* Public */,
87 
88  // slots: name, argc, parameters, tag, flags
89  13, 1, 97, 2, 0x08 /* Private */,
90  15, 0, 100, 2, 0x08 /* Private */,
91  16, 0, 101, 2, 0x08 /* Private */,
92  17, 0, 102, 2, 0x08 /* Private */,
93  18, 0, 103, 2, 0x08 /* Private */,
94 
95  // signals: parameters
96  QMetaType::Void, QMetaType::VoidStar, 3,
97  QMetaType::Void, QMetaType::VoidStar, 3,
98  QMetaType::Void,
99  QMetaType::Void, QMetaType::UInt, QMetaType::VoidStar, QMetaType::UInt, 7, 3, 8,
100  QMetaType::Void,
101  QMetaType::Void,
102  QMetaType::Void,
103  QMetaType::Void,
104 
105  // slots: parameters
106  QMetaType::Void, QMetaType::Int, 14,
107  QMetaType::Void,
108  QMetaType::Void,
109  QMetaType::Void,
110  QMetaType::Void,
111 
112  0 // eod
113 };
114 
115 void pv::data::DecodeSignal::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
116 {
117  if (_c == QMetaObject::InvokeMetaMethod) {
118  DecodeSignal *_t = static_cast<DecodeSignal *>(_o);
119  Q_UNUSED(_t)
120  switch (_id) {
121  case 0: _t->decoder_stacked((*reinterpret_cast< void*(*)>(_a[1]))); break;
122  case 1: _t->decoder_removed((*reinterpret_cast< void*(*)>(_a[1]))); break;
123  case 2: _t->new_annotations(); break;
124  case 3: _t->new_binary_data((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
125  case 4: _t->decode_reset(); break;
126  case 5: _t->decode_finished(); break;
127  case 6: _t->channels_updated(); break;
128  case 7: _t->annotation_visibility_changed(); break;
129  case 8: _t->on_capture_state_changed((*reinterpret_cast< int(*)>(_a[1]))); break;
130  case 9: _t->on_data_cleared(); break;
131  case 10: _t->on_data_received(); break;
132  case 11: _t->on_input_segment_completed(); break;
133  case 12: _t->on_annotation_visibility_changed(); break;
134  default: ;
135  }
136  } else if (_c == QMetaObject::IndexOfMethod) {
137  int *result = reinterpret_cast<int *>(_a[0]);
138  void **func = reinterpret_cast<void **>(_a[1]);
139  {
140  typedef void (DecodeSignal::*_t)(void * );
141  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecodeSignal::decoder_stacked)) {
142  *result = 0;
143  }
144  }
145  {
146  typedef void (DecodeSignal::*_t)(void * );
147  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecodeSignal::decoder_removed)) {
148  *result = 1;
149  }
150  }
151  {
152  typedef void (DecodeSignal::*_t)();
153  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecodeSignal::new_annotations)) {
154  *result = 2;
155  }
156  }
157  {
158  typedef void (DecodeSignal::*_t)(unsigned int , void * , unsigned int );
159  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecodeSignal::new_binary_data)) {
160  *result = 3;
161  }
162  }
163  {
164  typedef void (DecodeSignal::*_t)();
165  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecodeSignal::decode_reset)) {
166  *result = 4;
167  }
168  }
169  {
170  typedef void (DecodeSignal::*_t)();
171  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecodeSignal::decode_finished)) {
172  *result = 5;
173  }
174  }
175  {
176  typedef void (DecodeSignal::*_t)();
177  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecodeSignal::channels_updated)) {
178  *result = 6;
179  }
180  }
181  {
182  typedef void (DecodeSignal::*_t)();
183  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecodeSignal::annotation_visibility_changed)) {
184  *result = 7;
185  }
186  }
187  }
188 }
189 
190 const QMetaObject pv::data::DecodeSignal::staticMetaObject = {
191  { &SignalBase::staticMetaObject, qt_meta_stringdata_pv__data__DecodeSignal.data,
192  qt_meta_data_pv__data__DecodeSignal, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
193 };
194 
195 
196 const QMetaObject *pv::data::DecodeSignal::metaObject() const
197 {
198  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
199 }
200 
201 void *pv::data::DecodeSignal::qt_metacast(const char *_clname)
202 {
203  if (!_clname) return Q_NULLPTR;
204  if (!strcmp(_clname, qt_meta_stringdata_pv__data__DecodeSignal.stringdata0))
205  return static_cast<void*>(const_cast< DecodeSignal*>(this));
206  return SignalBase::qt_metacast(_clname);
207 }
208 
209 int pv::data::DecodeSignal::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
210 {
211  _id = SignalBase::qt_metacall(_c, _id, _a);
212  if (_id < 0)
213  return _id;
214  if (_c == QMetaObject::InvokeMetaMethod) {
215  if (_id < 13)
216  qt_static_metacall(this, _c, _id, _a);
217  _id -= 13;
218  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
219  if (_id < 13)
220  *reinterpret_cast<int*>(_a[0]) = -1;
221  _id -= 13;
222  }
223  return _id;
224 }
225 
226 // SIGNAL 0
228 {
229  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
230  QMetaObject::activate(this, &staticMetaObject, 0, _a);
231 }
232 
233 // SIGNAL 1
235 {
236  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
237  QMetaObject::activate(this, &staticMetaObject, 1, _a);
238 }
239 
240 // SIGNAL 2
242 {
243  QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
244 }
245 
246 // SIGNAL 3
247 void pv::data::DecodeSignal::new_binary_data(unsigned int _t1, void * _t2, unsigned int _t3)
248 {
249  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
250  QMetaObject::activate(this, &staticMetaObject, 3, _a);
251 }
252 
253 // SIGNAL 4
255 {
256  QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
257 }
258 
259 // SIGNAL 5
261 {
262  QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
263 }
264 
265 // SIGNAL 6
267 {
268  QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
269 }
270 
271 // SIGNAL 7
273 {
274  QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
275 }
276 QT_END_MOC_NAMESPACE
void decoder_stacked(void *decoder)
decoder is of type decode::Decoder*
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_pv__data__DecodeSignal_t qt_meta_stringdata_pv__data__DecodeSignal
static const uint qt_meta_data_pv__data__DecodeSignal[]
void decoder_removed(void *decoder)
decoder is of type decode::Decoder*
void new_binary_data(unsigned int segment_id, void *decoder, unsigned int bin_class_id)