/****************************************************************************
** Meta object code from reading C++ file 'ossoutput.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.4.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../../../drumstick-2.7.2/library/rt-backends/oss-out/ossoutput.h"
#include <QtCore/qmetatype.h>
#include <QtCore/qplugin.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ossoutput.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.4.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
namespace {
struct qt_meta_stringdata_drumstick__rt__OSSOutput_t {
    uint offsetsAndSizes[38];
    char stringdata0[25];
    char stringdata1[12];
    char stringdata2[1];
    char stringdata3[5];
    char stringdata4[5];
    char stringdata5[4];
    char stringdata6[11];
    char stringdata7[16];
    char stringdata8[6];
    char stringdata9[15];
    char stringdata10[8];
    char stringdata11[12];
    char stringdata12[8];
    char stringdata13[20];
    char stringdata14[14];
    char stringdata15[10];
    char stringdata16[5];
    char stringdata17[14];
    char stringdata18[7];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_drumstick__rt__OSSOutput_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_drumstick__rt__OSSOutput_t qt_meta_stringdata_drumstick__rt__OSSOutput = {
    {
        QT_MOC_LITERAL(0, 24),  // "drumstick::rt::OSSOutput"
        QT_MOC_LITERAL(25, 11),  // "sendNoteOff"
        QT_MOC_LITERAL(37, 0),  // ""
        QT_MOC_LITERAL(38, 4),  // "chan"
        QT_MOC_LITERAL(43, 4),  // "note"
        QT_MOC_LITERAL(48, 3),  // "vel"
        QT_MOC_LITERAL(52, 10),  // "sendNoteOn"
        QT_MOC_LITERAL(63, 15),  // "sendKeyPressure"
        QT_MOC_LITERAL(79, 5),  // "value"
        QT_MOC_LITERAL(85, 14),  // "sendController"
        QT_MOC_LITERAL(100, 7),  // "control"
        QT_MOC_LITERAL(108, 11),  // "sendProgram"
        QT_MOC_LITERAL(120, 7),  // "program"
        QT_MOC_LITERAL(128, 19),  // "sendChannelPressure"
        QT_MOC_LITERAL(148, 13),  // "sendPitchBend"
        QT_MOC_LITERAL(162, 9),  // "sendSysex"
        QT_MOC_LITERAL(172, 4),  // "data"
        QT_MOC_LITERAL(177, 13),  // "sendSystemMsg"
        QT_MOC_LITERAL(191, 6)   // "status"
    },
    "drumstick::rt::OSSOutput",
    "sendNoteOff",
    "",
    "chan",
    "note",
    "vel",
    "sendNoteOn",
    "sendKeyPressure",
    "value",
    "sendController",
    "control",
    "sendProgram",
    "program",
    "sendChannelPressure",
    "sendPitchBend",
    "sendSysex",
    "data",
    "sendSystemMsg",
    "status"
};
#undef QT_MOC_LITERAL
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_drumstick__rt__OSSOutput[] = {

 // content:
      10,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
       1,    3,   68,    2, 0x0a,    1 /* Public */,
       6,    3,   75,    2, 0x0a,    5 /* Public */,
       7,    3,   82,    2, 0x0a,    9 /* Public */,
       9,    3,   89,    2, 0x0a,   13 /* Public */,
      11,    2,   96,    2, 0x0a,   17 /* Public */,
      13,    2,  101,    2, 0x0a,   20 /* Public */,
      14,    2,  106,    2, 0x0a,   23 /* Public */,
      15,    1,  111,    2, 0x0a,   26 /* Public */,
      17,    1,  114,    2, 0x0a,   28 /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,    4,    5,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,    4,    5,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,    4,    8,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,   10,    8,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,   12,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    8,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    8,
    QMetaType::Void, QMetaType::QByteArray,   16,
    QMetaType::Void, QMetaType::Int,   18,

       0        // eod
};

Q_CONSTINIT const QMetaObject drumstick::rt::OSSOutput::staticMetaObject = { {
    QMetaObject::SuperData::link<MIDIOutput::staticMetaObject>(),
    qt_meta_stringdata_drumstick__rt__OSSOutput.offsetsAndSizes,
    qt_meta_data_drumstick__rt__OSSOutput,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_drumstick__rt__OSSOutput_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<OSSOutput, std::true_type>,
        // method 'sendNoteOff'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sendNoteOn'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sendKeyPressure'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sendController'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sendProgram'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sendChannelPressure'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sendPitchBend'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sendSysex'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>,
        // method 'sendSystemMsg'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>
    >,
    nullptr
} };

void drumstick::rt::OSSOutput::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<OSSOutput *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sendNoteOff((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
        case 1: _t->sendNoteOn((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
        case 2: _t->sendKeyPressure((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
        case 3: _t->sendController((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
        case 4: _t->sendProgram((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 5: _t->sendChannelPressure((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 6: _t->sendPitchBend((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 7: _t->sendSysex((*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[1]))); break;
        case 8: _t->sendSystemMsg((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject *drumstick::rt::OSSOutput::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *drumstick::rt::OSSOutput::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_drumstick__rt__OSSOutput.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "net.sourceforge.drumstick.rt.MIDIOutput/2.0"))
        return static_cast< drumstick::rt::MIDIOutput*>(this);
    return MIDIOutput::qt_metacast(_clname);
}

int drumstick::rt::OSSOutput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MIDIOutput::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 9;
    }
    return _id;
}
using namespace drumstick;
using namespace drumstick::rt;

#ifdef QT_MOC_EXPORT_PLUGIN_V2
static constexpr unsigned char qt_pluginMetaDataV2_OSSOutput[] = {
    0xbf, 
    // "IID"
    0x02,  0x78,  0x2b,  'n',  'e',  't',  '.',  's', 
    'o',  'u',  'r',  'c',  'e',  'f',  'o',  'r', 
    'g',  'e',  '.',  'd',  'r',  'u',  'm',  's', 
    't',  'i',  'c',  'k',  '.',  'r',  't',  '.', 
    'M',  'I',  'D',  'I',  'O',  'u',  't',  'p', 
    'u',  't',  '/',  '2',  '.',  '0', 
    // "className"
    0x03,  0x69,  'O',  'S',  'S',  'O',  'u',  't', 
    'p',  'u',  't', 
    0xff, 
};
QT_MOC_EXPORT_PLUGIN_V2(drumstick::rt::OSSOutput, OSSOutput, qt_pluginMetaDataV2_OSSOutput)
#else
QT_PLUGIN_METADATA_SECTION
Q_CONSTINIT static constexpr unsigned char qt_pluginMetaData_OSSOutput[] = {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
    // metadata version, Qt version, architectural requirements
    0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
    0xbf, 
    // "IID"
    0x02,  0x78,  0x2b,  'n',  'e',  't',  '.',  's', 
    'o',  'u',  'r',  'c',  'e',  'f',  'o',  'r', 
    'g',  'e',  '.',  'd',  'r',  'u',  'm',  's', 
    't',  'i',  'c',  'k',  '.',  'r',  't',  '.', 
    'M',  'I',  'D',  'I',  'O',  'u',  't',  'p', 
    'u',  't',  '/',  '2',  '.',  '0', 
    // "className"
    0x03,  0x69,  'O',  'S',  'S',  'O',  'u',  't', 
    'p',  'u',  't', 
    0xff, 
};
QT_MOC_EXPORT_PLUGIN(drumstick::rt::OSSOutput, OSSOutput)
#endif  // QT_MOC_EXPORT_PLUGIN_V2

QT_WARNING_POP
QT_END_MOC_NAMESPACE
