CLAM-Development  1.1
Public Member Functions | Protected Member Functions
CLAM::PitchNote Class Reference

Pitch note type definition = pitch + octave. More...

#include <PitchNote.hxx>

List of all members.

Public Member Functions

 DYNAMIC_TYPE_USING_INTERFACE (PitchNote, 2, ProcessingData)
 DYN_ATTRIBUTE (0, public, EPitch, Pitch)
 DYN_ATTRIBUTE (1, public, int, Octave)
void SetMIDIPitch (int)

Protected Member Functions

void DefaultInit ()
 The concrete dynamic type constructor calls DefaultInit().

Detailed Description

Pitch note type definition = pitch + octave.

Definition at line 81 of file PitchNote.hxx.


Member Function Documentation

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().

See also:
CopyInit()

Reimplemented from CLAM::DynamicType.

Definition at line 28 of file PitchNote.cxx.

References CLAM::EPitch::eA, and CLAM::DynamicType::UpdateData().

CLAM::PitchNote::DYN_ATTRIBUTE ( ,
public  ,
EPitch  ,
Pitch   
)
CLAM::PitchNote::DYN_ATTRIBUTE ( ,
public  ,
int  ,
Octave   
)

Definition at line 39 of file PitchNote.cxx.


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