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

Parses a continuous stream of U32 words and emits complete MidiMessages whenever a full message is received. More...

Inheritance diagram for universal_midi_packets::U32ToBytestreamHandler:

Classes

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

Public Member Functions

 U32ToBytestreamHandler (MidiInput &i, MidiInputCallback &c)
 
void reset () override
 
void pushMidiData (const uint32_t *begin, const uint32_t *end, double time) override
 
- Public Member Functions inherited from universal_midi_packets::U32InputHandler
virtual ~U32InputHandler () noexcept=default
 

Public Attributes

MidiInputinput
 
MidiInputCallbackcallback
 
ToBytestreamDispatcher dispatcher
 

Detailed Description

Parses a continuous stream of U32 words and emits complete MidiMessages whenever a full message is received.

Constructor & Destructor Documentation

◆ U32ToBytestreamHandler()

universal_midi_packets::U32ToBytestreamHandler::U32ToBytestreamHandler ( MidiInput i,
MidiInputCallback c 
)

Member Function Documentation

◆ reset()

void universal_midi_packets::U32ToBytestreamHandler::reset ( )
overridevirtual

◆ pushMidiData()

void universal_midi_packets::U32ToBytestreamHandler::pushMidiData ( const uint32_t *  begin,
const uint32_t *  end,
double  time 
)
overridevirtual

Member Data Documentation

◆ input

MidiInput& universal_midi_packets::U32ToBytestreamHandler::input

◆ callback

MidiInputCallback& universal_midi_packets::U32ToBytestreamHandler::callback

◆ dispatcher

ToBytestreamDispatcher universal_midi_packets::U32ToBytestreamHandler::dispatcher

Referenced by reset().


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