#include <MIDI_Parsers/SysExBuffer.hpp>
Public Member Functions | |
| void | start () | 
| Start a new SysEx message.  More... | |
| void | end () | 
| Finish the current SysEx message.  More... | |
| bool | add (uint8_t data) | 
| Add a byte to the current SysEx message.  More... | |
| bool | hasSpaceLeft () const | 
| Check if the buffer has at least 1 byte of free space available.  More... | |
| bool | isReceiving () const | 
| Check if the buffer is receiving a SysEx message.  More... | |
| const uint8_t * | getBuffer () const | 
| Get a pointer to the buffer.  More... | |
| size_t | getLength () const | 
| Get the length of the SysEx message in the buffer.  More... | |
Private Attributes | |
| uint8_t | SysExBuffer [SYSEX_BUFFER_SIZE] | 
| size_t | SysExLength = 0 | 
| bool | receiving = false | 
Definition at line 7 of file SysExBuffer.hpp.
| void start | ( | ) | 
Start a new SysEx message.
Definition at line 5 of file SysExBuffer.cpp.
| void end | ( | ) | 
Finish the current SysEx message.
Definition at line 11 of file SysExBuffer.cpp.
| bool add | ( | uint8_t | data | ) | 
Add a byte to the current SysEx message.
Definition at line 16 of file SysExBuffer.cpp.
| bool hasSpaceLeft | ( | ) | const | 
Check if the buffer has at least 1 byte of free space available.
Definition at line 24 of file SysExBuffer.cpp.
| bool isReceiving | ( | ) | const | 
Check if the buffer is receiving a SysEx message.
Definition at line 31 of file SysExBuffer.cpp.
| const uint8_t * getBuffer | ( | ) | const | 
Get a pointer to the buffer.
Definition at line 33 of file SysExBuffer.cpp.
| size_t getLength | ( | ) | const | 
Get the length of the SysEx message in the buffer.
Definition at line 35 of file SysExBuffer.cpp.
      
  | 
  private | 
Definition at line 9 of file SysExBuffer.hpp.
      
  | 
  private | 
Definition at line 10 of file SysExBuffer.hpp.
      
  | 
  private | 
Definition at line 11 of file SysExBuffer.hpp.
 1.8.16