CLAM::PitchNote Class Reference

#include <PitchNote.hxx>

Inheritance diagram for CLAM::PitchNote:

CLAM::ProcessingData CLAM::DynamicType CLAM::Component

List of all members.


Detailed Description

Pitch note type definition = pitch + octave.

Definition at line 81 of file PitchNote.hxx.


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

Member Function Documentation

CLAM::PitchNote::DYNAMIC_TYPE_USING_INTERFACE ( PitchNote  ,
,
ProcessingData   
)

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

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

void CLAM::PitchNote::SetMIDIPitch ( int  val  ) 

Definition at line 39 of file PitchNote.cxx.

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


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

Generated on Tue Aug 12 22:33:47 2008 for CLAM by  doxygen 1.5.5