drumstick  1.1.3
moc_rtmidioutput.cpp
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'rtmidioutput.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.0)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include <memory>
10 #include "../../../../include/drumstick/rtmidioutput.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'rtmidioutput.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.0. 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
24 struct qt_meta_stringdata_drumstick__rt__MIDIOutput_t {
25  QByteArrayData data[19];
26  char stringdata0[199];
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_drumstick__rt__MIDIOutput_t, stringdata0) + ofs \
31  - idx * sizeof(QByteArrayData)) \
32  )
33 static const qt_meta_stringdata_drumstick__rt__MIDIOutput_t qt_meta_stringdata_drumstick__rt__MIDIOutput = {
34  {
35 QT_MOC_LITERAL(0, 0, 25), // "drumstick::rt::MIDIOutput"
36 QT_MOC_LITERAL(1, 26, 11), // "sendNoteOff"
37 QT_MOC_LITERAL(2, 38, 0), // ""
38 QT_MOC_LITERAL(3, 39, 4), // "chan"
39 QT_MOC_LITERAL(4, 44, 4), // "note"
40 QT_MOC_LITERAL(5, 49, 3), // "vel"
41 QT_MOC_LITERAL(6, 53, 10), // "sendNoteOn"
42 QT_MOC_LITERAL(7, 64, 15), // "sendKeyPressure"
43 QT_MOC_LITERAL(8, 80, 5), // "value"
44 QT_MOC_LITERAL(9, 86, 14), // "sendController"
45 QT_MOC_LITERAL(10, 101, 7), // "control"
46 QT_MOC_LITERAL(11, 109, 11), // "sendProgram"
47 QT_MOC_LITERAL(12, 121, 7), // "program"
48 QT_MOC_LITERAL(13, 129, 19), // "sendChannelPressure"
49 QT_MOC_LITERAL(14, 149, 13), // "sendPitchBend"
50 QT_MOC_LITERAL(15, 163, 9), // "sendSysex"
51 QT_MOC_LITERAL(16, 173, 4), // "data"
52 QT_MOC_LITERAL(17, 178, 13), // "sendSystemMsg"
53 QT_MOC_LITERAL(18, 192, 6) // "status"
54 
55  },
56  "drumstick::rt::MIDIOutput\0sendNoteOff\0"
57  "\0chan\0note\0vel\0sendNoteOn\0sendKeyPressure\0"
58  "value\0sendController\0control\0sendProgram\0"
59  "program\0sendChannelPressure\0sendPitchBend\0"
60  "sendSysex\0data\0sendSystemMsg\0status"
61 };
62 #undef QT_MOC_LITERAL
63 
64 static const uint qt_meta_data_drumstick__rt__MIDIOutput[] = {
65 
66  // content:
67  8, // revision
68  0, // classname
69  0, 0, // classinfo
70  9, 14, // methods
71  0, 0, // properties
72  0, 0, // enums/sets
73  0, 0, // constructors
74  0, // flags
75  0, // signalCount
76 
77  // slots: name, argc, parameters, tag, flags
78  1, 3, 59, 2, 0x0a /* Public */,
79  6, 3, 66, 2, 0x0a /* Public */,
80  7, 3, 73, 2, 0x0a /* Public */,
81  9, 3, 80, 2, 0x0a /* Public */,
82  11, 2, 87, 2, 0x0a /* Public */,
83  13, 2, 92, 2, 0x0a /* Public */,
84  14, 2, 97, 2, 0x0a /* Public */,
85  15, 1, 102, 2, 0x0a /* Public */,
86  17, 1, 105, 2, 0x0a /* Public */,
87 
88  // slots: parameters
89  QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
90  QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5,
91  QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 8,
92  QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 10, 8,
93  QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 12,
94  QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 8,
95  QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 8,
96  QMetaType::Void, QMetaType::QByteArray, 16,
97  QMetaType::Void, QMetaType::Int, 18,
98 
99  0 // eod
100 };
101 
102 void drumstick::rt::MIDIOutput::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
103 {
104  if (_c == QMetaObject::InvokeMetaMethod) {
105  auto *_t = static_cast<MIDIOutput *>(_o);
106  Q_UNUSED(_t)
107  switch (_id) {
108  case 0: _t->sendNoteOff((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
109  case 1: _t->sendNoteOn((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
110  case 2: _t->sendKeyPressure((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
111  case 3: _t->sendController((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
112  case 4: _t->sendProgram((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
113  case 5: _t->sendChannelPressure((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
114  case 6: _t->sendPitchBend((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
115  case 7: _t->sendSysex((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
116  case 8: _t->sendSystemMsg((*reinterpret_cast< const int(*)>(_a[1]))); break;
117  default: ;
118  }
119  }
120 }
121 
122 QT_INIT_METAOBJECT const QMetaObject drumstick::rt::MIDIOutput::staticMetaObject = { {
123  QMetaObject::SuperData::link<QObject::staticMetaObject>(),
124  qt_meta_stringdata_drumstick__rt__MIDIOutput.data,
125  qt_meta_data_drumstick__rt__MIDIOutput,
126  qt_static_metacall,
127  nullptr,
128  nullptr
129 } };
130 
131 
132 const QMetaObject *drumstick::rt::MIDIOutput::metaObject() const
133 {
134  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
135 }
136 
137 void *drumstick::rt::MIDIOutput::qt_metacast(const char *_clname)
138 {
139  if (!_clname) return nullptr;
140  if (!strcmp(_clname, qt_meta_stringdata_drumstick__rt__MIDIOutput.stringdata0))
141  return static_cast<void*>(this);
142  return QObject::qt_metacast(_clname);
143 }
144 
145 int drumstick::rt::MIDIOutput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
146 {
147  _id = QObject::qt_metacall(_c, _id, _a);
148  if (_id < 0)
149  return _id;
150  if (_c == QMetaObject::InvokeMetaMethod) {
151  if (_id < 9)
152  qt_static_metacall(this, _c, _id, _a);
153  _id -= 9;
154  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
155  if (_id < 9)
156  *reinterpret_cast<int*>(_a[0]) = -1;
157  _id -= 9;
158  }
159  return _id;
160 }
161 QT_WARNING_POP
162 QT_END_MOC_NAMESPACE
QObject
drumstick::rt::MIDIOutput::MIDIOutput
MIDIOutput(QObject *parent=0)
MIDIOutput constructor.
Definition: rtmidioutput.h:89