| 1 |
/* |
| 2 |
* midisnoop - MIDI monitor and prober |
| 3 |
* Copyright (C) 2012 Devin Anderson |
| 4 |
* |
| 5 |
* This program is free software; you can redistribute it and/or modify it |
| 6 |
* under the terms of the GNU General Public License as published by the Free |
| 7 |
* Software Foundation; either version 2 of the License, or (at your option) |
| 8 |
* any later version. |
| 9 |
* |
| 10 |
* This program is distributed in the hope that it will be useful, but WITHOUT |
| 11 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 12 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 13 |
* more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU General Public License along with |
| 16 |
* this program; if not, write to the Free Software Foundation, Inc., 675 Mass |
| 17 |
* Ave, Cambridge, MA 02139, USA. |
| 18 |
*/ |
| 19 |
|
| 20 |
#ifndef __ENGINE_H__ |
| 21 |
#define __ENGINE_H__cxx . . $ `src/engine.h:21:9`! |
| 22 |
|
| 23 |
#include <QtCore/QByteArray> |
| •24 |
#include <QtCore/QObject> |
| 25 |
#include <QtCore/QStringList> |
| 26 |
#include <QtCore/QVector> |
| 27 |
|
| 28 |
#include <RtMidi.h> |
| 29 |
|
| 30 |
class Enginecxx . . $ Engine#: public QObjectcxx . . $ QObject# { |
| 31 |
|
| 32 |
Q_OBJECTcxx . . $ Engine#trUtf8(75d9f1c324b4579d). |
| 33 |
|
| 34 |
public: |
| 35 |
|
| 36 |
explicit |
| 37 |
Enginecxx . . $ Engine#Engine(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent=0); |
| 38 |
|
| 39 |
~cxx . . $ Engine#`~Engine`(ced63f7c635d850d).Enginecxx . . $ Engine#(); |
| 40 |
|
| 41 |
int |
| 42 |
getDrivercxx . . $ Engine#getDriver(455f465bc33b4cdf).() const; |
| 43 |
|
| 44 |
int |
| 45 |
getDriverCountcxx . . $ Engine#getDriverCount(455f465bc33b4cdf).() const; |
| 46 |
|
| 47 |
QStringcxx . . $ QString# |
| 48 |
getDriverNamecxx . . $ Engine#getDriverName(3f3c3d0e9c0eb37f).(int index) const; |
| 49 |
|
| 50 |
bool |
| 51 |
getIgnoreActiveSensingEventscxx . . $ Engine#getIgnoreActiveSensingEvents(50ce9a9e25b4a850).() const; |
| 52 |
|
| 53 |
bool |
| 54 |
getIgnoreSystemExclusiveEventscxx . . $ Engine#getIgnoreSystemExclusiveEvents(50ce9a9e25b4a850).() const; |
| 55 |
|
| 56 |
bool |
| 57 |
getIgnoreTimeEventscxx . . $ Engine#getIgnoreTimeEvents(50ce9a9e25b4a850).() const; |
| 58 |
|
| 59 |
int |
| 60 |
getInputPortcxx . . $ Engine#getInputPort(455f465bc33b4cdf).() const; |
| 61 |
|
| 62 |
int |
| 63 |
getInputPortCountcxx . . $ Engine#getInputPortCount(455f465bc33b4cdf).() const; |
| 64 |
|
| 65 |
QStringcxx . . $ QString# |
| 66 |
getInputPortNamecxx . . $ Engine#getInputPortName(3f3c3d0e9c0eb37f).(int index) const; |
| 67 |
|
| 68 |
int |
| 69 |
getOutputPortcxx . . $ Engine#getOutputPort(455f465bc33b4cdf).() const; |
| 70 |
|
| 71 |
int |
| 72 |
getOutputPortCountcxx . . $ Engine#getOutputPortCount(455f465bc33b4cdf).() const; |
| 73 |
|
| 74 |
QStringcxx . . $ QString# |
| 75 |
getOutputPortNamecxx . . $ Engine#getOutputPortName(3f3c3d0e9c0eb37f).(int index) const; |
| 76 |
|
| 77 |
public slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 78 |
|
| 79 |
quint64cxx . . $ quint64# |
| 80 |
sendMessagecxx . . $ Engine#sendMessage(a0c38bcf9df53632).(const QByteArraycxx . . $ QByteArray# &message); |
| 81 |
|
| 82 |
void |
| 83 |
setDrivercxx . . $ Engine#setDriver(d4f767463ce0a6b3).(int index); |
| 84 |
|
| 85 |
void |
| 86 |
setIgnoreActiveSensingEventscxx . . $ Engine#setIgnoreActiveSensingEvents(b45ddcbc8423892c).(bool ignore); |
| 87 |
|
| 88 |
void |
| 89 |
setIgnoreSystemExclusiveEventscxx . . $ Engine#setIgnoreSystemExclusiveEvents(b45ddcbc8423892c).(bool ignore); |
| 90 |
|
| 91 |
void |
| 92 |
setIgnoreTimeEventscxx . . $ Engine#setIgnoreTimeEvents(b45ddcbc8423892c).(bool ignore); |
| 93 |
|
| 94 |
void |
| 95 |
setInputPortcxx . . $ Engine#setInputPort(d4f767463ce0a6b3).(int index); |
| 96 |
|
| 97 |
void |
| 98 |
setOutputPortcxx . . $ Engine#setOutputPort(d4f767463ce0a6b3).(int index); |
| 99 |
|
| 100 |
signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 101 |
|
| 102 |
void |
| 103 |
driverChangedcxx . . $ Engine#driverChanged(d4f767463ce0a6b3).(int index); |
| 104 |
|
| 105 |
void |
| 106 |
ignoreActiveSensingEventsChangedcxx . . $ Engine#ignoreActiveSensingEventsChanged(b45ddcbc8423892c).(bool ignore); |
| 107 |
|
| 108 |
void |
| 109 |
ignoreSystemExclusiveEventsChangedcxx . . $ Engine#ignoreSystemExclusiveEventsChanged(b45ddcbc8423892c).(bool ignore); |
| 110 |
|
| 111 |
void |
| 112 |
ignoreTimeEventsChangedcxx . . $ Engine#ignoreTimeEventsChanged(b45ddcbc8423892c).(bool ignore); |
| 113 |
|
| 114 |
void |
| 115 |
inputPortAddedcxx . . $ Engine#inputPortAdded(4b11a7293b4ed91c).(int index, const QStringcxx . . $ QString# &name); |
| 116 |
|
| 117 |
void |
| 118 |
inputPortChangedcxx . . $ Engine#inputPortChanged(d4f767463ce0a6b3).(int index); |
| 119 |
|
| 120 |
void |
| 121 |
inputPortRemovedcxx . . $ Engine#inputPortRemoved(d4f767463ce0a6b3).(int index); |
| 122 |
|
| 123 |
void |
| 124 |
messageReceivedcxx . . $ Engine#messageReceived(a7e3eb4d802fd6a1).(quint64cxx . . $ quint64# timeStamp, const QByteArraycxx . . $ QByteArray# &message); |
| 125 |
|
| 126 |
void |
| 127 |
outputPortAddedcxx . . $ Engine#outputPortAdded(4b11a7293b4ed91c).(int index, const QStringcxx . . $ QString# &name); |
| 128 |
|
| 129 |
void |
| 130 |
outputPortChangedcxx . . $ Engine#outputPortChanged(d4f767463ce0a6b3).(int index); |
| 131 |
|
| 132 |
void |
| 133 |
outputPortRemovedcxx . . $ Engine#outputPortRemoved(d4f767463ce0a6b3).(int index); |
| 134 |
|
| 135 |
private: |
| 136 |
|
| 137 |
static void |
| 138 |
handleMidiInputcxx . . $ Engine#handleMidiInput(d6168d484d249804).(double timeStamp, stdcxx . . $ std/::vectorcxx . . $ std/vector#<unsigned char> *message, |
| 139 |
void *engine); |
| 140 |
|
| 141 |
quint64cxx . . $ quint64# |
| 142 |
getCurrentTimestampcxx . . $ Engine#getCurrentTimestamp(1c5fc1fd41a99ae7).() const; |
| 143 |
|
| 144 |
void |
| 145 |
handleMidiInputcxx . . $ Engine#handleMidiInput(aaf76a23751cd870).(double timeStamp, |
| 146 |
const stdcxx . . $ std/::vectorcxx . . $ std/vector#<unsigned char> &message); |
| 147 |
|
| 148 |
void |
| 149 |
removePortscxx . . $ Engine#removePorts(49f6e7a06ebc5aa8).(); |
| 150 |
|
| 151 |
void |
| 152 |
updateEventFiltercxx . . $ Engine#updateEventFilter(49f6e7a06ebc5aa8).(); |
| 153 |
|
| 154 |
int drivercxx . . $ Engine#driver.; |
| 155 |
QListcxx . . $ QList#<RtMidicxx . . $ RtMidi#::Apicxx . . $ RtMidi#Api#> driverAPIscxx . . $ Engine#driverAPIs.; |
| 156 |
QStringListcxx . . $ QStringList# driverNamescxx . . $ Engine#driverNames.; |
| 157 |
bool ignoreActiveSensingEventscxx . . $ Engine#ignoreActiveSensingEvents.; |
| 158 |
bool ignoreSystemExclusiveEventscxx . . $ Engine#ignoreSystemExclusiveEvents.; |
| 159 |
bool ignoreTimeEventscxx . . $ Engine#ignoreTimeEvents.; |
| 160 |
RtMidiIncxx . . $ RtMidiIn# *inputcxx . . $ Engine#input.; |
| 161 |
int inputPortcxx . . $ Engine#inputPort.; |
| 162 |
QStringListcxx . . $ QStringList# inputPortNamescxx . . $ Engine#inputPortNames.; |
| 163 |
RtMidiOutcxx . . $ RtMidiOut# *outputcxx . . $ Engine#output.; |
| 164 |
int outputPortcxx . . $ Engine#outputPort.; |
| 165 |
QStringListcxx . . $ QStringList# outputPortNamescxx . . $ Engine#outputPortNames.; |
| 166 |
bool virtualPortsAddedcxx . . $ Engine#virtualPortsAdded.; |
| 167 |
|
| 168 |
}; |
| 169 |
|
| 170 |
#endif |