Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

TSE3::TimeSigTrack Class Reference

A list of TimeSig events. More...

#include <TimeSigTrack.h>

Inheritance diagram for TSE3::TimeSigTrack:

Inheritance graph
[legend]
Collaboration diagram for TSE3::TimeSigTrack:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TimeSigTrack ()
virtual ~TimeSigTrack ()
bool status () const
void setStatus (bool s)
void barBeatPulse (Clock time, int &bar, int &beat, int &pulse)
virtual PlayableIteratoriterator (Clock index)
virtual Clock lastClock () const
virtual void save (std::ostream &o, int i) const
virtual void load (std::istream &i, SerializableLoadInfo &info)

Detailed Description

A list of TimeSig events.

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

There is one TimeSigTrack per Song.

Author:
Pete Goodliffe
Version:
3.00
See also:
Event

TimeSig


Constructor & Destructor Documentation

TSE3::TimeSigTrack::TimeSigTrack  ) 
 

Creates an empty TimeSigTrack.

virtual TSE3::TimeSigTrack::~TimeSigTrack  )  [virtual]
 


Member Function Documentation

bool TSE3::TimeSigTrack::status  )  const [inline]
 

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 TSE3::TimeSigTrack::setStatus bool  s  )  [inline]
 

Set the TimeSigTrack status value.

Parameters:
s New TimeSigTrack status
See also:
status

void TSE3::TimeSigTrack::barBeatPulse Clock  time,
int &  bar,
int &  beat,
int &  pulse
 

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

virtual PlayableIterator* TSE3::TimeSigTrack::iterator Clock  index  )  [virtual]
 

Implements TSE3::Playable.

virtual Clock TSE3::TimeSigTrack::lastClock  )  const [virtual]
 

Implements TSE3::Playable.

virtual void TSE3::TimeSigTrack::save std::ostream &  o,
int  i
const [virtual]
 

Reimplemented from TSE3::Serializable.

virtual void TSE3::TimeSigTrack::load std::istream &  i,
SerializableLoadInfo info
[virtual]
 

Reimplemented from TSE3::Serializable.


The documentation for this class was generated from the following file:
Generated on Wed May 25 14:47:01 2005 for TSE3 by doxygen 1.3.2