drumstick  1.1.0
SequencerEventHandler Class Referenceabstract

Sequencer events handler. More...

#include <alsaclient.h>

Public Member Functions

virtual ~SequencerEventHandler ()
 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:
metronome.cpp.

Definition at line 175 of file alsaclient.h.

Member Function Documentation

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()

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