iPlug 2: ISysEx Struct Reference
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.
- Parameters
-
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.
◆ Clear()
|
inline |
Clear the data pointer and size (does not modify the external data!)
Definition at line 554 of file IPlugMidi.h.
◆ LogMsg()
|
inline |
◆ SysExStr()
|
inline |
Get the bytes of a sysex message as a CString.
- Parameters
-
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
- Returns
- The CString result
Definition at line 566 of file IPlugMidi.h.
Referenced by LogMsg().
◆ mData
const uint8_t* ISysEx::mData
◆ mOffset
◆ mSize
The documentation for this struct was generated from the following file: