SequencerEventHandler Class Reference

Sequencer events handler. More...

#include <alsaclient.h>

List of all members.

Public Member Functions

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


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.


Constructor & Destructor Documentation

virtual ~SequencerEventHandler (  )  [inline, virtual]

Destructor.

Definition at line 179 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:
ev A pointer to the received SequencerEvent
See also:
MidiClient::setHandler(), MidiClient::startSequencerInput(), MidiClient::stopSequencerInput(), MidiClient::doEvents()
Examples:
metronome.cpp.

Referenced by MidiClient::doEvents().


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

Generated on Wed Sep 8 10:12:37 2010 for drumstick by  doxygen 1.5.9