LMMS
Loading...
Searching...
No Matches
Alg_tracks Class Reference

a sequence of Alg_events objects More...

#include <allegro.h>

Public Member Functions

Alg_trackoperator[] (int i)
long length ()
 Alg_tracks ()
 ~Alg_tracks ()
void append (Alg_track_ptr track)
 Append a track to tracks. This Alg_tracks becomes the owner of track.
void add_track (int track_num, Alg_time_map_ptr time_map, bool seconds)
void reset ()
void set_in_use (bool flag)
 handy to set in_use flag on all tracks

Public Attributes

Alg_track_ptrtracks
 tracks is array of pointers

Private Member Functions

void expand ()
void expand_to (int new_max)

Private Attributes

long maxlen
long len

Detailed Description

a sequence of Alg_events objects

Constructor & Destructor Documentation

◆ Alg_tracks()

Alg_tracks::Alg_tracks ( )
inline

◆ ~Alg_tracks()

Alg_tracks::~Alg_tracks ( )

Member Function Documentation

◆ add_track()

void Alg_tracks::add_track ( int track_num,
Alg_time_map_ptr time_map,
bool seconds )

◆ append()

void Alg_tracks::append ( Alg_track_ptr track)

Append a track to tracks. This Alg_tracks becomes the owner of track.

◆ expand()

void Alg_tracks::expand ( )
private

◆ expand_to()

void Alg_tracks::expand_to ( int new_max)
private

◆ length()

long Alg_tracks::length ( )
inline

◆ operator[]()

Alg_track & Alg_tracks::operator[] ( int i)
inline

◆ reset()

void Alg_tracks::reset ( )

◆ set_in_use()

void Alg_tracks::set_in_use ( bool flag)

handy to set in_use flag on all tracks

Member Data Documentation

◆ len

long Alg_tracks::len
private

◆ maxlen

long Alg_tracks::maxlen
private

◆ tracks

Alg_track_ptr* Alg_tracks::tracks

tracks is array of pointers


The documentation for this class was generated from the following files: