deCONZ C++ API v2.6.1
Loading...
Searching...
No Matches
moc_green_power_controller.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'green_power_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/green_power_controller.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'green_power_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[4];
26 char stringdata0[72];
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__GreenPowerController_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33static const qt_meta_stringdata_deCONZ__GreenPowerController_t qt_meta_stringdata_deCONZ__GreenPowerController = {
34 {
35QT_MOC_LITERAL(0, 0, 28), // "deCONZ::GreenPowerController"
36QT_MOC_LITERAL(1, 29, 16), // "gpDataIndication"
37QT_MOC_LITERAL(2, 46, 0), // ""
38QT_MOC_LITERAL(3, 47, 24) // "deCONZ::GpDataIndication"
39
40 },
41 "deCONZ::GreenPowerController\0"
42 "gpDataIndication\0\0deCONZ::GpDataIndication"
43};
44#undef QT_MOC_LITERAL
45
46static const uint qt_meta_data_deCONZ__GreenPowerController[] = {
47
48 // content:
49 8, // revision
50 0, // classname
51 0, 0, // classinfo
52 1, 14, // methods
53 0, 0, // properties
54 0, 0, // enums/sets
55 0, 0, // constructors
56 0, // flags
57 1, // signalCount
58
59 // signals: name, argc, parameters, tag, flags
60 1, 1, 19, 2, 0x06 /* Public */,
61
62 // signals: parameters
63 QMetaType::Void, 0x80000000 | 3, 2,
64
65 0 // eod
66};
67
68void deCONZ::GreenPowerController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
69{
70 if (_c == QMetaObject::InvokeMetaMethod) {
71 auto *_t = static_cast<GreenPowerController *>(_o);
72 (void)_t;
73 switch (_id) {
74 case 0: _t->gpDataIndication((*reinterpret_cast< const deCONZ::GpDataIndication(*)>(_a[1]))); break;
75 default: ;
76 }
77 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
78 switch (_id) {
79 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
80 case 0:
81 switch (*reinterpret_cast<int*>(_a[1])) {
82 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
83 case 0:
84 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< deCONZ::GpDataIndication >(); break;
85 }
86 break;
87 }
88 } else if (_c == QMetaObject::IndexOfMethod) {
89 int *result = reinterpret_cast<int *>(_a[0]);
90 {
91 using _t = void (GreenPowerController::*)(const deCONZ::GpDataIndication & );
92 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GreenPowerController::gpDataIndication)) {
93 *result = 0;
94 return;
95 }
96 }
97 }
98}
99
100QT_INIT_METAOBJECT const QMetaObject deCONZ::GreenPowerController::staticMetaObject = { {
101 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
102 qt_meta_stringdata_deCONZ__GreenPowerController.data,
103 qt_meta_data_deCONZ__GreenPowerController,
104 qt_static_metacall,
105 nullptr,
106 nullptr
107} };
108
109
110const QMetaObject *deCONZ::GreenPowerController::metaObject() const
111{
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
113}
114
115void *deCONZ::GreenPowerController::qt_metacast(const char *_clname)
116{
117 if (!_clname) return nullptr;
118 if (!strcmp(_clname, qt_meta_stringdata_deCONZ__GreenPowerController.stringdata0))
119 return static_cast<void*>(this);
120 return QObject::qt_metacast(_clname);
121}
122
123int deCONZ::GreenPowerController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
124{
125 _id = QObject::qt_metacall(_c, _id, _a);
126 if (_id < 0)
127 return _id;
128 if (_c == QMetaObject::InvokeMetaMethod) {
129 if (_id < 1)
130 qt_static_metacall(this, _c, _id, _a);
131 _id -= 1;
132 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
133 if (_id < 1)
134 qt_static_metacall(this, _c, _id, _a);
135 _id -= 1;
136 }
137 return _id;
138}
139
140// SIGNAL 0
142{
143 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
144 QMetaObject::activate(this, &staticMetaObject, 0, _a);
145}
146QT_WARNING_POP
147QT_END_MOC_NAMESPACE
GPDE-DATA.indication primitive.
Definition green_power.h:156
GreenPowerController(QObject *parent)
Constructor.
Definition green_power_controller.cpp:34
void gpDataIndication(const deCONZ::GpDataIndication &)
Is emitted on the reception of a green power frame.
Definition moc_green_power_controller.cpp:141
The deCONZ namespace.
Definition aps.cpp:19
Definition moc_green_power_controller.cpp:24