GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: src/gepetto-viewer_autogen/MXCW23JUXT/moc_node-property.cpp Lines: 4 174 2.3 %
Date: 2024-04-14 11:13:22 Branches: 1 208 0.5 %

Line Branch Exec Source
1
/****************************************************************************
2
** Meta object code from reading C++ file 'node-property.h'
3
**
4
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.8)
5
**
6
** WARNING! All changes made in this file will be lost!
7
*****************************************************************************/
8
9
#include "include/gepetto/viewer/node-property.h"
10
#include <QtCore/qbytearray.h>
11
#include <QtCore/qmetatype.h>
12
#if !defined(Q_MOC_OUTPUT_REVISION)
13
#error "The header file 'node-property.h' doesn't include <QObject>."
14
#elif Q_MOC_OUTPUT_REVISION != 67
15
#error "This file was generated using the moc from 5.12.8. 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
23
struct qt_meta_stringdata_gepetto__viewer__Property_t {
24
    QByteArrayData data[10];
25
    char stringdata0[105];
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_gepetto__viewer__Property_t, stringdata0) + ofs \
30
        - idx * sizeof(QByteArrayData)) \
31
    )
32
static const qt_meta_stringdata_gepetto__viewer__Property_t qt_meta_stringdata_gepetto__viewer__Property = {
33
    {
34
QT_MOC_LITERAL(0, 0, 25), // "gepetto::viewer::Property"
35
QT_MOC_LITERAL(1, 26, 12), // "valueChanged"
36
QT_MOC_LITERAL(2, 39, 0), // ""
37
QT_MOC_LITERAL(3, 40, 1), // "v"
38
QT_MOC_LITERAL(4, 42, 11), // "std::string"
39
QT_MOC_LITERAL(5, 54, 10), // "osgVector2"
40
QT_MOC_LITERAL(6, 65, 10), // "osgVector3"
41
QT_MOC_LITERAL(7, 76, 10), // "osgVector4"
42
QT_MOC_LITERAL(8, 87, 13), // "Configuration"
43
QT_MOC_LITERAL(9, 101, 3) // "set"
44
45
    },
46
    "gepetto::viewer::Property\0valueChanged\0"
47
    "\0v\0std::string\0osgVector2\0osgVector3\0"
48
    "osgVector4\0Configuration\0set"
49
};
50
#undef QT_MOC_LITERAL
51
52
static const uint qt_meta_data_gepetto__viewer__Property[] = {
53
54
 // content:
55
       8,       // revision
56
       0,       // classname
57
       0,    0, // classinfo
58
      24,   14, // methods
59
       0,    0, // properties
60
       0,    0, // enums/sets
61
       0,    0, // constructors
62
       0,       // flags
63
      12,       // signalCount
64
65
 // signals: name, argc, parameters, tag, flags
66
       1,    0,  134,    2, 0x06 /* Public */,
67
       1,    1,  135,    2, 0x06 /* Public */,
68
       1,    1,  138,    2, 0x06 /* Public */,
69
       1,    1,  141,    2, 0x06 /* Public */,
70
       1,    1,  144,    2, 0x06 /* Public */,
71
       1,    1,  147,    2, 0x06 /* Public */,
72
       1,    1,  150,    2, 0x06 /* Public */,
73
       1,    1,  153,    2, 0x06 /* Public */,
74
       1,    1,  156,    2, 0x06 /* Public */,
75
       1,    1,  159,    2, 0x06 /* Public */,
76
       1,    1,  162,    2, 0x06 /* Public */,
77
       1,    1,  165,    2, 0x06 /* Public */,
78
79
 // slots: name, argc, parameters, tag, flags
80
       9,    0,  168,    2, 0x0a /* Public */,
81
       9,    1,  169,    2, 0x0a /* Public */,
82
       9,    1,  172,    2, 0x0a /* Public */,
83
       9,    1,  175,    2, 0x0a /* Public */,
84
       9,    1,  178,    2, 0x0a /* Public */,
85
       9,    1,  181,    2, 0x0a /* Public */,
86
       9,    1,  184,    2, 0x0a /* Public */,
87
       9,    1,  187,    2, 0x0a /* Public */,
88
       9,    1,  190,    2, 0x0a /* Public */,
89
       9,    1,  193,    2, 0x0a /* Public */,
90
       9,    1,  196,    2, 0x0a /* Public */,
91
       9,    1,  199,    2, 0x0a /* Public */,
92
93
 // signals: parameters
94
    QMetaType::Void,
95
    QMetaType::Void, QMetaType::Bool,    3,
96
    QMetaType::Void, QMetaType::Int,    3,
97
    QMetaType::Void, QMetaType::Float,    3,
98
    QMetaType::Void, 0x80000000 | 4,    3,
99
    QMetaType::Void, 0x80000000 | 5,    3,
100
    QMetaType::Void, 0x80000000 | 6,    3,
101
    QMetaType::Void, 0x80000000 | 7,    3,
102
    QMetaType::Void, 0x80000000 | 8,    3,
103
    QMetaType::Void, QMetaType::Double,    3,
104
    QMetaType::Void, QMetaType::QString,    3,
105
    QMetaType::Void, QMetaType::QColor,    3,
106
107
 // slots: parameters
108
    QMetaType::Bool,
109
    QMetaType::Bool, QMetaType::Bool,    3,
110
    QMetaType::Bool, QMetaType::Int,    3,
111
    QMetaType::Bool, QMetaType::Float,    3,
112
    QMetaType::Bool, 0x80000000 | 4,    3,
113
    QMetaType::Bool, 0x80000000 | 5,    3,
114
    QMetaType::Bool, 0x80000000 | 6,    3,
115
    QMetaType::Bool, 0x80000000 | 7,    3,
116
    QMetaType::Bool, 0x80000000 | 8,    3,
117
    QMetaType::Bool, QMetaType::Double,    3,
118
    QMetaType::Bool, QMetaType::QString,    3,
119
    QMetaType::Bool, QMetaType::QColor,    3,
120
121
       0        // eod
122
};
123
124
void gepetto::viewer::Property::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
125
{
126
    if (_c == QMetaObject::InvokeMetaMethod) {
127
        auto *_t = static_cast<Property *>(_o);
128
        Q_UNUSED(_t)
129
        switch (_id) {
130
        case 0: _t->valueChanged(); break;
131
        case 1: _t->valueChanged((*reinterpret_cast< const bool(*)>(_a[1]))); break;
132
        case 2: _t->valueChanged((*reinterpret_cast< const int(*)>(_a[1]))); break;
133
        case 3: _t->valueChanged((*reinterpret_cast< const float(*)>(_a[1]))); break;
134
        case 4: _t->valueChanged((*reinterpret_cast< const std::string(*)>(_a[1]))); break;
135
        case 5: _t->valueChanged((*reinterpret_cast< const osgVector2(*)>(_a[1]))); break;
136
        case 6: _t->valueChanged((*reinterpret_cast< const osgVector3(*)>(_a[1]))); break;
137
        case 7: _t->valueChanged((*reinterpret_cast< const osgVector4(*)>(_a[1]))); break;
138
        case 8: _t->valueChanged((*reinterpret_cast< const Configuration(*)>(_a[1]))); break;
139
        case 9: _t->valueChanged((*reinterpret_cast< const double(*)>(_a[1]))); break;
140
        case 10: _t->valueChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
141
        case 11: _t->valueChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
142
        case 12: { bool _r = _t->set();
143
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
144
        case 13: { bool _r = _t->set((*reinterpret_cast< const bool(*)>(_a[1])));
145
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
146
        case 14: { bool _r = _t->set((*reinterpret_cast< const int(*)>(_a[1])));
147
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
148
        case 15: { bool _r = _t->set((*reinterpret_cast< const float(*)>(_a[1])));
149
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
150
        case 16: { bool _r = _t->set((*reinterpret_cast< const std::string(*)>(_a[1])));
151
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
152
        case 17: { bool _r = _t->set((*reinterpret_cast< const osgVector2(*)>(_a[1])));
153
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
154
        case 18: { bool _r = _t->set((*reinterpret_cast< const osgVector3(*)>(_a[1])));
155
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
156
        case 19: { bool _r = _t->set((*reinterpret_cast< const osgVector4(*)>(_a[1])));
157
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
158
        case 20: { bool _r = _t->set((*reinterpret_cast< const Configuration(*)>(_a[1])));
159
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
160
        case 21: { bool _r = _t->set((*reinterpret_cast< const double(*)>(_a[1])));
161
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
162
        case 22: { bool _r = _t->set((*reinterpret_cast< const QString(*)>(_a[1])));
163
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
164
        case 23: { bool _r = _t->set((*reinterpret_cast< const QColor(*)>(_a[1])));
165
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
166
        default: ;
167
        }
168
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
169
        switch (_id) {
170
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
171
        case 5:
172
            switch (*reinterpret_cast<int*>(_a[1])) {
173
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
174
            case 0:
175
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector2 >(); break;
176
            }
177
            break;
178
        case 6:
179
            switch (*reinterpret_cast<int*>(_a[1])) {
180
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
181
            case 0:
182
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector3 >(); break;
183
            }
184
            break;
185
        case 7:
186
            switch (*reinterpret_cast<int*>(_a[1])) {
187
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
188
            case 0:
189
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector4 >(); break;
190
            }
191
            break;
192
        case 17:
193
            switch (*reinterpret_cast<int*>(_a[1])) {
194
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
195
            case 0:
196
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector2 >(); break;
197
            }
198
            break;
199
        case 18:
200
            switch (*reinterpret_cast<int*>(_a[1])) {
201
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
202
            case 0:
203
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector3 >(); break;
204
            }
205
            break;
206
        case 19:
207
            switch (*reinterpret_cast<int*>(_a[1])) {
208
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
209
            case 0:
210
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector4 >(); break;
211
            }
212
            break;
213
        }
214
    } else if (_c == QMetaObject::IndexOfMethod) {
215
        int *result = reinterpret_cast<int *>(_a[0]);
216
        {
217
            using _t = void (Property::*)();
218
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
219
                *result = 0;
220
                return;
221
            }
222
        }
223
        {
224
            using _t = void (Property::*)(const bool & );
225
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
226
                *result = 1;
227
                return;
228
            }
229
        }
230
        {
231
            using _t = void (Property::*)(const int & );
232
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
233
                *result = 2;
234
                return;
235
            }
236
        }
237
        {
238
            using _t = void (Property::*)(const float & );
239
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
240
                *result = 3;
241
                return;
242
            }
243
        }
244
        {
245
            using _t = void (Property::*)(const std::string & );
246
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
247
                *result = 4;
248
                return;
249
            }
250
        }
251
        {
252
            using _t = void (Property::*)(const osgVector2 & );
253
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
254
                *result = 5;
255
                return;
256
            }
257
        }
258
        {
259
            using _t = void (Property::*)(const osgVector3 & );
260
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
261
                *result = 6;
262
                return;
263
            }
264
        }
265
        {
266
            using _t = void (Property::*)(const osgVector4 & );
267
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
268
                *result = 7;
269
                return;
270
            }
271
        }
272
        {
273
            using _t = void (Property::*)(const Configuration & );
274
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
275
                *result = 8;
276
                return;
277
            }
278
        }
279
        {
280
            using _t = void (Property::*)(const double & );
281
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
282
                *result = 9;
283
                return;
284
            }
285
        }
286
        {
287
            using _t = void (Property::*)(const QString & );
288
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
289
                *result = 10;
290
                return;
291
            }
292
        }
293
        {
294
            using _t = void (Property::*)(const QColor & );
295
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
296
                *result = 11;
297
                return;
298
            }
299
        }
300
    }
301
}
302
303
QT_INIT_METAOBJECT const QMetaObject gepetto::viewer::Property::staticMetaObject = { {
304
    &QObject::staticMetaObject,
305
    qt_meta_stringdata_gepetto__viewer__Property.data,
306
    qt_meta_data_gepetto__viewer__Property,
307
    qt_static_metacall,
308
    nullptr,
309
    nullptr
310
} };
311
312
313
const QMetaObject *gepetto::viewer::Property::metaObject() const
314
{
315
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
316
}
317
318
void *gepetto::viewer::Property::qt_metacast(const char *_clname)
319
{
320
    if (!_clname) return nullptr;
321
    if (!strcmp(_clname, qt_meta_stringdata_gepetto__viewer__Property.stringdata0))
322
        return static_cast<void*>(this);
323
    return QObject::qt_metacast(_clname);
324
}
325
326
int gepetto::viewer::Property::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
327
{
328
    _id = QObject::qt_metacall(_c, _id, _a);
329
    if (_id < 0)
330
        return _id;
331
    if (_c == QMetaObject::InvokeMetaMethod) {
332
        if (_id < 24)
333
            qt_static_metacall(this, _c, _id, _a);
334
        _id -= 24;
335
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
336
        if (_id < 24)
337
            qt_static_metacall(this, _c, _id, _a);
338
        _id -= 24;
339
    }
340
    return _id;
341
}
342
343
// SIGNAL 0
344
void gepetto::viewer::Property::valueChanged()
345
{
346
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
347
}
348
349
// SIGNAL 1
350
void gepetto::viewer::Property::valueChanged(const bool & _t1)
351
{
352
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
353
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
354
}
355
356
// SIGNAL 2
357
void gepetto::viewer::Property::valueChanged(const int & _t1)
358
{
359
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
360
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
361
}
362
363
// SIGNAL 3
364
void gepetto::viewer::Property::valueChanged(const float & _t1)
365
{
366
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
367
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
368
}
369
370
// SIGNAL 4
371
void gepetto::viewer::Property::valueChanged(const std::string & _t1)
372
{
373
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
374
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
375
}
376
377
// SIGNAL 5
378
void gepetto::viewer::Property::valueChanged(const osgVector2 & _t1)
379
{
380
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
381
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
382
}
383
384
// SIGNAL 6
385
void gepetto::viewer::Property::valueChanged(const osgVector3 & _t1)
386
{
387
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
388
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
389
}
390
391
// SIGNAL 7
392
void gepetto::viewer::Property::valueChanged(const osgVector4 & _t1)
393
{
394
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
395
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
396
}
397
398
// SIGNAL 8
399
3
void gepetto::viewer::Property::valueChanged(const Configuration & _t1)
400
{
401
3
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
402
3
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
403
3
}
404
405
// SIGNAL 9
406
void gepetto::viewer::Property::valueChanged(const double & _t1)
407
{
408
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
409
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
410
}
411
412
// SIGNAL 10
413
void gepetto::viewer::Property::valueChanged(const QString & _t1)
414
{
415
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
416
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
417
}
418
419
// SIGNAL 11
420
void gepetto::viewer::Property::valueChanged(const QColor & _t1)
421
{
422
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
423
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
424
}
425
QT_WARNING_POP
426
QT_END_MOC_NAMESPACE