class TimeSigTrack

A list of TimeSig events. More...

Full nameTSE3::TimeSigTrack
Definition#include <TimeSigTrack.h>
InheritsTSE3::EventTrack [public ], TSE3::Serializable [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

The TimeSigTrack provides a simple time ordered list of TimeSig changes in the Song.

There is one TimeSigTrack per Song.

See also: Event, TimeSig

 TimeSigTrack ()

TimeSigTrack

Creates an empty TimeSigTrack.

 ~TimeSigTrack ()

~TimeSigTrack

[virtual]

bool  status ()

status

[const]

Returns the status of the TimeSigTrack.

A value of true means timesig events are generated, a value of false means no timesig events are generated

Returns: TimeSigTrack status

See also: setStatus

void  setStatus (bool s)

setStatus

Set the TimeSigTrack status value.

Parameters:
sNew TimeSigTrack status

See also: status

void  barBeatPulse (Clock time, int &bar, int &beat, int &pulse)

barBeatPulse

Converts the given time value into a bar/beat/pulse set according to the time signatures in the TimeSigTrack.

Parameters:
time(in) Time at which to find bar/beat/pulse
bar(out) Returns bar value at time
beat(out) Returns beat value at time
pulse(out) Returns pulse value at time

PlayableIterator * iterator (Clock index)

iterator

[virtual]

Reimplemented from Playable for internal purposes..

Clock  lastClock ()

lastClock

[const virtual]

Reimplemented from Playable for internal purposes..

void  save (std::ostream &o, int i)

save

[const virtual]

Reimplemented from Serializable for internal purposes..

void  load (std::istream &i, SerializableLoadInfo &info)

load

[virtual]

Reimplemented from Serializable for internal purposes..