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

Channel Class Reference

#include <channel.h>

List of all members.

Public Member Functions

 Channel ()
 Channel (Channel *channel)
 ~Channel ()
void reset ()
Channeloperator= (Channel &channel)
void copy_settings (Channel *channel)
void copy_usage (Channel *channel)
int load (FileXML *file)
int save (FileXML *file)
void load_defaults (Defaults *defaults)
void save_defaults (Defaults *defaults)

Public Attributes

int use_frequency
int use_fine
int use_norm
int use_input
int has_scanning
char title [BCTEXTLEN]
char device_name [BCTEXTLEN]
int entry
int freqtable
int fine_tune
int input
int norm
int device_index
int tuner


Detailed Description

Definition at line 11 of file channel.h.


Constructor & Destructor Documentation

Channel::Channel  ) 
 

Definition at line 8 of file channel.C.

References reset().

Channel::Channel Channel channel  ) 
 

Definition at line 13 of file channel.C.

References reset().

Channel::~Channel  ) 
 

Definition at line 19 of file channel.C.


Member Function Documentation

void Channel::copy_settings Channel channel  ) 
 

Definition at line 51 of file channel.C.

References device_index, entry, fine_tune, freqtable, input, norm, title, and tuner.

Referenced by ChannelEditWindow::add_channel(), ChannelDB::copy_from(), ChannelEditEditThread::edit_channel(), ChannelEditEditThread::run(), ScanThread::run(), and VideoDevice::set_channel().

void Channel::copy_usage Channel channel  ) 
 

Definition at line 63 of file channel.C.

References has_scanning, use_fine, use_frequency, use_input, and use_norm.

Referenced by ChannelEditWindow::add_channel(), ChannelEditEditThread::edit_channel(), Record::open_input_devices(), and ScanThread::run().

int Channel::load FileXML file  ) 
 

Definition at line 72 of file channel.C.

References device_index, entry, fine_tune, freqtable, XMLTag::get_property(), input, norm, FileXML::read_tag(), FileXML::read_text(), FileXML::tag, title, XMLTag::title_is(), and tuner.

Referenced by ChannelDB::load().

void Channel::load_defaults Defaults *  defaults  ) 
 

Definition at line 122 of file channel.C.

References freqtable, input, and norm.

Referenced by ChannelEditWindow::scan_confirm().

Channel & Channel::operator= Channel channel  ) 
 

Definition at line 45 of file channel.C.

void Channel::reset  ) 
 

Definition at line 24 of file channel.C.

References device_index, device_name, entry, fine_tune, freqtable, has_scanning, input, norm, title, tuner, use_fine, use_frequency, use_input, and use_norm.

Referenced by Channel().

int Channel::save FileXML file  ) 
 

Definition at line 103 of file channel.C.

References FileXML::append_newline(), FileXML::append_tag(), FileXML::append_text(), device_index, entry, fine_tune, freqtable, input, norm, XMLTag::set_property(), XMLTag::set_title(), FileXML::tag, title, and tuner.

void Channel::save_defaults Defaults *  defaults  ) 
 

Definition at line 129 of file channel.C.

References freqtable, input, and norm.

Referenced by ConfirmScanThread::handle_done_event().


Member Data Documentation

int Channel::device_index
 

Definition at line 53 of file channel.h.

Referenced by copy_settings(), load(), reset(), and save().

char Channel::device_name[BCTEXTLEN]
 

Definition at line 42 of file channel.h.

Referenced by VDeviceBUZ::get_inputs(), VideoDevice::new_input_source(), reset(), and VDeviceV4L::v4l1_get_inputs().

int Channel::entry
 

Definition at line 44 of file channel.h.

Referenced by ChannelEditEditThread::change_source(), copy_settings(), ChannelPicker::get_source_name(), load(), reset(), ScanThread::run(), save(), ChannelEditEditThread::set_freqtable(), ChannelEditEditThread::source_down(), ChannelEditEditThread::source_up(), and VDeviceV4L::v4l1_set_channel().

int Channel::fine_tune
 

Definition at line 48 of file channel.h.

Referenced by copy_settings(), ChannelEditEditFine::handle_event(), load(), reset(), save(), and VDeviceV4L::v4l1_set_channel().

int Channel::freqtable
 

Definition at line 46 of file channel.h.

Referenced by ChannelEditEditThread::change_source(), copy_settings(), ChannelPicker::get_source_name(), ChannelEditEditFreqItem::handle_event(), load(), load_defaults(), reset(), ScanThread::run(), save(), save_defaults(), ChannelEditEditThread::set_freqtable(), ChannelEditEditThread::source_down(), ChannelEditEditThread::source_up(), ScanThread::start(), and VDeviceV4L::v4l1_set_channel().

int Channel::has_scanning
 

Definition at line 35 of file channel.h.

Referenced by copy_usage(), ChannelEditWindow::create_objects(), and reset().

int Channel::input
 

Definition at line 50 of file channel.h.

Referenced by copy_settings(), ChannelEditEditInputItem::handle_event(), load(), load_defaults(), VDeviceBUZ::open_input_core(), VDeviceBUZ::open_output_core(), reset(), save(), save_defaults(), ChannelEditEditThread::set_input(), and VDeviceV4L::v4l1_set_channel().

int Channel::norm
 

Definition at line 51 of file channel.h.

Referenced by copy_settings(), ChannelEditEditNormItem::handle_event(), load(), load_defaults(), VDeviceBUZ::open_input_core(), VDeviceBUZ::open_output_core(), reset(), save(), save_defaults(), ChannelEditEditThread::set_norm(), and VDeviceV4L::v4l1_set_channel().

char Channel::title[BCTEXTLEN]
 

Definition at line 40 of file channel.h.

Referenced by ChannelEditWindow::add_channel(), ChannelEditEditThread::change_source(), copy_settings(), ChannelEditWindow::create_objects(), ChannelPicker::current_channel_name(), ChannelEditEditThread::edit_channel(), Batch::get_source_text(), ChannelEditEditInputItem::handle_event(), ChannelEditEditTitle::handle_event(), load(), reset(), ScanThread::run(), save(), PrefsChannelPicker::set_channel(), ChannelEditWindow::sort(), Record::source_to_text(), ChannelPicker::update_channel_list(), and ChannelEditWindow::update_list().

int Channel::tuner
 

Definition at line 55 of file channel.h.

Referenced by copy_settings(), load(), reset(), and save().

int Channel::use_fine
 

Definition at line 31 of file channel.h.

Referenced by copy_usage(), ChannelEditEditWindow::create_objects(), VDeviceV4L::open_input(), and reset().

int Channel::use_frequency
 

Definition at line 30 of file channel.h.

Referenced by copy_usage(), ChannelEditEditWindow::create_objects(), VDeviceV4L::open_input(), and reset().

int Channel::use_input
 

Definition at line 33 of file channel.h.

Referenced by copy_usage(), ChannelEditEditWindow::create_objects(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and reset().

int Channel::use_norm
 

Definition at line 32 of file channel.h.

Referenced by copy_usage(), ChannelEditEditWindow::create_objects(), VDeviceV4L::open_input(), VDeviceBUZ::open_input(), and reset().


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