Loading...
Searching...
No Matches
midi_ci::ResponderOutput Class Referenceabstract

A buffer output that additionally provides information about an incoming message, so that an appropriate reply can be constructed for that message. More...

#include <juce_CIResponderOutput.h>

Inheritance diagram for midi_ci::ResponderOutput:

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 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.
 

Detailed Description

A buffer output that additionally provides information about an incoming message, so that an appropriate reply can be constructed for that message.

Member Function Documentation

◆ getIncomingHeader()

virtual Message::Header midi_ci::ResponderOutput::getIncomingHeader ( ) const
pure virtual

Returns the header of the message that was received.

◆ getIncomingGroup()

virtual uint8_t midi_ci::ResponderOutput::getIncomingGroup ( ) const
pure virtual

Returns the group of the message that was received.

◆ getChannelAddress()

ChannelAddress midi_ci::ResponderOutput::getChannelAddress ( ) const

Returns the channel to which the incoming message was addressed.

◆ getReplyHeader()

Message::Header midi_ci::ResponderOutput::getReplyHeader ( std::byte replySubID) const

Returns a default header that can be used for outgoing replies.

This always sets the destination MUID equal to the source MUID of the incoming header, so it's not suitable for broadcast messages.


The documentation for this class was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram