Classes | Public Member Functions | Public Attributes | List of all members
universal_midi_packets::BytestreamToUMPHandler Struct Reference

Parses a continuous MIDI 1.0 bytestream, and emits full messages in the requested UMP format. More...

Inheritance diagram for universal_midi_packets::BytestreamToUMPHandler:

Classes

class  Factory
 Provides an operator() which can create an input handler for a given MidiInput. More...
 

Public Member Functions

 BytestreamToUMPHandler (PacketProtocol protocol, Receiver &c)
 
void reset () override
 
void pushMidiData (const void *data, int bytes, double time) override
 
- Public Member Functions inherited from universal_midi_packets::BytestreamInputHandler
virtual ~BytestreamInputHandler () noexcept=default
 

Public Attributes

Receiverrecipient
 
BytestreamToUMPDispatcher dispatcher
 

Detailed Description

Parses a continuous MIDI 1.0 bytestream, and emits full messages in the requested UMP format.

Constructor & Destructor Documentation

◆ BytestreamToUMPHandler()

universal_midi_packets::BytestreamToUMPHandler::BytestreamToUMPHandler ( PacketProtocol  protocol,
Receiver c 
)

Member Function Documentation

◆ reset()

void universal_midi_packets::BytestreamToUMPHandler::reset ( )
overridevirtual

◆ pushMidiData()

void universal_midi_packets::BytestreamToUMPHandler::pushMidiData ( const void *  data,
int  bytes,
double  time 
)
overridevirtual

Member Data Documentation

◆ recipient

Receiver& universal_midi_packets::BytestreamToUMPHandler::recipient

◆ dispatcher

BytestreamToUMPDispatcher universal_midi_packets::BytestreamToUMPHandler::dispatcher

Referenced by reset().


The documentation for this struct was generated from the following file: