#include <channeledit.h>
Inherits Thread.

Public Member Functions | |
| ChannelEditThread (ChannelPicker *channel_picker, ChannelDB *channeldb) | |
| ~ChannelEditThread () | |
| void | run () |
| int | close_threads () |
| char * | value_to_freqtable (int value) |
| char * | value_to_norm (int value) |
| char * | value_to_input (int value) |
Data Fields | |
| Condition * | completion |
| int | in_progress |
| int | current_channel |
| Channel | scan_params |
| ChannelPicker * | channel_picker |
| ChannelDB * | channeldb |
| ChannelDB * | new_channels |
| ChannelEditWindow * | window |
| ScanThread * | scan_thread |
Definition at line 18 of file channeledit.h.
| ChannelEditThread::ChannelEditThread | ( | ChannelPicker * | channel_picker, | |
| ChannelDB * | channeldb | |||
| ) |
Definition at line 20 of file channeledit.C.
References completion, in_progress, new_channels, scan_thread, and window.
Referenced by ChannelButton::ChannelButton().
| ChannelEditThread::~ChannelEditThread | ( | ) |
Definition at line 32 of file channeledit.C.
References channel_picker, completion, ChannelPicker::get_subwindow(), BC_WindowBase::lock_window(), new_channels, scan_thread, and BC_WindowBase::unlock_window().

| void ChannelEditThread::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 41 of file channeledit.C.
References channel_picker, ChannelPicker::channeldb, ChannelDB::clear(), ChannelEditPictureThread::close_threads(), ChannelEditEditThread::close_threads(), completion, ChannelDB::copy_from(), ChannelEditWindow::create_objects(), current_channel, ChannelEditWindow::edit_thread, ChannelPicker::get_current_channel_number(), ChannelPicker::handle_channel_edit(), in_progress, Condition::lock(), BC_WindowBase::lock_window(), new_channels, ChannelEditWindow::picture_thread, BC_WindowBase::raise_window(), BC_WindowBase::run_window(), Condition::unlock(), BC_WindowBase::unlock_window(), ChannelPicker::update_channel_list(), and window.

| int ChannelEditThread::close_threads | ( | ) |
Definition at line 90 of file channeledit.C.
References ChannelEditPictureThread::close_threads(), ChannelEditEditThread::close_threads(), completion, ChannelEditWindow::edit_thread, in_progress, Condition::lock(), ChannelEditWindow::picture_thread, BC_WindowBase::set_done(), Condition::unlock(), and window.
Referenced by ChannelPicker::close_threads().

| char * ChannelEditThread::value_to_freqtable | ( | int | value | ) |
Definition at line 102 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_norm | ( | int | value | ) |
Definition at line 142 of file channeledit.C.
References _, NTSC, PAL, and SECAM.
Referenced by ChannelEditEditNorm::add_items().
| char * ChannelEditThread::value_to_input | ( | int | value | ) |
Definition at line 158 of file channeledit.C.
References _, channel_picker, Channel::device_name, ChannelPicker::get_video_inputs(), ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

Definition at line 30 of file channeledit.h.
Referenced by ChannelEditThread(), close_threads(), run(), and ~ChannelEditThread().
Definition at line 31 of file channeledit.h.
Referenced by ChannelEditThread(), close_threads(), and run().
Definition at line 32 of file channeledit.h.
Referenced by ChannelEditWindow::change_channel_from_list(), ChannelEditWindow::edit_channel(), and run().
Definition at line 33 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().
Definition at line 34 of file channeledit.h.
Referenced by ChannelEditEditInput::add_items(), ScanThread::run(), run(), ScanThread::start(), value_to_input(), and ~ChannelEditThread().
Definition at line 35 of file channeledit.h.
Definition at line 36 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().
Definition at line 37 of file channeledit.h.
Referenced by ChannelEditThread(), close_threads(), ScanThread::run(), and run().
Definition at line 38 of file channeledit.h.
Referenced by ChannelEditThread(), ChannelEditWindow::scan(), and ~ChannelEditThread().
1.5.5