Bitcoin Core  27.1.0
P2P Digital Currency
moc_initexecutor.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'initexecutor.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "qt/initexecutor.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'initexecutor.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.12.7. 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
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
24  QByteArrayData data[11];
25  char stringdata0[142];
26 };
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29  qptrdiff(offsetof(qt_meta_stringdata_InitExecutor_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
33  {
34 QT_MOC_LITERAL(0, 0, 12), // "InitExecutor"
35 QT_MOC_LITERAL(1, 13, 16), // "initializeResult"
36 QT_MOC_LITERAL(2, 30, 0), // ""
37 QT_MOC_LITERAL(3, 31, 7), // "success"
38 QT_MOC_LITERAL(4, 39, 33), // "interfaces::BlockAndHeaderTip..."
39 QT_MOC_LITERAL(5, 73, 8), // "tip_info"
40 QT_MOC_LITERAL(6, 82, 14), // "shutdownResult"
41 QT_MOC_LITERAL(7, 97, 16), // "runawayException"
42 QT_MOC_LITERAL(8, 114, 7), // "message"
43 QT_MOC_LITERAL(9, 122, 10), // "initialize"
44 QT_MOC_LITERAL(10, 133, 8) // "shutdown"
45 
46  },
47  "InitExecutor\0initializeResult\0\0success\0"
48  "interfaces::BlockAndHeaderTipInfo\0"
49  "tip_info\0shutdownResult\0runawayException\0"
50  "message\0initialize\0shutdown"
51 };
52 #undef QT_MOC_LITERAL
53 
54 static const uint qt_meta_data_InitExecutor[] = {
55 
56  // content:
57  8, // revision
58  0, // classname
59  0, 0, // classinfo
60  5, 14, // methods
61  0, 0, // properties
62  0, 0, // enums/sets
63  0, 0, // constructors
64  0, // flags
65  3, // signalCount
66 
67  // signals: name, argc, parameters, tag, flags
68  1, 2, 39, 2, 0x06 /* Public */,
69  6, 0, 44, 2, 0x06 /* Public */,
70  7, 1, 45, 2, 0x06 /* Public */,
71 
72  // slots: name, argc, parameters, tag, flags
73  9, 0, 48, 2, 0x0a /* Public */,
74  10, 0, 49, 2, 0x0a /* Public */,
75 
76  // signals: parameters
77  QMetaType::Void, QMetaType::Bool, 0x80000000 | 4, 3, 5,
78  QMetaType::Void,
79  QMetaType::Void, QMetaType::QString, 8,
80 
81  // slots: parameters
82  QMetaType::Void,
83  QMetaType::Void,
84 
85  0 // eod
86 };
87 
88 void InitExecutor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
89 {
90  if (_c == QMetaObject::InvokeMetaMethod) {
91  auto *_t = static_cast<InitExecutor *>(_o);
92  Q_UNUSED(_t)
93  switch (_id) {
94  case 0: _t->initializeResult((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< interfaces::BlockAndHeaderTipInfo(*)>(_a[2]))); break;
95  case 1: _t->shutdownResult(); break;
96  case 2: _t->runawayException((*reinterpret_cast< const QString(*)>(_a[1]))); break;
97  case 3: _t->initialize(); break;
98  case 4: _t->shutdown(); break;
99  default: ;
100  }
101  } else if (_c == QMetaObject::IndexOfMethod) {
102  int *result = reinterpret_cast<int *>(_a[0]);
103  {
104  using _t = void (InitExecutor::*)(bool , interfaces::BlockAndHeaderTipInfo );
105  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InitExecutor::initializeResult)) {
106  *result = 0;
107  return;
108  }
109  }
110  {
111  using _t = void (InitExecutor::*)();
112  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InitExecutor::shutdownResult)) {
113  *result = 1;
114  return;
115  }
116  }
117  {
118  using _t = void (InitExecutor::*)(const QString & );
119  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InitExecutor::runawayException)) {
120  *result = 2;
121  return;
122  }
123  }
124  }
125 }
126 
127 QT_INIT_METAOBJECT const QMetaObject InitExecutor::staticMetaObject = { {
128  &QObject::staticMetaObject,
131  qt_static_metacall,
132  nullptr,
133  nullptr
134 } };
135 
136 
137 const QMetaObject *InitExecutor::metaObject() const
138 {
139  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
140 }
141 
142 void *InitExecutor::qt_metacast(const char *_clname)
143 {
144  if (!_clname) return nullptr;
145  if (!strcmp(_clname, qt_meta_stringdata_InitExecutor.stringdata0))
146  return static_cast<void*>(this);
147  return QObject::qt_metacast(_clname);
148 }
149 
150 int InitExecutor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
151 {
152  _id = QObject::qt_metacall(_c, _id, _a);
153  if (_id < 0)
154  return _id;
155  if (_c == QMetaObject::InvokeMetaMethod) {
156  if (_id < 5)
157  qt_static_metacall(this, _c, _id, _a);
158  _id -= 5;
159  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
160  if (_id < 5)
161  *reinterpret_cast<int*>(_a[0]) = -1;
162  _id -= 5;
163  }
164  return _id;
165 }
166 
167 // SIGNAL 0
169 {
170  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
171  QMetaObject::activate(this, &staticMetaObject, 0, _a);
172 }
173 
174 // SIGNAL 1
176 {
177  QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
178 }
179 
180 // SIGNAL 2
181 void InitExecutor::runawayException(const QString & _t1)
182 {
183  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
184  QMetaObject::activate(this, &staticMetaObject, 2, _a);
185 }
186 QT_WARNING_POP
187 QT_END_MOC_NAMESPACE
static const uint qt_meta_data_InitExecutor[]
static const qt_meta_stringdata_InitExecutor_t qt_meta_stringdata_InitExecutor
Block and header tip information.
Definition: node.h:49
void initializeResult(bool success, interfaces::BlockAndHeaderTipInfo tip_info)
Class encapsulating Bitcoin Core startup and shutdown.
Definition: initexecutor.h:22
#define QT_MOC_LITERAL(idx, ofs, len)
void runawayException(const QString &message)