Channel Class Reference

#include <channel.h>


Public Member Functions

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

Data Fields

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
int audio_pid
int video_pid
int * audio_pids
int * video_pids


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().

Here is the call graph for this function:

Channel::Channel ( Channel channel  ) 

Definition at line 13 of file channel.C.

References reset().

Here is the call graph for this function:

Channel::~Channel (  ) 

Definition at line 19 of file channel.C.


Member Function Documentation

void Channel::reset (  ) 

void Channel::dump (  ) 

Definition at line 47 of file channel.C.

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

Channel & Channel::operator= ( Channel channel  ) 

Definition at line 63 of file channel.C.

void Channel::copy_settings ( Channel channel  ) 

void Channel::copy_usage ( Channel channel  ) 

int Channel::load ( FileXML file  ) 

Definition at line 92 of file channel.C.

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

Referenced by ChannelDB::load().

Here is the call graph for this function:

int Channel::save ( FileXML file  ) 

void Channel::load_defaults ( BC_Hash defaults  ) 

Definition at line 146 of file channel.C.

References freqtable, BC_Hash::get(), input, and norm.

Referenced by PrefsChannelPicker::load_scan_defaults(), and RecordChannelPicker::load_scan_defaults().

Here is the call graph for this function:

void Channel::save_defaults ( BC_Hash defaults  ) 

Definition at line 153 of file channel.C.

References freqtable, input, norm, and BC_Hash::update().

Referenced by PrefsChannelPicker::save_scan_defaults(), and RecordChannelPicker::save_scan_defaults().

Here is the call graph for this function:


Field Documentation

Definition at line 39 of file channel.h.

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

char Channel::title[BCTEXTLEN]

char Channel::device_name[BCTEXTLEN]

Definition at line 62 of file channel.h.

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

Definition at line 64 of file channel.h.

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

Definition at line 66 of file channel.h.

Referenced by copy_settings(), load(), DeviceDVBInput::reopen_tuner(), reset(), and save().

Definition at line 67 of file channel.h.

Referenced by copy_settings(), load(), DeviceDVBInput::reopen_tuner(), reset(), and save().

Definition at line 69 of file channel.h.

Definition at line 70 of file channel.h.


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

Generated on Mon Apr 28 14:17:45 2008 for Cinelerra by  doxygen 1.5.5