Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | Related Pages

CommonNumerator Class Reference
[Core Musical Objects]

#include <CommonNumerator.h>

List of all members.

Public Member Functions

void addSortedNotes (SortedNotes *)
void addAttributes (AttributesMusic *)
void adjust (int)
int getUTotalDivisions ()


Detailed Description

This class factorize all the divisions in the various parts to have a common time scale maybe this would be a goog idea to rename this class as UniversalTimeNumerator


Member Function Documentation

void CommonNumerator::addAttributes AttributesMusic atts  ) 
 

This add an attributes to the vector. Each time a factor is appended we will recomput the UTFactor of the all the SortedNotes vector this method may not work in incorrect order : This is a bloquing bug ! Fix it !

void CommonNumerator::addSortedNotes SortedNotes sn  ) 
 

This add a sorted notes to the vector. Each time a factor is appended we will recomput the UTFactor of the all the SortedNotes vector this method may not work in incorrect order of appending : This is a bloquing bug !

void CommonNumerator::adjust int  num  ) 
 

This set the common numerator so that num is a divisor of the commn numrator

int CommonNumerator::getUTotalDivisions  ) 
 

the ratio UTotalDivision/LocalTotalDivision gives the

Returns:
the total Universal division in the common numerator


The documentation for this class was generated from the following files:
Generated on Tue Jun 1 21:13:31 2004 for Alternate Take by doxygen 1.3.6