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