Pitch note type definition = pitch + octave. More...
#include <PitchNote.hxx>
Public Member Functions | |
| PitchNote () | |
| PitchNote (const PitchNote &prototype, const bool shareData=false, const bool deep=true) | |
| __COMMON_DYNAMIC_TYPE (PitchNote, 2) | |
| __COMMON_DYN_ATTRIBUTE (0, public, EPitch, Pitch) protected | |
| bool | LoadPitch (CLAM::Storage &s) |
| __COMMON_DYN_ATTRIBUTE (1, public, int, Octave) protected | |
| bool | LoadOctave (CLAM::Storage &s) |
| void | SetMIDIPitch (int) |
Protected Member Functions | |
| void | DefaultInit () |
| The concrete dynamic type constructor calls DefaultInit(). | |
Pitch note type definition = pitch + octave.
Definition at line 81 of file PitchNote.hxx.
| CLAM::PitchNote::PitchNote | ( | ) | [inline] |
Definition at line 84 of file PitchNote.hxx.
| CLAM::PitchNote::PitchNote | ( | const PitchNote & | prototype, | |
| const bool | shareData = false, |
|||
| const bool | deep = true | |||
| ) | [inline] |
Definition at line 84 of file PitchNote.hxx.
| CLAM::PitchNote::__COMMON_DYN_ATTRIBUTE | ( | 1 | , | |
| public | , | |||
| int | , | |||
| Octave | ||||
| ) | [inline] |
Definition at line 86 of file PitchNote.hxx.
| CLAM::PitchNote::__COMMON_DYN_ATTRIBUTE | ( | 0 | , | |
| public | , | |||
| EPitch | , | |||
| Pitch | ||||
| ) | [inline] |
Definition at line 85 of file PitchNote.hxx.
| CLAM::PitchNote::__COMMON_DYNAMIC_TYPE | ( | PitchNote | , | |
| 2 | ||||
| ) |
| void CLAM::PitchNote::DefaultInit | ( | void | ) | [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 28 of file PitchNote.cxx.
References CLAM::EPitch::eA, and CLAM::DynamicType::UpdateData().
| bool CLAM::PitchNote::LoadOctave | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 86 of file PitchNote.hxx.
| bool CLAM::PitchNote::LoadPitch | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 85 of file PitchNote.hxx.
| void CLAM::PitchNote::SetMIDIPitch | ( | int | val | ) |
Definition at line 39 of file PitchNote.cxx.
1.6.3