vdr 2.7.3
channels.h File Reference
#include "config.h"
#include "sources.h"
#include "thread.h"
#include "tools.h"

Go to the source code of this file.

Classes

struct  tChannelID
 
class  cLinkChannel
 
class  cLinkChannels
 
class  cChannel
 
class  cChannels
 

Macros

#define ISTRANSPONDER(f1, f2)
 
#define CHANNELMOD_NONE   0x00
 
#define CHANNELMOD_ALL   0xFF
 
#define CHANNELMOD_NAME   0x01
 
#define CHANNELMOD_PIDS   0x02
 
#define CHANNELMOD_ID   0x04
 
#define CHANNELMOD_AUX   0x08
 
#define CHANNELMOD_CA   0x10
 
#define CHANNELMOD_TRANSP   0x20
 
#define CHANNELMOD_LANGS   0x40
 
#define CHANNELMOD_RETUNE   (CHANNELMOD_PIDS | CHANNELMOD_CA | CHANNELMOD_TRANSP)
 
#define MAXAPIDS   32
 
#define MAXDPIDS   16
 
#define MAXSPIDS   32
 
#define MAXCAIDS   12
 
#define MAXLANGCODE1   4
 
#define MAXLANGCODE2   8
 
#define CA_FTA   0x0000
 
#define CA_DVB_MIN   0x0001
 
#define CA_DVB_MAX   0x000F
 
#define CA_USER_MIN   0x0010
 
#define CA_USER_MAX   0x00FF
 
#define CA_ENCRYPTED_MIN   0x0100
 
#define CA_ENCRYPTED_MAX   0xFFFF
 
#define LOCK_CHANNELS_READ   USE_LIST_LOCK_READ(Channels)
 
#define LOCK_CHANNELS_WRITE   USE_LIST_LOCK_WRITE(Channels)
 

Functions

 DEF_LIST_LOCK (Channels)
 
cString ChannelString (const cChannel *Channel, int Number)
 

Macro Definition Documentation

◆ CA_DVB_MAX

#define CA_DVB_MAX   0x000F

Definition at line 41 of file channels.h.

Referenced by cDevice::GetDevice().

◆ CA_DVB_MIN

#define CA_DVB_MIN   0x0001

Definition at line 40 of file channels.h.

◆ CA_ENCRYPTED_MAX

#define CA_ENCRYPTED_MAX   0xFFFF

Definition at line 45 of file channels.h.

◆ CA_ENCRYPTED_MIN

◆ CA_FTA

#define CA_FTA   0x0000

Definition at line 39 of file channels.h.

Referenced by cMenuEditCaItem::ProcessKey(), and cMenuEditCaItem::Set().

◆ CA_USER_MAX

#define CA_USER_MAX   0x00FF

Definition at line 43 of file channels.h.

Referenced by cChannel::Parse(), and cChannel::SetCaIds().

◆ CA_USER_MIN

#define CA_USER_MIN   0x0010

Definition at line 42 of file channels.h.

◆ CHANNELMOD_ALL

#define CHANNELMOD_ALL   0xFF

Definition at line 21 of file channels.h.

◆ CHANNELMOD_AUX

#define CHANNELMOD_AUX   0x08

Definition at line 25 of file channels.h.

Referenced by cChannel::SetPids().

◆ CHANNELMOD_CA

#define CHANNELMOD_CA   0x10

Definition at line 26 of file channels.h.

Referenced by cChannel::SetCaDescriptors(), and cChannel::SetCaIds().

◆ CHANNELMOD_ID

#define CHANNELMOD_ID   0x04

Definition at line 24 of file channels.h.

Referenced by cChannel::SetId().

◆ CHANNELMOD_LANGS

#define CHANNELMOD_LANGS   0x40

Definition at line 28 of file channels.h.

Referenced by cChannel::SetPids().

◆ CHANNELMOD_NAME

#define CHANNELMOD_NAME   0x01

Definition at line 22 of file channels.h.

Referenced by cChannel::SetName(), and cChannel::SetPortalName().

◆ CHANNELMOD_NONE

#define CHANNELMOD_NONE   0x00

Definition at line 20 of file channels.h.

Referenced by cChannel::cChannel(), cChannel::Modification(), and cChannel::SetPids().

◆ CHANNELMOD_PIDS

#define CHANNELMOD_PIDS   0x02

Definition at line 23 of file channels.h.

Referenced by cChannel::SetPids().

◆ CHANNELMOD_RETUNE

#define CHANNELMOD_RETUNE   (CHANNELMOD_PIDS | CHANNELMOD_CA | CHANNELMOD_TRANSP)

Definition at line 29 of file channels.h.

Referenced by main().

◆ CHANNELMOD_TRANSP

#define CHANNELMOD_TRANSP   0x20

Definition at line 27 of file channels.h.

Referenced by cChannel::SetSource(), and cChannel::SetTransponderData().

◆ ISTRANSPONDER

#define ISTRANSPONDER ( f1,
f2 )

◆ LOCK_CHANNELS_READ

◆ LOCK_CHANNELS_WRITE

◆ MAXAPIDS

◆ MAXCAIDS

#define MAXCAIDS   12

◆ MAXDPIDS

◆ MAXLANGCODE1

#define MAXLANGCODE1   4

Definition at line 36 of file channels.h.

Referenced by cPatPmtParser::ParsePmt(), and cPatFilter::Process().

◆ MAXLANGCODE2

#define MAXLANGCODE2   8

◆ MAXSPIDS

Function Documentation

◆ ChannelString()

◆ DEF_LIST_LOCK()

DEF_LIST_LOCK ( Channels )