A buffer output that additionally provides information about an incoming message, so that an appropriate reply can be constructed for that message.
Public Member Functions | |
| virtual Message::Header | getIncomingHeader () const =0 |
| Returns the header of the message that was received. | |
| virtual uint8_t | getIncomingGroup () const =0 |
| Returns the group of the message that was received. | |
| ChannelAddress | getChannelAddress () const |
| Returns the channel to which the incoming message was addressed. | |
| Message::Header | getReplyHeader (std::byte replySubID) const |
| Returns a default header that can be used for outgoing replies. | |
| Public Member Functions inherited from juce::midi_ci::BufferOutput | |
| BufferOutput ()=default | |
| virtual | ~BufferOutput ()=default |
| virtual MUID | getMuid () const =0 |
| Returns the MUID of the responder. | |
| virtual std::vector< std::byte > & | getOutputBuffer ()=0 |
| Returns the buffer into which replies should be written. | |
| virtual void | send (uint8_t group)=0 |
| Sends the current contents of the buffer to the provided group. | |
|
pure virtual |
Returns the header of the message that was received.
|
pure virtual |
Returns the group of the message that was received.
| ChannelAddress juce::midi_ci::ResponderOutput::getChannelAddress | ( | ) | const |
Returns the channel to which the incoming message was addressed.
| Message::Header juce::midi_ci::ResponderOutput::getReplyHeader | ( | std::byte | replySubID | ) | const |