ATrack Class Reference

#include <atrack.h>

Inherits Track.

Collaboration diagram for ATrack:

Collaboration graph
[legend]

Public Member Functions

 ATrack (EDL *edl, Tracks *tracks)
 ATrack ()
 ~ATrack ()
int create_objects ()
int load_defaults (BC_Hash *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::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().

Here is the call graph for this function:

int ATrack::load_defaults ( BC_Hash defaults  )  [virtual]

Reimplemented from Track.

Definition at line 105 of file atrack.C.

References Track::load_defaults().

Here is the call graph for this function:

void ATrack::set_default_title (  ) 

Definition at line 111 of file atrack.C.

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

Referenced by Tracks::add_audio_track().

PluginSet * ATrack::new_plugins (  )  [virtual]

Reimplemented from Track.

Definition at line 100 of file atrack.C.

References Track::edl.

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, MAX, Theme::meter_h, Theme::pan_h, Theme::play_h, Theme::title_h, Track::track_h, and Track::vertical_span().

Here is the call graph for this function:

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.

Here is the call graph for this function:

int ATrack::save_derived ( FileXML file  )  [virtual]

Reimplemented from Track.

Definition at line 62 of file atrack.C.

References FileXML::append_newline(), and BCTEXTLEN.

Here is the call graph for this function:

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

Reimplemented from Track.

Definition at line 69 of file atrack.C.

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

Reimplemented from Track.

Definition at line 75 of file atrack.C.

int ATrack::copy_settings ( Track track  )  [virtual]

Reimplemented from Track.

Definition at line 47 of file atrack.C.

References Track::copy_settings().

Here is the call graph for this function:

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

Reimplemented from Track.

Definition at line 141 of file atrack.C.

void ATrack::synchronize_params ( Track track  )  [virtual]

Reimplemented from Track.

Definition at line 40 of file atrack.C.

References Track::synchronize_params().

Here is the call graph for this function:

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

Reimplemented from Track.

Definition at line 122 of file atrack.C.

References Track::edl, Units::round(), EDLSession::sample_rate, EDL::session, and Units::to_int64().

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

Here is the call graph for this function:

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.

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::create_derived_objs ( int  flash  ) 

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.

Here is the call graph for this function:

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

int64_t ATrack::length (  ) 

Definition at line 170 of file atrack.C.

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

Here is the call graph for this function:

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


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

Generated on Mon Apr 28 14:11:05 2008 for Cinelerra by  doxygen 1.5.5