iPlug2 - C++ Audio Plug-in Framework
|
A struct for dealing with SysEx messages. More...
#include <IPlugMidi.h>
Public Member Functions | |
ISysEx (int offset=0, const uint8_t *pData=nullptr, int size=0) | |
Create an ISysex. More... | |
void | Clear () |
Clear the data pointer and size (does not modify the external data!) More... | |
char * | SysExStr (char *str, int maxLen, const uint8_t *pData, int size) |
Get the bytes of a sysex message as a CString. More... | |
void | LogMsg () |
Log a message (TRACER BUILDS) More... | |
Public Attributes | |
int | mOffset |
int | mSize |
const uint8_t * | mData |
A struct for dealing with SysEx messages.
Does not own the data.
Definition at line 538 of file IPlugMidi.h.
|
inline |
Create an ISysex.
offset | The sample offset for the sysex message |
pData | Ptr to the data, which must stay valid while this object is used |
size | Size of the data in bytes |
Definition at line 547 of file IPlugMidi.h.
|
inline |
Clear the data pointer and size (does not modify the external data!)
Definition at line 554 of file IPlugMidi.h.
|
inline |
|
inline |
Get the bytes of a sysex message as a CString.
str | Buffer for CString |
maxLen | size of the CString buffer |
pData | Ptr to the bytes of the sysex message |
size | Size of the data in bytes |
Definition at line 566 of file IPlugMidi.h.
Referenced by LogMsg().
const uint8_t* ISysEx::mData |
Definition at line 541 of file IPlugMidi.h.
int ISysEx::mOffset |
Definition at line 540 of file IPlugMidi.h.
int ISysEx::mSize |
Definition at line 540 of file IPlugMidi.h.