class Filter

Interface for a MidiEvent filter. More...

Contains pure virtuals
Full nameTSE3::Filter
Definition#include <Filter.h>
Inherited byMidiFilter, MidiMapper, MidiParams
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

The Filter is an interface that allows the use of MidiEvent 'filters'. These filters accept a single MidiEvent, and return the MidiEvent filtered in some way.

See also: MidiEvent

 Filter ()

Filter

 ~Filter ()

~Filter

[pure virtual]

MidiEvent  filter (const MidiEvent &e)

filter

[const pure virtual]

Filter a MidiEvent by doing something suitably marvellous to it. If the event is removed altogether the filter will return a MidiEvent with a MidiCommand_Invalid. These can propagate up the Playable hierarchy and be ignored by the MidiScheduler at the top.

Parameters:
eMidiEvent to filter

Returns: Filtered MidiEvent (may be a MidiCommand_Invalid)