|
resonance 1.0.1
|
One bar of a track, with its scoring values and the sorted lists of what starts in it. More...
#include <trackdata.h>
Public Member Functions | |
| Bar () | |
| Construct an empty bar quantised to 120 ticks. | |
| ~Bar () | |
| Delete every MIDI message the bar holds and free the four lists. | |
| void | Print (std::ostream &stream) |
| Write every member Print() labels to a diagnostic stream. | |
Public Attributes | |
| int | mQuant |
| int | mPoints |
| int | mCatchPoints |
| std::vector< TickObj< Harmony * > > | mHarmonies |
| std::vector< TickObj< RiffSet * > > | mRiffSets |
| std::vector< TickObj< MuseMsg * > > | mMidi |
| std::vector< TickObj< int > > | mGems |
One bar of a track, with its scoring values and the sorted lists of what starts in it.
The record is 0x3c bytes, the element stride of TrackData::mBars. Print() labels every member except mCatchPoints. The type name is inferred. The record has no descriptor, allocation tag, or literal, and its allocations are billed to the vector.
| TrackData::Bar::Bar | ( | ) |
Construct an empty bar quantised to 120 ticks.
| TrackData::Bar::~Bar | ( | ) |
Delete every MIDI message the bar holds and free the four lists.
| void TrackData::Bar::Print | ( | std::ostream & | stream | ) |
Write every member Print() labels to a diagnostic stream.
| stream | The stream to write to. |
| int TrackData::Bar::mQuant |
Labelled quant = . +0x00
| int TrackData::Bar::mPoints |
Labelled points = . +0x04
| int TrackData::Bar::mCatchPoints |
The level's catch points, set by ScoreBars(). +0x08
| std::vector<TickObj<int> > TrackData::Bar::mGems |
Labelled gems: . +0x30