RecordMonitor Class Reference

#include <recordmonitor.h>

Inherits Thread.

Collaboration diagram for RecordMonitor:

Collaboration graph
[legend]

Public Member Functions

 RecordMonitor (MWindow *mwindow, Record *record)
 ~RecordMonitor ()
int update (VFrame *vframe)
void update_channel (char *text)
void run ()
int close_threads ()
int create_objects ()
int fix_size (int &w, int &h, int width_given, float aspect_ratio)
float get_scale (int w)
int get_mbuttons_height ()
int get_canvas_height ()
int get_channel_x ()
int get_channel_y ()

Data Fields

MWindowmwindow
Recordrecord
RecordMonitorThreadthread
RecordMonitorGUIwindow
VideoDevicedevice
VideoOutConfigconfig

Detailed Description

Definition at line 24 of file recordmonitor.h.


Constructor & Destructor Documentation

RecordMonitor::RecordMonitor ( MWindow mwindow,
Record record 
)

Definition at line 27 of file recordmonitor.C.

References device, and thread.

RecordMonitor::~RecordMonitor (  ) 

Definition at line 37 of file recordmonitor.C.

References VideoDevice::close_all(), device, Thread::join(), BC_WindowBase::set_done(), RecordMonitorThread::stop_playback(), thread, and window.

Here is the call graph for this function:


Member Function Documentation

int RecordMonitor::update ( VFrame vframe  ) 

Definition at line 119 of file recordmonitor.C.

References thread, and RecordMonitorThread::write_frame().

Referenced by RecordVideo::run().

Here is the call graph for this function:

void RecordMonitor::update_channel ( char *  text  ) 

Definition at line 124 of file recordmonitor.C.

References RecordMonitorGUI::channel_picker, ChannelPicker::channel_text, BC_PopupTextBox::update(), and window.

Here is the call graph for this function:

void RecordMonitor::run (  )  [virtual]

Implements Thread.

Definition at line 108 of file recordmonitor.C.

References close_threads(), BC_WindowBase::run_window(), and window.

Here is the call graph for this function:

int RecordMonitor::close_threads (  ) 

Definition at line 114 of file recordmonitor.C.

References RecordMonitorGUI::channel_picker, ChannelPicker::close_threads(), and window.

Referenced by run().

Here is the call graph for this function:

int RecordMonitor::create_objects (  ) 

int RecordMonitor::fix_size ( int &  w,
int &  h,
int  width_given,
float  aspect_ratio 
)

Definition at line 135 of file recordmonitor.C.

float RecordMonitor::get_scale ( int  w  ) 

Definition at line 141 of file recordmonitor.C.

References MWindow::edl, Record::frame_h, Record::frame_w, EDL::get_aspect_ratio(), mwindow, and record.

Referenced by RecordMonitorGUI::set_title().

Here is the call graph for this function:

int RecordMonitor::get_mbuttons_height (  ) 

Definition at line 130 of file recordmonitor.C.

Referenced by get_canvas_height().

int RecordMonitor::get_canvas_height (  ) 

Definition at line 156 of file recordmonitor.C.

References BC_WindowBase::get_h(), get_mbuttons_height(), and window.

Referenced by RecordMonitorGUI::create_bitmap().

Here is the call graph for this function:

int RecordMonitor::get_channel_x (  ) 

Definition at line 161 of file recordmonitor.C.

int RecordMonitor::get_channel_y (  ) 

Definition at line 167 of file recordmonitor.C.


Field Documentation

Definition at line 35 of file recordmonitor.h.

Referenced by create_objects(), and get_scale().

Definition at line 38 of file recordmonitor.h.

Referenced by create_objects(), RecordMonitor(), update(), and ~RecordMonitor().

Definition at line 42 of file recordmonitor.h.

Referenced by create_objects().


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

Generated on Mon Apr 28 14:39:15 2008 for Cinelerra by  doxygen 1.5.5