Tracking Class Reference

#include <tracking.h>

Inherits Thread.

Inherited by CTracking, and VTracking.

Collaboration diagram for Tracking:

Collaboration graph
[legend]

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)

Data Fields

ArrayList< double > module_levels
int state
int view_follows_playback
Conditionstartup_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, Thread::join(), PLAYING, startup_lock, and state.

Here is the call graph for this function:


Member Function Documentation

void Tracking::create_objects (  ) 

Definition at line 57 of file tracking.C.

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

int Tracking::start_playback ( double  new_position  )  [virtual]

Reimplemented in CTracking.

Definition at line 62 of file tracking.C.

References draw(), last_position, Condition::lock(), PLAYING, Thread::start(), startup_lock, and state.

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

Here is the call graph for this function:

int Tracking::stop_playback (  )  [virtual]

Reimplemented in CTracking.

Definition at line 75 of file tracking.C.

References DONE, get_tracking_position(), Thread::join(), state, stop_meters(), and update_tracker().

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

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

void Tracking::update_meters ( int64_t  position  )  [virtual]

void Tracking::stop_meters (  )  [virtual]

int Tracking::get_pixel ( double  position  ) 

void Tracking::draw (  )  [virtual]

void Tracking::run (  )  [virtual]

void Tracking::show_playback_cursor ( int64_t  position  ) 


Field Documentation

Definition at line 45 of file tracking.h.

Referenced by update_meters().

Definition at line 46 of file tracking.h.

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

Definition at line 58 of file tracking.h.

Definition at line 60 of file tracking.h.

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

Definition at line 62 of file tracking.h.

Referenced by draw(), and Tracking().

Definition at line 63 of file tracking.h.

Referenced by draw(), and start_playback().

Definition at line 64 of file tracking.h.

Referenced by Tracking().

Definition at line 65 of file tracking.h.

Definition at line 66 of file tracking.h.

Definition at line 67 of file tracking.h.

Definition at line 68 of file tracking.h.

Referenced by run().

Definition at line 70 of file tracking.h.

Referenced by draw(), and Tracking().

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 Mon Apr 28 14:47:28 2008 for Cinelerra by  doxygen 1.5.5