RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moc_data_recorder.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'data_recorder.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "data_recorder.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'data_recorder.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.3.2. 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[10];
23  char stringdata[149];
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_DataRecorder__Panel_t, stringdata) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
30 static const qt_meta_stringdata_DataRecorder__Panel_t qt_meta_stringdata_DataRecorder__Panel = {
31  {
32 QT_MOC_LITERAL(0, 0, 19),
33 QT_MOC_LITERAL(1, 20, 18),
34 QT_MOC_LITERAL(2, 39, 0),
35 QT_MOC_LITERAL(3, 40, 17),
36 QT_MOC_LITERAL(4, 58, 20),
37 QT_MOC_LITERAL(5, 79, 16),
38 QT_MOC_LITERAL(6, 96, 14),
39 QT_MOC_LITERAL(7, 111, 13),
40 QT_MOC_LITERAL(8, 125, 13),
41 QT_MOC_LITERAL(9, 139, 9)
42  },
43  "DataRecorder::Panel\0startRecordClicked\0"
44  "\0stopRecordClicked\0updateDownsampleRate\0"
45  "buildChannelList\0changeDataFile\0"
46  "insertChannel\0removeChannel\0addNewTag"
47 };
48 #undef QT_MOC_LITERAL
49 
50 static const uint qt_meta_data_DataRecorder__Panel[] = {
51 
52  // content:
53  7, // revision
54  0, // classname
55  0, 0, // classinfo
56  8, 14, // methods
57  0, 0, // properties
58  0, 0, // enums/sets
59  0, 0, // constructors
60  0, // flags
61  0, // signalCount
62 
63  // slots: name, argc, parameters, tag, flags
64  1, 0, 54, 2, 0x0a /* Public */,
65  3, 0, 55, 2, 0x0a /* Public */,
66  4, 1, 56, 2, 0x0a /* Public */,
67  5, 0, 59, 2, 0x08 /* Private */,
68  6, 0, 60, 2, 0x08 /* Private */,
69  7, 0, 61, 2, 0x08 /* Private */,
70  8, 0, 62, 2, 0x08 /* Private */,
71  9, 0, 63, 2, 0x08 /* Private */,
72 
73  // slots: parameters
74  QMetaType::Void,
75  QMetaType::Void,
76  QMetaType::Void, QMetaType::Int, 2,
77  QMetaType::Void,
78  QMetaType::Void,
79  QMetaType::Void,
80  QMetaType::Void,
81  QMetaType::Void,
82 
83  0 // eod
84 };
85 
86 void DataRecorder::Panel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
87 {
88  if (_c == QMetaObject::InvokeMetaMethod) {
89  Panel *_t = static_cast<Panel *>(_o);
90  switch (_id) {
91  case 0: _t->startRecordClicked(); break;
92  case 1: _t->stopRecordClicked(); break;
93  case 2: _t->updateDownsampleRate((*reinterpret_cast< int(*)>(_a[1]))); break;
94  case 3: _t->buildChannelList(); break;
95  case 4: _t->changeDataFile(); break;
96  case 5: _t->insertChannel(); break;
97  case 6: _t->removeChannel(); break;
98  case 7: _t->addNewTag(); break;
99  default: ;
100  }
101  }
102 }
103 
104 const QMetaObject DataRecorder::Panel::staticMetaObject = {
105  { &QWidget::staticMetaObject, qt_meta_stringdata_DataRecorder__Panel.data,
106  qt_meta_data_DataRecorder__Panel, qt_static_metacall, 0, 0}
107 };
108 
109 
110 const QMetaObject *DataRecorder::Panel::metaObject() const
111 {
112  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
113 }
114 
115 void *DataRecorder::Panel::qt_metacast(const char *_clname)
116 {
117  if (!_clname) return 0;
118  if (!strcmp(_clname, qt_meta_stringdata_DataRecorder__Panel.stringdata))
119  return static_cast<void*>(const_cast< Panel*>(this));
120  if (!strcmp(_clname, "Settings::Object"))
121  return static_cast< Settings::Object*>(const_cast< Panel*>(this));
122  if (!strcmp(_clname, "Event::Handler"))
123  return static_cast< Event::Handler*>(const_cast< Panel*>(this));
124  if (!strcmp(_clname, "Event::RTHandler"))
125  return static_cast< Event::RTHandler*>(const_cast< Panel*>(this));
126  if (!strcmp(_clname, "RT::Thread"))
127  return static_cast< RT::Thread*>(const_cast< Panel*>(this));
128  return QWidget::qt_metacast(_clname);
129 }
130 
131 int DataRecorder::Panel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
132 {
133  _id = QWidget::qt_metacall(_c, _id, _a);
134  if (_id < 0)
135  return _id;
136  if (_c == QMetaObject::InvokeMetaMethod) {
137  if (_id < 8)
138  qt_static_metacall(this, _c, _id, _a);
139  _id -= 8;
140  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
141  if (_id < 8)
142  *reinterpret_cast<int*>(_a[0]) = -1;
143  _id -= 8;
144  }
145  return _id;
146 }
148  QByteArrayData data[4];
149  char stringdata[53];
150 };
151 #define QT_MOC_LITERAL(idx, ofs, len) \
152  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
153  qptrdiff(offsetof(qt_meta_stringdata_DataRecorder__Plugin_t, stringdata) + ofs \
154  - idx * sizeof(QByteArrayData)) \
155  )
156 static const qt_meta_stringdata_DataRecorder__Plugin_t qt_meta_stringdata_DataRecorder__Plugin = {
157  {
158 QT_MOC_LITERAL(0, 0, 20),
159 QT_MOC_LITERAL(1, 21, 23),
160 QT_MOC_LITERAL(2, 45, 6),
161 QT_MOC_LITERAL(3, 52, 0)
162  },
163  "DataRecorder::Plugin\0createDataRecorderPanel\0"
164  "Panel*\0"
165 };
166 #undef QT_MOC_LITERAL
167 
168 static const uint qt_meta_data_DataRecorder__Plugin[] = {
169 
170  // content:
171  7, // revision
172  0, // classname
173  0, 0, // classinfo
174  1, 14, // methods
175  0, 0, // properties
176  0, 0, // enums/sets
177  0, 0, // constructors
178  0, // flags
179  0, // signalCount
180 
181  // slots: name, argc, parameters, tag, flags
182  1, 0, 19, 3, 0x0a /* Public */,
183 
184  // slots: parameters
185  0x80000000 | 2,
186 
187  0 // eod
188 };
189 
190 void DataRecorder::Plugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
191 {
192  if (_c == QMetaObject::InvokeMetaMethod) {
193  Plugin *_t = static_cast<Plugin *>(_o);
194  switch (_id) {
195  case 0: { Panel* _r = _t->createDataRecorderPanel();
196  if (_a[0]) *reinterpret_cast< Panel**>(_a[0]) = _r; } break;
197  default: ;
198  }
199  }
200 }
201 
202 const QMetaObject DataRecorder::Plugin::staticMetaObject = {
203  { &QObject::staticMetaObject, qt_meta_stringdata_DataRecorder__Plugin.data,
204  qt_meta_data_DataRecorder__Plugin, qt_static_metacall, 0, 0}
205 };
206 
207 
208 const QMetaObject *DataRecorder::Plugin::metaObject() const
209 {
210  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
211 }
212 
213 void *DataRecorder::Plugin::qt_metacast(const char *_clname)
214 {
215  if (!_clname) return 0;
216  if (!strcmp(_clname, qt_meta_stringdata_DataRecorder__Plugin.stringdata))
217  return static_cast<void*>(const_cast< Plugin*>(this));
218  if (!strcmp(_clname, "::Plugin::Object"))
219  return static_cast< ::Plugin::Object*>(const_cast< Plugin*>(this));
220  return QObject::qt_metacast(_clname);
221 }
222 
223 int DataRecorder::Plugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
224 {
225  _id = QObject::qt_metacall(_c, _id, _a);
226  if (_id < 0)
227  return _id;
228  if (_c == QMetaObject::InvokeMetaMethod) {
229  if (_id < 1)
230  qt_static_metacall(this, _c, _id, _a);
231  _id -= 1;
232  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
233  if (_id < 1)
234  *reinterpret_cast<int*>(_a[0]) = -1;
235  _id -= 1;
236  }
237  return _id;
238 }
239 QT_END_MOC_NAMESPACE
Panel(QWidget *, size_t)
#define QT_MOC_LITERAL(idx, ofs, len)
Classes associated with the loading/unloading of binaries at run-time.
Definition: plugin.h:35