#include <channeledit.h>
Inherits Thread.

Public Member Functions | |
| ChannelEditEditThread (ChannelEditWindow *window, ChannelPicker *channel_picker) | |
| ~ChannelEditEditThread () | |
| void | run () |
| int | edit_channel (Channel *channel, int editing) |
| void | set_device () |
| int | change_source (char *source_name) |
| int | source_up () |
| int | source_down () |
| int | set_input (int value) |
| int | set_norm (int value) |
| int | set_freqtable (int value) |
| int | close_threads () |
Data Fields | |
| Channel | new_channel |
| Channel * | output_channel |
| ChannelPicker * | channel_picker |
| ChannelEditWindow * | window |
| ChannelEditEditSource * | source_text |
| ChannelEditEditWindow * | edit_window |
| int | editing |
| int | in_progress |
| int | user_title |
| Condition * | completion |
Definition at line 226 of file channeledit.h.
| ChannelEditEditThread::ChannelEditEditThread | ( | ChannelEditWindow * | window, | |
| ChannelPicker * | channel_picker | |||
| ) |
Definition at line 817 of file channeledit.C.
References completion, edit_window, editing, and in_progress.
| ChannelEditEditThread::~ChannelEditEditThread | ( | ) |
| void ChannelEditEditThread::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 934 of file channeledit.C.
References channel_picker, completion, Channel::copy_settings(), ChannelEditWindow::delete_channel(), edit_window, editing, in_progress, BC_WindowBase::lock_window(), new_channel, output_channel, SET_TRACE, Condition::unlock(), BC_WindowBase::unlock_window(), ChannelEditWindow::update_list(), and window.

| int ChannelEditEditThread::edit_channel | ( | Channel * | channel, | |
| int | editing | |||
| ) |
Definition at line 844 of file channeledit.C.
References completion, Channel::copy_settings(), Channel::copy_usage(), edit_window, in_progress, Condition::lock(), BC_WindowBase::lock_window(), new_channel, output_channel, BC_WindowBase::raise_window(), Thread::set_synchronous(), Thread::start(), Channel::title, BC_WindowBase::unlock_window(), and user_title.
Referenced by ChannelEditWindow::add_channel(), and ChannelEditWindow::edit_channel().

| void ChannelEditEditThread::set_device | ( | ) |
Definition at line 871 of file channeledit.C.
References channel_picker, new_channel, and ChannelPicker::set_channel().
Referenced by ChannelEditEditFine::button_release_event(), change_source(), set_freqtable(), set_input(), set_norm(), source_down(), and source_up().

| int ChannelEditEditThread::change_source | ( | char * | source_name | ) |
Definition at line 876 of file channeledit.C.
References chanlists, CHANLISTS::count, edit_window, Channel::entry, Channel::freqtable, CHANLISTS::list, CHANLIST::name, new_channel, set_device(), Channel::title, ChannelEditEditWindow::title_text, BC_TextBox::update(), and user_title.
Referenced by ChannelEditEditSource::handle_event().

| int ChannelEditEditThread::source_up | ( | ) |
Definition at line 898 of file channeledit.C.
References chanlists, CHANLISTS::count, Channel::entry, Channel::freqtable, CHANLISTS::list, CHANLIST::name, new_channel, set_device(), source_text, and BC_TextBox::update().
Referenced by ChannelEditEditSourceTumbler::handle_up_event().

| int ChannelEditEditThread::source_down | ( | ) |
Definition at line 906 of file channeledit.C.
References chanlists, CHANLISTS::count, Channel::entry, Channel::freqtable, CHANLISTS::list, CHANLIST::name, new_channel, set_device(), source_text, and BC_TextBox::update().
Referenced by ChannelEditEditSourceTumbler::handle_down_event().

| int ChannelEditEditThread::set_input | ( | int | value | ) |
Definition at line 914 of file channeledit.C.
References Channel::input, new_channel, and set_device().
Referenced by ChannelEditEditInputItem::handle_event().

| int ChannelEditEditThread::set_norm | ( | int | value | ) |
Definition at line 920 of file channeledit.C.
References new_channel, Channel::norm, and set_device().
Referenced by ChannelEditEditNormItem::handle_event().

| int ChannelEditEditThread::set_freqtable | ( | int | value | ) |
Definition at line 926 of file channeledit.C.
References chanlists, CHANLISTS::count, Channel::entry, Channel::freqtable, CHANLISTS::list, CHANLIST::name, new_channel, set_device(), source_text, and BC_TextBox::update().
Referenced by ChannelEditEditFreqItem::handle_event().

| int ChannelEditEditThread::close_threads | ( | ) |
Definition at line 834 of file channeledit.C.
References completion, edit_window, Condition::lock(), BC_WindowBase::set_done(), and Condition::unlock().
Referenced by ChannelEditThread::close_threads(), and ChannelEditThread::run().

Definition at line 244 of file channeledit.h.
Referenced by ChannelEditEditFine::button_release_event(), change_source(), edit_channel(), ChannelEditEditInputItem::handle_event(), ChannelEditEditTitle::handle_event(), run(), set_device(), set_freqtable(), set_input(), set_norm(), source_down(), and source_up().
Definition at line 248 of file channeledit.h.
Referenced by ChannelEditEditWindow::create_objects(), set_freqtable(), source_down(), and source_up().
Definition at line 249 of file channeledit.h.
Referenced by change_source(), ChannelEditEditThread(), close_threads(), edit_channel(), ChannelEditEditInputItem::handle_event(), and run().
Definition at line 251 of file channeledit.h.
Referenced by ChannelEditEditThread(), edit_channel(), and run().
Definition at line 252 of file channeledit.h.
Referenced by change_source(), edit_channel(), ChannelEditEditInputItem::handle_event(), and ChannelEditEditTitle::handle_event().
Definition at line 253 of file channeledit.h.
Referenced by ChannelEditEditThread(), close_threads(), edit_channel(), run(), and ~ChannelEditEditThread().
1.5.5