class MasterEvent

This event contains information on tempo and meter. More...

Definition#include <masterEvent.h>
InheritsEvent [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

This event contains information on tempo and meter. It is used for tempo and meter changes within a part. If the tempo is set to a value other than zero, the event is treated as a tempo change, otherwise it is treated as a meter change.

 MasterEvent ()

MasterEvent

Default Constructor

 MasterEvent (const MasterEvent&)

MasterEvent

Copy Constructor

 MasterEvent (Position pos, int tempo)

MasterEvent

Constructor defining a new tempo at a position pos

 MasterEvent (Position pos, int met0, int met1)

MasterEvent

Constructor defining a new meter (met0/met1) at a position pos

 MasterEvent (Position pos, int tempo, int met0, int met1)

MasterEvent

Constructor defining both, a new tempo and a new meter

int  tempo ()

tempo

[const]

Returns the tempo.

int  meter0 ()

meter0

[const]

Returns the numerator of the meter

int  meter1 ()

meter1

[const]

Returns the denominator of the meter

void  setTempo (int cal)

setTempo

Sets the tempo value to val

void  setMeter0 (int met0)

setMeter0

Sets the value of the numerator to met0

void  setMeter1 (int met1)

setMeter1

Sets the value of the denominator to met1

ostream &  print (int,ostream&)

print

[const virtual]

Implementation of the print method

Reimplemented from Event.

void  flush (const char*)

flush

[const virtual]

Implementation of the flush method

Reimplemented from Event.

Element *  copy ()

copy

[const virtual]

Implementation of the copy method

Reimplemented from Event.

Element *  load (char*,ifstream*&,Element*)

load

[static]

Implementation of the load method


Generated by: wuerthne on al on Sun Jan 6 22:32:42 2002, using kdoc 2.0a53.