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

TVChannel Class Reference

#include <TVChannel.h>

List of all members.

Public Types

Public Member Functions

Static Public Member Functions

Public Attributes


Member Enumeration Documentation

enum TVChannel::FrequencyGrid
 

Depending on the country, different frequency grids are used. I.e. in some countries the channels are spaced 7MHz apart, in others 8MHz. Also the CATV (cable TV) channels are different.

Enumeration values:
FrequencyGrid_INVALID 
American 
European 
Japanese 
FrequencyGrid_MAX 

enum TVChannel::TunerNorms
 

For a description of tuner norms, see Wikipedia: http://en.wikipedia.org/wiki/Broadcast_television_system

Enumeration values:
PAL_BG 
NTSC 
SECAM 
PAL_NC 
PAL_M 
PAL_N 
NTSC_JAPAN 
TunerNorms_MAX 


Constructor & Destructor Documentation

TVChannel::TVChannel  ) 
 

TVChannel::TVChannel const TVChannel  ) 
 


Member Function Documentation

QString TVChannel::ChannelName FrequencyGrid  grid,
int  channel
[static]
 

Return name of a channel.

Parameters:
grid The frequency grid system
channel The channel in this grid
Returns:
The name of this channel, like VHF 1, or CATV 23
Note: the name is not a TV channel name, but a rather systemic name given to the channel within the given frequency system, like VHF 3, UHF 21, etc.

float TVChannel::Frequency FrequencyGrid  grid,
int  channel,
int  finetuning
[static]
 

Calculate frequency for channel + finetuning.

Returns:
The frequency in MHz
Parameters:
grid The frequency grid system
channel The channel in this grid
finetuning The finetuning offset, in 0.01 MHz
Note: the frequency is in MHz, so for the real frequency multiply by 1e6.

float TVChannel::Frequency  )  const
 

Calculate frequency for this channel.

Returns:
The frequency in MHz
See also the function below.

uint TVChannel::GetNumberOfChannels FrequencyGrid  grid  )  [static]
 

Return number of channels within a grid.

Returns:
Number of channels, or 0 if invalid grid
See also:
ChannelName

TVChannel & TVChannel::operator= const TVChannel  ) 
 


Member Data Documentation

int TVChannel::Channel
 

TunerNorms TVChannel::ColorSystem
 

int TVChannel::Finetuning
 

FrequencyGrid TVChannel::FrequencySystem
 

QString TVChannel::Name
 


The documentation for this class was generated from the following files:
Generated on Wed Dec 13 23:38:47 2006 for CamStream by doxygen 1.3.7