drumstick 2.9.0
C++ MIDI libraries using Qt objects, idioms, and style.
SequencerEventHandler Class Referenceabstract

Sequencer events handler. More...

#include <alsaclient.h>

Public Member Functions

virtual ~SequencerEventHandler ()=default
 Destructor.
 
virtual void handleSequencerEvent (SequencerEvent *ev)=0
 Callback function to be implemented by the derived class. More...
 

Detailed Description

Sequencer events handler.

This abstract class is used to define an interface that other class can implement to receive sequencer events. It is one of the three methods of delivering events offered by this library.

See also
ALSA Sequencer Clients
Examples
dumpmid.cpp, and metronome.cpp.

Definition at line 195 of file alsaclient.h.

Member Function Documentation

◆ handleSequencerEvent()

virtual void handleSequencerEvent ( SequencerEvent ev)
pure virtual

Callback function to be implemented by the derived class.

It will be invoked by the client to deliver received events to the registered listener.

Parameters
evA pointer to the received SequencerEvent
See also
MidiClient::setHandler(), MidiClient::startSequencerInput(), MidiClient::stopSequencerInput(), MidiClient::doEvents()
Examples
dumpmid.cpp, and metronome.cpp.

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