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

Tracking Class Reference

#include <tracking.h>

Inheritance diagram for Tracking:

CTracking VTracking List of all members.

Public Member Functions

 Tracking (MWindow *mwindow)
virtual ~Tracking ()
void create_objects ()
virtual int start_playback (double new_position)
virtual int stop_playback ()
virtual PlaybackEngineget_playback_engine ()
virtual double get_tracking_position ()
virtual void update_tracker (double position)
virtual void update_meters (int64_t position)
virtual void stop_meters ()
int get_pixel (double position)
virtual void draw ()
void run ()
void show_playback_cursor (int64_t position)

Public Attributes

ArrayList< double > module_levels
int state
int view_follows_playback
Condition * startup_lock
MWindowmwindow
MWindowGUIgui
double last_position
int follow_loop
int64_t current_offset
int reverse
int double_speed
Timer timer
int pixel
int visible

Detailed Description

Definition at line 15 of file tracking.h.


Constructor & Destructor Documentation

Tracking::Tracking MWindow mwindow  ) 
 

Definition at line 30 of file tracking.C.

References DONE, follow_loop, MWindow::gui, gui, pixel, startup_lock, state, and visible.

Tracking::~Tracking  )  [virtual]
 

Definition at line 42 of file tracking.C.

References DONE, PLAYING, startup_lock, and state.


Member Function Documentation

void Tracking::create_objects  ) 
 

Definition at line 57 of file tracking.C.

Referenced by VWindow::create_objects(), and CWindow::create_objects().

void Tracking::draw  )  [virtual]
 

Reimplemented in CTracking, and VTracking.

Definition at line 162 of file tracking.C.

References MWindowGUI::canvas, get_pixel(), gui, last_position, pixel, and visible.

Referenced by start_playback().

int Tracking::get_pixel double  position  ) 
 

Definition at line 107 of file tracking.C.

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

Referenced by draw().

PlaybackEngine * Tracking::get_playback_engine  )  [virtual]
 

Reimplemented in CTracking, and VTracking.

Definition at line 97 of file tracking.C.

References MWindow::cwindow, mwindow, and CWindow::playback_engine.

Referenced by get_tracking_position(), run(), and update_meters().

double Tracking::get_tracking_position  )  [virtual]
 

Definition at line 102 of file tracking.C.

References get_playback_engine(), and PlaybackEngine::get_tracking_position().

Referenced by run(), and stop_playback().

void Tracking::run  ) 
 

Definition at line 180 of file tracking.C.

References DONE, get_playback_engine(), get_tracking_position(), startup_lock, state, timer, PlaybackEngine::tracking_active, and update_tracker().

void Tracking::show_playback_cursor int64_t  position  ) 
 

int Tracking::start_playback double  new_position  )  [virtual]
 

Reimplemented in CTracking.

Definition at line 62 of file tracking.C.

References draw(), last_position, PLAYING, startup_lock, and state.

Referenced by VPlayback::init_cursor(), and CTracking::start_playback().

void Tracking::stop_meters  )  [virtual]
 

Reimplemented in VTracking.

Definition at line 140 of file tracking.C.

References MWindow::cwindow, LevelWindow::gui, MWindow::gui, CWindow::gui, MWindow::lwindow, CWindowGUI::meters, mwindow, LevelWindowGUI::panel, MWindowGUI::patchbay, PatchBay::stop_meters(), and MeterPanel::stop_meters().

Referenced by stop_playback().

int Tracking::stop_playback  )  [virtual]
 

Reimplemented in CTracking.

Definition at line 75 of file tracking.C.

References DONE, get_tracking_position(), state, stop_meters(), and update_tracker().

Referenced by VPlayback::stop_cursor(), and CTracking::stop_playback().

void Tracking::update_meters int64_t  position  )  [virtual]
 

Reimplemented in VTracking.

Definition at line 116 of file tracking.C.

References MWindow::cwindow, PlaybackEngine::get_module_levels(), PlaybackEngine::get_output_levels(), get_playback_engine(), MWindow::gui, LevelWindow::gui, CWindow::gui, MWindow::lwindow, MAXCHANNELS, CWindowGUI::meters, module_levels, mwindow, LevelWindowGUI::panel, MWindowGUI::patchbay, MeterPanel::update(), and PatchBay::update_meters().

Referenced by CTracking::update_tracker().

void Tracking::update_tracker double  position  )  [virtual]
 

Reimplemented in CTracking, and VTracking.

Definition at line 158 of file tracking.C.

Referenced by run(), and stop_playback().


Member Data Documentation

int64_t Tracking::current_offset
 

Definition at line 65 of file tracking.h.

int Tracking::double_speed
 

Definition at line 67 of file tracking.h.

int Tracking::follow_loop
 

Definition at line 64 of file tracking.h.

Referenced by Tracking().

MWindowGUI* Tracking::gui
 

Definition at line 62 of file tracking.h.

Referenced by draw(), and Tracking().

double Tracking::last_position
 

Definition at line 63 of file tracking.h.

Referenced by draw(), and start_playback().

ArrayList<double> Tracking::module_levels
 

Definition at line 45 of file tracking.h.

Referenced by update_meters().

MWindow* Tracking::mwindow
 

Definition at line 61 of file tracking.h.

Referenced by VTrack::clear_automation_derived(), VTrack::clear_derived(), VTrack::get_dimensions(), get_pixel(), get_playback_engine(), VTrack::get_projection(), VTrack::length(), VTrack::samples_to_units(), VTrack::select_translation(), CTracking::start_playback(), stop_meters(), CTracking::stop_playback(), update_meters(), CTracking::update_scroll(), VTracking::update_tracker(), and CTracking::update_tracker().

int Tracking::pixel
 

Definition at line 70 of file tracking.h.

Referenced by draw(), and Tracking().

int Tracking::reverse
 

Definition at line 66 of file tracking.h.

Condition* Tracking::startup_lock
 

Definition at line 60 of file tracking.h.

Referenced by run(), start_playback(), Tracking(), and ~Tracking().

int Tracking::state
 

Definition at line 46 of file tracking.h.

Referenced by run(), start_playback(), stop_playback(), Tracking(), and ~Tracking().

Timer Tracking::timer
 

Definition at line 68 of file tracking.h.

Referenced by run().

int Tracking::view_follows_playback
 

Definition at line 58 of file tracking.h.

int Tracking::visible
 

Definition at line 72 of file tracking.h.

Referenced by draw(), and Tracking().


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