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