9 #include "../../../pv/session.hpp" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'session.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.)" 20 QT_BEGIN_MOC_NAMESPACE
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__Session_t, stringdata0) + ofs \ 28 - idx * sizeof(QByteArrayData)) \ 61 "pv::Session\0capture_state_changed\0\0" 62 "state\0device_changed\0signals_changed\0" 63 "name_changed\0trigger_event\0segment_id\0" 64 "util::Timestamp\0location\0new_segment\0" 65 "new_segment_id\0segment_completed\0" 66 "data_received\0add_view\0ViewType\0type\0" 67 "Session*\0session\0session_error_raised\0" 68 "text\0info_text\0on_data_saved\0" 69 "on_new_decoders_selected\0" 70 "vector<const srd_decoder*>\0decoders" 100 23, 0, 102, 2, 0x0a ,
101 24, 1, 103, 2, 0x0a ,
104 QMetaType::Void, QMetaType::Int, 3,
108 QMetaType::Void, QMetaType::Int, 0x80000000 | 9, 8, 10,
109 QMetaType::Void, QMetaType::Int, 12,
110 QMetaType::Void, QMetaType::Int, 8,
112 QMetaType::Void, 0x80000000 | 16, 0x80000000 | 18, 17, 19,
113 QMetaType::Void, QMetaType::QString, QMetaType::QString, 21, 22,
117 QMetaType::Void, 0x80000000 | 25, 26,
122 void pv::Session::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
124 if (_c == QMetaObject::InvokeMetaMethod) {
125 Session *_t =
static_cast<Session *
>(_o);
128 case 0: _t->capture_state_changed((*
reinterpret_cast< int(*)
>(_a[1])));
break;
129 case 1: _t->device_changed();
break;
130 case 2: _t->signals_changed();
break;
131 case 3: _t->name_changed();
break;
132 case 4: _t->trigger_event((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< util::Timestamp(*)
>(_a[2])));
break;
133 case 5: _t->new_segment((*
reinterpret_cast< int(*)
>(_a[1])));
break;
134 case 6: _t->segment_completed((*
reinterpret_cast< int(*)
>(_a[1])));
break;
135 case 7: _t->data_received();
break;
136 case 8: _t->add_view((*
reinterpret_cast< ViewType(*)
>(_a[1])),(*
reinterpret_cast< Session*(*)
>(_a[2])));
break;
137 case 9: _t->session_error_raised((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])));
break;
138 case 10: _t->on_data_saved();
break;
139 case 11: _t->on_new_decoders_selected((*
reinterpret_cast< vector<const srd_decoder*>(*)
>(_a[1])));
break;
142 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
144 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
146 switch (*reinterpret_cast<int*>(_a[1])) {
147 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
149 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< Session* >();
break;
153 }
else if (_c == QMetaObject::IndexOfMethod) {
154 int *result =
reinterpret_cast<int *
>(_a[0]);
155 void **func =
reinterpret_cast<void **
>(_a[1]);
157 typedef void (Session::*_t)(int );
158 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&Session::capture_state_changed)) {
163 typedef void (Session::*_t)();
164 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&Session::device_changed)) {
169 typedef void (Session::*_t)();
170 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&Session::signals_changed)) {
175 typedef void (Session::*_t)();
176 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&Session::name_changed)) {
182 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&Session::trigger_event)) {
187 typedef void (Session::*_t)(int );
188 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&Session::new_segment)) {
193 typedef void (Session::*_t)(int );
194 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&Session::segment_completed)) {
199 typedef void (Session::*_t)();
200 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&Session::data_received)) {
205 typedef void (Session::*_t)(
ViewType , Session * );
206 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&Session::add_view)) {
211 typedef void (Session::*_t)(
const QString ,
const QString );
212 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&Session::session_error_raised)) {
219 const QMetaObject pv::Session::staticMetaObject = {
220 { &QObject::staticMetaObject, qt_meta_stringdata_pv__Session.
data,
225 const QMetaObject *pv::Session::metaObject()
const 227 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
230 void *pv::Session::qt_metacast(
const char *_clname)
232 if (!_clname)
return Q_NULLPTR;
233 if (!strcmp(_clname, qt_meta_stringdata_pv__Session.
stringdata0))
234 return static_cast<void*
>(
const_cast< Session*
>(
this));
235 return QObject::qt_metacast(_clname);
238 int pv::Session::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
240 _id = QObject::qt_metacall(_c, _id, _a);
243 if (_c == QMetaObject::InvokeMetaMethod) {
245 qt_static_metacall(
this, _c, _id, _a);
247 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
249 qt_static_metacall(
this, _c, _id, _a);
258 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
259 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
265 QMetaObject::activate(
this, &staticMetaObject, 1, Q_NULLPTR);
271 QMetaObject::activate(
this, &staticMetaObject, 2, Q_NULLPTR);
277 QMetaObject::activate(
this, &staticMetaObject, 3, Q_NULLPTR);
283 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
284 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
290 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
291 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
297 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
298 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
304 QMetaObject::activate(
this, &staticMetaObject, 7, Q_NULLPTR);
310 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
311 QMetaObject::activate(
this, &staticMetaObject, 8, _a);
317 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
318 QMetaObject::activate(
this, &staticMetaObject, 9, _a);
void segment_completed(int segment_id)
void session_error_raised(const QString text, const QString info_text)
void capture_state_changed(int state)
static const uint qt_meta_data_pv__Session[]
void add_view(ViewType type, Session *session)
void new_segment(int new_segment_id)
void trigger_event(int segment_id, util::Timestamp location)
#define QT_MOC_LITERAL(idx, ofs, len)
boost::multiprecision::number< boost::multiprecision::cpp_dec_float< 24 >, boost::multiprecision::et_off > Timestamp
Timestamp type providing yoctosecond resolution.
static const qt_meta_stringdata_pv__Session_t qt_meta_stringdata_pv__Session