Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

ATrack Class Reference

#include <atrack.h>

Inheritance diagram for ATrack:

Track List of all members.

Public Member Functions

 ATrack (EDL *edl, Tracks *tracks)
 ATrack ()
 ~ATrack ()
int create_objects ()
int load_defaults (Defaults *defaults)
void set_default_title ()
PluginSetnew_plugins ()
int vertical_span (Theme *theme)
int save_header (FileXML *file)
int save_derived (FileXML *file)
int load_header (FileXML *file, uint32_t load_flags)
int load_derived (FileXML *file, uint32_t load_flags)
int copy_settings (Track *track)
int identical (int64_t sample1, int64_t sample2)
void synchronize_params (Track *track)
int64_t to_units (double position, int round)
double to_doubleunits (double position)
double from_units (int64_t position)
int create_derived_objs (int flash)
int paste_derived (int64_t start, int64_t end, int64_t total_length, FileXML *xml, int &current_channel)
int modify_handles (int64_t oldposition, int64_t newposition, int currentend)
int64_t length ()
int get_dimensions (double &view_start, double &view_units, double &zoom_units)

Detailed Description

Definition at line 17 of file atrack.h.


Constructor & Destructor Documentation

ATrack::ATrack EDL edl,
Tracks tracks
 

Definition at line 29 of file atrack.C.

References Track::data_type, and TRACK_AUDIO.

ATrack::ATrack  )  [inline]
 

Definition at line 21 of file atrack.h.

ATrack::~ATrack  ) 
 

Definition at line 35 of file atrack.C.


Member Function Documentation

int ATrack::copy_settings Track track  )  [virtual]
 

Reimplemented from Track.

Definition at line 47 of file atrack.C.

References Track::copy_settings().

int ATrack::create_derived_objs int  flash  ) 
 

int ATrack::create_objects  ) 
 

Reimplemented from Track.

Definition at line 80 of file atrack.C.

References Track::automation, Automation::create_objects(), Track::create_objects(), Track::edits, and Track::edl.

Referenced by Tracks::add_audio_track().

double ATrack::from_units int64_t  position  )  [virtual]
 

Reimplemented from Track.

Definition at line 135 of file atrack.C.

References Track::edl, EDLSession::sample_rate, and EDL::session.

int ATrack::get_dimensions double &  view_start,
double &  view_units,
double &  zoom_units
[virtual]
 

Reimplemented from Track.

Definition at line 175 of file atrack.C.

References Track::edl, EDL::local_session, EDLSession::sample_rate, EDL::session, LocalSession::view_start, and LocalSession::zoom_sample.

int ATrack::identical int64_t  sample1,
int64_t  sample2
[virtual]
 

Reimplemented from Track.

Definition at line 141 of file atrack.C.

int64_t ATrack::length  ) 
 

Definition at line 170 of file atrack.C.

References Track::edits, and Edits::length().

int ATrack::load_defaults Defaults *  defaults  )  [virtual]
 

Reimplemented from Track.

Definition at line 105 of file atrack.C.

References Track::load_defaults().

int ATrack::load_derived FileXML file,
uint32_t  load_flags
[virtual]
 

Reimplemented from Track.

Definition at line 75 of file atrack.C.

int ATrack::load_header FileXML file,
uint32_t  load_flags
[virtual]
 

Reimplemented from Track.

Definition at line 69 of file atrack.C.

int ATrack::modify_handles int64_t  oldposition,
int64_t  newposition,
int  currentend
 

PluginSet * ATrack::new_plugins  )  [virtual]
 

Reimplemented from Track.

Definition at line 100 of file atrack.C.

References Track::edl.

int ATrack::paste_derived int64_t  start,
int64_t  end,
int64_t  total_length,
FileXML xml,
int &  current_channel
[virtual]
 

Reimplemented from Track.

Definition at line 191 of file atrack.C.

References XMLTag::get_property(), XMLTag::get_title(), and FileXML::tag.

int ATrack::save_derived FileXML file  )  [virtual]
 

Reimplemented from Track.

Definition at line 62 of file atrack.C.

References FileXML::append_newline().

int ATrack::save_header FileXML file  )  [virtual]
 

Reimplemented from Track.

Definition at line 56 of file atrack.C.

References XMLTag::set_property(), and FileXML::tag.

void ATrack::set_default_title  ) 
 

Definition at line 111 of file atrack.C.

References _, Track::data_type, Track::title, and TRACK_AUDIO.

Referenced by Tracks::add_audio_track().

void ATrack::synchronize_params Track track  )  [virtual]
 

Reimplemented from Track.

Definition at line 40 of file atrack.C.

References Track::synchronize_params().

double ATrack::to_doubleunits double  position  )  [virtual]
 

Reimplemented from Track.

Definition at line 130 of file atrack.C.

References Track::edl, EDLSession::sample_rate, and EDL::session.

int64_t ATrack::to_units double  position,
int  round
[virtual]
 

Reimplemented from Track.

Definition at line 122 of file atrack.C.

References Track::edl, EDLSession::sample_rate, and EDL::session.

Referenced by APanPatch::get_keyframe(), AFadePatch::get_keyframe(), and APatchGUI::update().

int ATrack::vertical_span Theme theme  )  [virtual]
 

Reimplemented from Track.

Definition at line 89 of file atrack.C.

References Track::expand_view, Theme::fade_h, Theme::meter_h, Theme::pan_h, Theme::play_h, Theme::title_h, Track::track_h, and Track::vertical_span().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:09 2006 for Cinelerra-svn by  doxygen 1.4.4