Configuration of the MIDIClocker class. More...
#include <MIDIClocker.hxx>
Public Member Functions | |
| MIDIClockerConfig () | |
| MIDIClockerConfig (const MIDIClockerConfig &prototype, const bool shareData=false, const bool deep=true) | |
| __COMMON_DYNAMIC_TYPE (MIDIClockerConfig, 1) | |
| __COMMON_DYN_ATTRIBUTE (0, public, std::string, Device) protected | |
| The Device that will be used by this MIDIClocker or MIDIOut instantiation, if it is not indicated, or its value is "default:default", system will choose the best device for this object. | |
| bool | LoadDevice (CLAM::Storage &s) |
Protected Member Functions | |
| void | DefaultInit (void) |
| The concrete dynamic type constructor calls DefaultInit(). | |
Configuration of the MIDIClocker class.
You can specify a device (string), which will be used by the MIDIManager, when creating the MIDIDevice objects. When you don't specify a concrete device, or specify "default", the MIDIManager will choose the default device for your setup. For multichannel MIDI, you need to configure each in/out with it's own channel id, typically 0 for left, and 1 for right.
Definition at line 40 of file MIDIClocker.hxx.
| CLAM::MIDIClockerConfig::MIDIClockerConfig | ( | ) | [inline] |
Definition at line 43 of file MIDIClocker.hxx.
| CLAM::MIDIClockerConfig::MIDIClockerConfig | ( | const MIDIClockerConfig & | prototype, | |
| const bool | shareData = false, |
|||
| const bool | deep = true | |||
| ) | [inline] |
Definition at line 43 of file MIDIClocker.hxx.
| CLAM::MIDIClockerConfig::__COMMON_DYN_ATTRIBUTE | ( | 0 | , | |
| public | , | |||
| std::string | , | |||
| Device | ||||
| ) | [inline] |
The Device that will be used by this MIDIClocker or MIDIOut instantiation, if it is not indicated, or its value is "default:default", system will choose the best device for this object.
Definition at line 46 of file MIDIClocker.hxx.
| CLAM::MIDIClockerConfig::__COMMON_DYNAMIC_TYPE | ( | MIDIClockerConfig | , | |
| 1 | ||||
| ) |
| void CLAM::MIDIClockerConfig::DefaultInit | ( | void | ) | [inline, protected] |
The concrete dynamic type constructor calls DefaultInit().
This allows user to initialize his/her object. But we define DefaultInit() here because we don't want to force writting one DefaultInit() function for each concrete dynamic type. If a dynamic type concrete class defines some (not-default) constructors, this should also call the DefaultInit().
Reimplemented from CLAM::DynamicType.
Definition at line 49 of file MIDIClocker.hxx.
References CLAM::DynamicType::UpdateData().
| bool CLAM::MIDIClockerConfig::LoadDevice | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 46 of file MIDIClocker.hxx.
1.6.3