#include <MIDIKeyboard.hxx>
Definition at line 24 of file MIDIKeyboard.hxx.
Public Member Functions | |
const char * | GetClassName () const |
Override it in every subclass and retur the name of that class. | |
MIDIKeyboard () | |
MIDIKeyboard (ProcessingConfig &cfg) | |
bool | ConcreteConfigure (const ProcessingConfig &cfg) |
Configuration method interface. | |
bool | Do () |
Supervised mode execution method (using ports). | |
~MIDIKeyboard () | |
const ProcessingConfig & | GetConfig () const |
Configuration getter. |
CLAM::MIDIKeyboard::MIDIKeyboard | ( | ) |
CLAM::MIDIKeyboard::MIDIKeyboard | ( | ProcessingConfig & | cfg | ) |
CLAM::MIDIKeyboard::~MIDIKeyboard | ( | ) | [inline] |
Definition at line 65 of file MIDIKeyboard.hxx.
const char* CLAM::MIDIKeyboard::GetClassName | ( | ) | const [inline, virtual] |
Override it in every subclass and retur the name of that class.
Implements CLAM::Processing.
Definition at line 55 of file MIDIKeyboard.hxx.
bool CLAM::MIDIKeyboard::ConcreteConfigure | ( | const ProcessingConfig & | ) | [virtual] |
Configuration method interface.
The Processing base class forces all the concrete classes derived from it to implement this method, which must actually perform the specific configuration tasks.
Note that the user can not call this method directly. He will use Configure instead. The argument is expected to be an object of the necesary concrete configuration class.
Reference | to the configuration object. |
This | method must throw a bad_cast exception if the argument is not an object of the expected configuration class. |
Reimplemented from CLAM::Processing.
Definition at line 62 of file MIDIKeyboard.cxx.
References CLAM::OutControlPublisher::AddLink(), CLAM::Processing::Configure(), CLAM::Processing::CopyAsConcreteConfig(), CLAM::MIDI::eControlChange, CLAM::MIDI::eNoteOnOff, CLAM::MIDI::ePitchbend, CLAM::OutControlRegistry::GetByNumber(), CLAM::Processing::GetOutControls(), and CLAM::OutControlPublisher::PublishOutControl().
bool CLAM::MIDIKeyboard::Do | ( | ) | [virtual] |
Supervised mode execution method (using ports).
Implements CLAM::Processing.
Definition at line 104 of file MIDIKeyboard.cxx.
References CLAM::MIDIManager::Check(), CLAM::MIDIManager::Current(), CLAM::AudioManager::Current(), CLAM::InControl::GetLastValue(), CLAM::AudioManager::SampleRate(), CLAM::OutControl::SendControl(), and CLAM::SendFloatToInControl().
const ProcessingConfig& CLAM::MIDIKeyboard::GetConfig | ( | ) | const [inline, virtual] |
Configuration getter.
Gets the configuration parameters used to create the object.
Reimplemented from CLAM::Processing.
Definition at line 67 of file MIDIKeyboard.hxx.