deCONZ C++ API v2.6.1
Loading...
Searching...
No Matches
moc_aps_controller.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'aps_controller.h'
3**
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.10)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../deconz/aps_controller.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'aps_controller.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.10. 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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[18];
26 char stringdata0[328];
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_deCONZ__ApsController_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33static const qt_meta_stringdata_deCONZ__ApsController_t qt_meta_stringdata_deCONZ__ApsController = {
34 {
35QT_MOC_LITERAL(0, 0, 21), // "deCONZ::ApsController"
36QT_MOC_LITERAL(1, 22, 16), // "apsdeDataConfirm"
37QT_MOC_LITERAL(2, 39, 0), // ""
38QT_MOC_LITERAL(3, 40, 22), // "deCONZ::ApsDataConfirm"
39QT_MOC_LITERAL(4, 63, 19), // "apsdeDataIndication"
40QT_MOC_LITERAL(5, 83, 25), // "deCONZ::ApsDataIndication"
41QT_MOC_LITERAL(6, 109, 24), // "apsdeDataRequestEnqueued"
42QT_MOC_LITERAL(7, 134, 22), // "deCONZ::ApsDataRequest"
43QT_MOC_LITERAL(8, 157, 9), // "nodeEvent"
44QT_MOC_LITERAL(9, 167, 17), // "deCONZ::NodeEvent"
45QT_MOC_LITERAL(10, 185, 20), // "configurationChanged"
46QT_MOC_LITERAL(11, 206, 25), // "networkStateChangeRequest"
47QT_MOC_LITERAL(12, 232, 18), // "sourceRouteCreated"
48QT_MOC_LITERAL(13, 251, 19), // "deCONZ::SourceRoute"
49QT_MOC_LITERAL(14, 271, 18), // "sourceRouteChanged"
50QT_MOC_LITERAL(15, 290, 18), // "sourceRouteDeleted"
51QT_MOC_LITERAL(16, 309, 4), // "uuid"
52QT_MOC_LITERAL(17, 314, 13) // "nodesRestored"
53
54 },
55 "deCONZ::ApsController\0apsdeDataConfirm\0"
56 "\0deCONZ::ApsDataConfirm\0apsdeDataIndication\0"
57 "deCONZ::ApsDataIndication\0"
58 "apsdeDataRequestEnqueued\0"
59 "deCONZ::ApsDataRequest\0nodeEvent\0"
60 "deCONZ::NodeEvent\0configurationChanged\0"
61 "networkStateChangeRequest\0sourceRouteCreated\0"
62 "deCONZ::SourceRoute\0sourceRouteChanged\0"
63 "sourceRouteDeleted\0uuid\0nodesRestored"
64};
65#undef QT_MOC_LITERAL
66
67static const uint qt_meta_data_deCONZ__ApsController[] = {
68
69 // content:
70 8, // revision
71 0, // classname
72 0, 0, // classinfo
73 10, 14, // methods
74 0, 0, // properties
75 0, 0, // enums/sets
76 0, 0, // constructors
77 0, // flags
78 10, // signalCount
79
80 // signals: name, argc, parameters, tag, flags
81 1, 1, 64, 2, 0x06 /* Public */,
82 4, 1, 67, 2, 0x06 /* Public */,
83 6, 1, 70, 2, 0x06 /* Public */,
84 8, 1, 73, 2, 0x06 /* Public */,
85 10, 0, 76, 2, 0x06 /* Public */,
86 11, 1, 77, 2, 0x06 /* Public */,
87 12, 1, 80, 2, 0x06 /* Public */,
88 14, 1, 83, 2, 0x06 /* Public */,
89 15, 1, 86, 2, 0x06 /* Public */,
90 17, 0, 89, 2, 0x06 /* Public */,
91
92 // signals: parameters
93 QMetaType::Void, 0x80000000 | 3, 2,
94 QMetaType::Void, 0x80000000 | 5, 2,
95 QMetaType::Void, 0x80000000 | 7, 2,
96 QMetaType::Void, 0x80000000 | 9, 2,
97 QMetaType::Void,
98 QMetaType::Void, QMetaType::Bool, 2,
99 QMetaType::Void, 0x80000000 | 13, 2,
100 QMetaType::Void, 0x80000000 | 13, 2,
101 QMetaType::Void, QMetaType::QString, 16,
102 QMetaType::Void,
103
104 0 // eod
105};
106
107void deCONZ::ApsController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
108{
109 if (_c == QMetaObject::InvokeMetaMethod) {
110 auto *_t = static_cast<ApsController *>(_o);
111 (void)_t;
112 switch (_id) {
113 case 0: _t->apsdeDataConfirm((*reinterpret_cast< const deCONZ::ApsDataConfirm(*)>(_a[1]))); break;
114 case 1: _t->apsdeDataIndication((*reinterpret_cast< const deCONZ::ApsDataIndication(*)>(_a[1]))); break;
115 case 2: _t->apsdeDataRequestEnqueued((*reinterpret_cast< const deCONZ::ApsDataRequest(*)>(_a[1]))); break;
116 case 3: _t->nodeEvent((*reinterpret_cast< const deCONZ::NodeEvent(*)>(_a[1]))); break;
117 case 4: _t->configurationChanged(); break;
118 case 5: _t->networkStateChangeRequest((*reinterpret_cast< bool(*)>(_a[1]))); break;
119 case 6: _t->sourceRouteCreated((*reinterpret_cast< const deCONZ::SourceRoute(*)>(_a[1]))); break;
120 case 7: _t->sourceRouteChanged((*reinterpret_cast< const deCONZ::SourceRoute(*)>(_a[1]))); break;
121 case 8: _t->sourceRouteDeleted((*reinterpret_cast< const QString(*)>(_a[1]))); break;
122 case 9: _t->nodesRestored(); break;
123 default: ;
124 }
125 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
126 switch (_id) {
127 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
128 case 0:
129 switch (*reinterpret_cast<int*>(_a[1])) {
130 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
131 case 0:
132 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< deCONZ::ApsDataConfirm >(); break;
133 }
134 break;
135 case 1:
136 switch (*reinterpret_cast<int*>(_a[1])) {
137 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
138 case 0:
139 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< deCONZ::ApsDataIndication >(); break;
140 }
141 break;
142 case 2:
143 switch (*reinterpret_cast<int*>(_a[1])) {
144 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
145 case 0:
146 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< deCONZ::ApsDataRequest >(); break;
147 }
148 break;
149 }
150 } else if (_c == QMetaObject::IndexOfMethod) {
151 int *result = reinterpret_cast<int *>(_a[0]);
152 {
153 using _t = void (ApsController::*)(const deCONZ::ApsDataConfirm & );
154 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ApsController::apsdeDataConfirm)) {
155 *result = 0;
156 return;
157 }
158 }
159 {
160 using _t = void (ApsController::*)(const deCONZ::ApsDataIndication & );
161 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ApsController::apsdeDataIndication)) {
162 *result = 1;
163 return;
164 }
165 }
166 {
167 using _t = void (ApsController::*)(const deCONZ::ApsDataRequest & );
168 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ApsController::apsdeDataRequestEnqueued)) {
169 *result = 2;
170 return;
171 }
172 }
173 {
174 using _t = void (ApsController::*)(const deCONZ::NodeEvent & );
175 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ApsController::nodeEvent)) {
176 *result = 3;
177 return;
178 }
179 }
180 {
181 using _t = void (ApsController::*)();
182 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ApsController::configurationChanged)) {
183 *result = 4;
184 return;
185 }
186 }
187 {
188 using _t = void (ApsController::*)(bool );
189 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ApsController::networkStateChangeRequest)) {
190 *result = 5;
191 return;
192 }
193 }
194 {
195 using _t = void (ApsController::*)(const deCONZ::SourceRoute & );
196 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ApsController::sourceRouteCreated)) {
197 *result = 6;
198 return;
199 }
200 }
201 {
202 using _t = void (ApsController::*)(const deCONZ::SourceRoute & );
203 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ApsController::sourceRouteChanged)) {
204 *result = 7;
205 return;
206 }
207 }
208 {
209 using _t = void (ApsController::*)(const QString & );
210 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ApsController::sourceRouteDeleted)) {
211 *result = 8;
212 return;
213 }
214 }
215 {
216 using _t = void (ApsController::*)();
217 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ApsController::nodesRestored)) {
218 *result = 9;
219 return;
220 }
221 }
222 }
223}
224
225QT_INIT_METAOBJECT const QMetaObject deCONZ::ApsController::staticMetaObject = { {
226 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
227 qt_meta_stringdata_deCONZ__ApsController.data,
228 qt_meta_data_deCONZ__ApsController,
229 qt_static_metacall,
230 nullptr,
231 nullptr
232} };
233
234
235const QMetaObject *deCONZ::ApsController::metaObject() const
236{
237 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
238}
239
240void *deCONZ::ApsController::qt_metacast(const char *_clname)
241{
242 if (!_clname) return nullptr;
243 if (!strcmp(_clname, qt_meta_stringdata_deCONZ__ApsController.stringdata0))
244 return static_cast<void*>(this);
245 return QObject::qt_metacast(_clname);
246}
247
248int deCONZ::ApsController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
249{
250 _id = QObject::qt_metacall(_c, _id, _a);
251 if (_id < 0)
252 return _id;
253 if (_c == QMetaObject::InvokeMetaMethod) {
254 if (_id < 10)
255 qt_static_metacall(this, _c, _id, _a);
256 _id -= 10;
257 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
258 if (_id < 10)
259 qt_static_metacall(this, _c, _id, _a);
260 _id -= 10;
261 }
262 return _id;
263}
264
265// SIGNAL 0
267{
268 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
269 QMetaObject::activate(this, &staticMetaObject, 0, _a);
270}
271
272// SIGNAL 1
274{
275 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
276 QMetaObject::activate(this, &staticMetaObject, 1, _a);
277}
278
279// SIGNAL 2
281{
282 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
283 QMetaObject::activate(this, &staticMetaObject, 2, _a);
284}
285
286// SIGNAL 3
287void deCONZ::ApsController::nodeEvent(const deCONZ::NodeEvent & _t1)
288{
289 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
290 QMetaObject::activate(this, &staticMetaObject, 3, _a);
291}
292
293// SIGNAL 4
295{
296 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
297}
298
299// SIGNAL 5
301{
302 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
303 QMetaObject::activate(this, &staticMetaObject, 5, _a);
304}
305
306// SIGNAL 6
308{
309 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
310 QMetaObject::activate(this, &staticMetaObject, 6, _a);
311}
312
313// SIGNAL 7
315{
316 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
317 QMetaObject::activate(this, &staticMetaObject, 7, _a);
318}
319
320// SIGNAL 8
322{
323 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
324 QMetaObject::activate(this, &staticMetaObject, 8, _a);
325}
326
327// SIGNAL 9
329{
330 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
331}
332QT_WARNING_POP
333QT_END_MOC_NAMESPACE
void sourceRouteCreated(const deCONZ::SourceRoute &)
Is emitted when a new source route is created.
Definition moc_aps_controller.cpp:307
void sourceRouteDeleted(const QString &uuid)
Is emitted when a source route is deleted.
Definition moc_aps_controller.cpp:321
void networkStateChangeRequest(bool)
Is emitted when the user requested network state change.
Definition moc_aps_controller.cpp:300
void apsdeDataConfirm(const deCONZ::ApsDataConfirm &)
Is emitted on the reception of a APSDE-DATA.confirm primitive.
Definition moc_aps_controller.cpp:266
void apsdeDataRequestEnqueued(const deCONZ::ApsDataRequest &)
Is emitted when a APSDE-DATA.request primitive was added to the queue.
Definition moc_aps_controller.cpp:280
void nodesRestored()
Is emitted when the controller has restored all nodes from database.
Definition moc_aps_controller.cpp:328
void nodeEvent(const deCONZ::NodeEvent &)
Is emitted on changes in the nodecache or user interactions.
Definition moc_aps_controller.cpp:287
void sourceRouteChanged(const deCONZ::SourceRoute &)
Is emitted when a source route was changed.
Definition moc_aps_controller.cpp:314
ApsController(QObject *parent)
Constructor.
void configurationChanged()
Is emitted when the configuration changed via deCONZ network settings or any other means.
Definition moc_aps_controller.cpp:294
void apsdeDataIndication(const deCONZ::ApsDataIndication &)
Is emitted on the reception of a APSDE-DATA.indication primitive.
Definition moc_aps_controller.cpp:273
APSDE-DATA.confirm primitive.
Definition aps.h:352
APSDE-DATA.indication primitive.
Definition aps.h:408
APSDE-DATA.request primitive.
Definition aps.h:227
Definition node.h:42
The deCONZ namespace.
Definition aps.cpp:19
Definition moc_aps_controller.cpp:24