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

ChannelEditThread Class Reference

#include <channeledit.h>

List of all members.

Public Member Functions

 ChannelEditThread (MWindow *mwindow, ChannelPicker *channel_picker, ChannelDB *channeldb, Record *Record)
 ~ChannelEditThread ()
void run ()
int close_threads ()
char * value_to_freqtable (int value)
char * value_to_norm (int value)
char * value_to_input (int value)

Public Attributes

Condition * completion
int in_progress
int current_channel
Channel scan_params
ChannelPickerchannel_picker
ChannelDBchanneldb
ChannelDBnew_channels
ChannelEditWindowwindow
ScanThreadscan_thread
MWindowmwindow
Recordrecord


Detailed Description

Definition at line 19 of file channeledit.h.


Constructor & Destructor Documentation

ChannelEditThread::ChannelEditThread MWindow mwindow,
ChannelPicker channel_picker,
ChannelDB channeldb,
Record Record
 

Definition at line 23 of file channeledit.C.

References completion, in_progress, new_channels, scan_thread, and window.

Referenced by ChannelButton::ChannelButton().

ChannelEditThread::~ChannelEditThread  ) 
 

Definition at line 39 of file channeledit.C.

References channel_picker, completion, ChannelPicker::get_subwindow(), new_channels, and scan_thread.


Member Function Documentation

int ChannelEditThread::close_threads  ) 
 

Definition at line 114 of file channeledit.C.

References ChannelEditPictureThread::close_threads(), ChannelEditEditThread::close_threads(), completion, ChannelEditWindow::edit_thread, in_progress, ChannelEditWindow::picture_thread, and window.

Referenced by ChannelPicker::close_threads().

void ChannelEditThread::run  ) 
 

Definition at line 48 of file channeledit.C.

References Batch::channel, channel_picker, Record::channeldb, ChannelPicker::channeldb, ChannelDB::clear(), ChannelEditPictureThread::close_threads(), ChannelEditEditThread::close_threads(), completion, ChannelDB::copy_from(), ChannelEditWindow::create_objects(), current_channel, ChannelEditWindow::edit_thread, Record::get_channeldb_prefix(), ChannelPicker::get_current_channel_number(), Record::get_editing_batch(), in_progress, mwindow, new_channels, ChannelEditWindow::picture_thread, record, Record::record_gui, ChannelDB::save(), MWindow::save_defaults(), Record::save_defaults(), Record::set_channel(), RecordGUI::update_batch_sources(), ChannelPicker::update_channel_list(), and window.

char * ChannelEditThread::value_to_freqtable int  value  ) 
 

Definition at line 126 of file channeledit.C.

References _, NTSC_BCAST, NTSC_BCAST_JP, NTSC_CABLE, NTSC_CABLE_JP, NTSC_HRC, PAL_AUSTRALIA, PAL_E_EUROPE, PAL_EUROPE, PAL_IRELAND, PAL_ITALY, and PAL_NEWZEALAND.

Referenced by ChannelEditEditFreqtable::add_items().

char * ChannelEditThread::value_to_input int  value  ) 
 

Definition at line 182 of file channeledit.C.

References _, channel_picker, and ChannelPicker::get_video_inputs().

char * ChannelEditThread::value_to_norm int  value  ) 
 

Definition at line 166 of file channeledit.C.

References _, NTSC, PAL, and SECAM.

Referenced by ChannelEditEditNorm::add_items().


Member Data Documentation

ChannelPicker* ChannelEditThread::channel_picker
 

Definition at line 37 of file channeledit.h.

Referenced by ChannelEditEditInput::add_items(), ScanThread::run(), run(), value_to_input(), and ~ChannelEditThread().

ChannelDB* ChannelEditThread::channeldb
 

Definition at line 38 of file channeledit.h.

Condition* ChannelEditThread::completion
 

Definition at line 33 of file channeledit.h.

Referenced by ChannelEditThread(), close_threads(), run(), and ~ChannelEditThread().

int ChannelEditThread::current_channel
 

Definition at line 35 of file channeledit.h.

Referenced by ChannelEditWindow::change_channel_from_list(), ChannelEditWindow::edit_channel(), and run().

int ChannelEditThread::in_progress
 

Definition at line 34 of file channeledit.h.

Referenced by ChannelEditThread(), close_threads(), and run().

MWindow* ChannelEditThread::mwindow
 

Definition at line 42 of file channeledit.h.

Referenced by ConfirmScanThread::handle_done_event(), run(), and ScanThread::start().

ChannelDB* ChannelEditThread::new_channels
 

Definition at line 39 of file channeledit.h.

Referenced by ChannelEditWindow::add_channel(), ChannelEditWindow::change_channel_from_list(), ChannelEditThread(), ChannelEditWindow::create_objects(), ChannelEditWindow::delete_channel(), ChannelEditWindow::edit_channel(), ChannelEditWindow::move_channel_down(), ChannelEditWindow::move_channel_up(), ScanThread::run(), run(), ChannelEditWindow::scan(), ChannelEditWindow::sort(), ChannelEditWindow::update_list(), and ~ChannelEditThread().

Record* ChannelEditThread::record
 

Definition at line 43 of file channeledit.h.

Referenced by ChannelEditWindow::add_channel(), ChannelEditWindow::create_objects(), and run().

Channel ChannelEditThread::scan_params
 

Definition at line 36 of file channeledit.h.

Referenced by ConfirmScanThread::handle_done_event(), ChannelEditEditFreqItem::handle_event(), ChannelEditEditNormItem::handle_event(), ChannelEditEditInputItem::handle_event(), ScanThread::run(), ChannelEditWindow::scan_confirm(), and ScanThread::start().

ScanThread* ChannelEditThread::scan_thread
 

Definition at line 41 of file channeledit.h.

Referenced by ChannelEditThread(), ChannelEditWindow::scan(), and ~ChannelEditThread().

ChannelEditWindow* ChannelEditThread::window
 

Definition at line 40 of file channeledit.h.

Referenced by ChannelEditThread(), close_threads(), ScanThread::run(), and run().


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