vdr 2.6.1
channels.h
Go to the documentation of this file.
1/*
2 * channels.h: Channel handling
3 *
4 * See the main source file 'vdr.c' for copyright information and
5 * how to reach the author.
6 *
7 * $Id: channels.h 5.2 2021/05/21 09:38:34 kls Exp $
8 */
9
10#ifndef __CHANNELS_H
11#define __CHANNELS_H
12
13#include "config.h"
14#include "sources.h"
15#include "thread.h"
16#include "tools.h"
17
18#define ISTRANSPONDER(f1, f2) (abs((f1) - (f2)) < 4) //XXX
19
20#define CHANNELMOD_NONE 0x00
21#define CHANNELMOD_ALL 0xFF
22#define CHANNELMOD_NAME 0x01
23#define CHANNELMOD_PIDS 0x02
24#define CHANNELMOD_ID 0x04
25#define CHANNELMOD_AUX 0x08
26#define CHANNELMOD_CA 0x10
27#define CHANNELMOD_TRANSP 0x20
28#define CHANNELMOD_LANGS 0x40
29#define CHANNELMOD_RETUNE (CHANNELMOD_PIDS | CHANNELMOD_CA | CHANNELMOD_TRANSP)
30
31#define MAXAPIDS 32 // audio
32#define MAXDPIDS 16 // dolby (AC3 + DTS)
33#define MAXSPIDS 32 // subtitles
34#define MAXCAIDS 12 // conditional access
35
36#define MAXLANGCODE1 4 // a 3 letter language code, zero terminated
37#define MAXLANGCODE2 8 // up to two 3 letter language codes, separated by '+' and zero terminated
38
39#define CA_FTA 0x0000
40#define CA_DVB_MIN 0x0001
41#define CA_DVB_MAX 0x000F
42#define CA_USER_MIN 0x0010
43#define CA_USER_MAX 0x00FF
44#define CA_ENCRYPTED_MIN 0x0100
45#define CA_ENCRYPTED_MAX 0xFFFF
46
47struct tChannelID {
48private:
49 int source;
50 int nid;
51 int tid;
52 int sid;
53 int rid;
54public:
55 tChannelID(void) { source = nid = tid = sid = rid = 0; }
56 tChannelID(int Source, int Nid, int Tid, int Sid, int Rid = 0) { source = Source; nid = Nid; tid = Tid; sid = Sid; rid = Rid; }
57 bool operator== (const tChannelID &arg) const { return source == arg.source && nid == arg.nid && tid == arg.tid && sid == arg.sid && rid == arg.rid; }
58 bool Valid(void) const { return (nid || tid) && sid; } // rid is optional and source may be 0//XXX source may not be 0???
59 tChannelID &ClrRid(void) { rid = 0; return *this; }
61 int Source(void) const { return source; }
62 int Nid(void) const { return nid; }
63 int Tid(void) const { return tid; }
64 int Sid(void) const { return sid; }
65 int Rid(void) const { return rid; }
66 static tChannelID FromString(const char *s);
67 cString ToString(void) const;
68 static const tChannelID InvalidID;
69 };
70
71class cChannel;
72
73class cLinkChannel : public cListObject {
74private:
76public:
78 cChannel *Channel(void) { return channel; }
79 };
80
81class cLinkChannels : public cList<cLinkChannel> {
82 };
83
84class cSchedule;
85class cChannels;
86
87class cChannel : public cListObject {
88 friend class cSchedules;
89 friend class cMenuEditChannel;
90 friend class cDvbSourceParam;
91private:
92 static cString ToText(const cChannel *Channel);
93 char *name;
94 char *shortName;
95 char *provider;
98 int frequency; // MHz
99 mutable int transponder; // cached value
101 int srate;
102 int vpid;
103 int ppid;
104 int vtype;
105 int apids[MAXAPIDS + 1]; // list is zero-terminated
106 int atypes[MAXAPIDS + 1]; // list is zero-terminated
108 int dpids[MAXDPIDS + 1]; // list is zero-terminated
109 int dtypes[MAXDPIDS + 1]; // list is zero-terminated
111 int spids[MAXSPIDS + 1]; // list is zero-terminated
116 int tpid;
117 int caids[MAXCAIDS + 1]; // list is zero-terminated
118 int nid;
119 int tid;
120 int sid;
121 int rid;
122 int lcn; // Logical channel number assigned by data stream (or -1 if not available)
123 int number; // Sequence number assigned on load
127 mutable int nameSourceMode;
130 mutable int modification;
131 time_t seen; // When this channel was last seen in the SDT of its transponder
132 mutable const cSchedule *schedule;
136public:
137 cChannel(void);
138 cChannel(const cChannel &Channel);
139 ~cChannel();
140 cChannel& operator= (const cChannel &Channel);
141 cString ToText(void) const;
142 bool Parse(const char *s);
143 bool Save(FILE *f);
144 const char *Name(void) const;
145 const char *ShortName(bool OrName = false) const;
146 const char *Provider(void) const { return provider; }
147 const char *PortalName(void) const { return portalName; }
148 int Frequency(void) const { return frequency; }
149 int Transponder(void) const;
150 static int Transponder(int Frequency, char Polarization);
151 int Source(void) const { return source; }
152 int Srate(void) const { return srate; }
153 int Vpid(void) const { return vpid; }
154 int Ppid(void) const { return ppid; }
155 int Vtype(void) const { return vtype; }
156 const int *Apids(void) const { return apids; }
157 const int *Dpids(void) const { return dpids; }
158 const int *Spids(void) const { return spids; }
159 int Apid(int i) const { return (0 <= i && i < MAXAPIDS) ? apids[i] : 0; }
160 int Dpid(int i) const { return (0 <= i && i < MAXDPIDS) ? dpids[i] : 0; }
161 int Spid(int i) const { return (0 <= i && i < MAXSPIDS) ? spids[i] : 0; }
162 const char *Alang(int i) const { return (0 <= i && i < MAXAPIDS) ? alangs[i] : ""; }
163 const char *Dlang(int i) const { return (0 <= i && i < MAXDPIDS) ? dlangs[i] : ""; }
164 const char *Slang(int i) const { return (0 <= i && i < MAXSPIDS) ? slangs[i] : ""; }
165 int Atype(int i) const { return (0 <= i && i < MAXAPIDS) ? atypes[i] : 0; }
166 int Dtype(int i) const { return (0 <= i && i < MAXDPIDS) ? dtypes[i] : 0; }
167 uchar SubtitlingType(int i) const { return (0 <= i && i < MAXSPIDS) ? subtitlingTypes[i] : uchar(0); }
168 uint16_t CompositionPageId(int i) const { return (0 <= i && i < MAXSPIDS) ? compositionPageIds[i] : uint16_t(0); }
169 uint16_t AncillaryPageId(int i) const { return (0 <= i && i < MAXSPIDS) ? ancillaryPageIds[i] : uint16_t(0); }
170 int Tpid(void) const { return tpid; }
171 const int *Caids(void) const { return caids; }
172 int Ca(int Index = 0) const { return Index < MAXCAIDS ? caids[Index] : 0; }
173 int Nid(void) const { return nid; }
174 int Tid(void) const { return tid; }
175 int Sid(void) const { return sid; }
176 int Rid(void) const { return rid; }
177 int Lcn(void) const { return lcn; }
178 int Number(void) const { return number; }
179 void SetNumber(int Number) { number = Number; }
180 bool GroupSep(void) const { return groupSep; }
181 const char *Parameters(void) const { return parameters; }
182 const cSchedule *Schedule(void) const { return schedule; }
183 const cLinkChannels* LinkChannels(void) const { return linkChannels; }
184 const cChannel *RefChannel(void) const { return refChannel; }
185 bool IsAtsc(void) const { return cSource::IsAtsc(source); }
186 bool IsCable(void) const { return cSource::IsCable(source); }
187 bool IsSat(void) const { return cSource::IsSat(source); }
188 bool IsTerr(void) const { return cSource::IsTerr(source); }
189 bool IsSourceType(char Source) const { return cSource::IsType(source, Source); }
190 tChannelID GetChannelID(void) const { return tChannelID(source, nid, (nid || tid) ? tid : Transponder(), sid, rid); }
191 int Modification(int Mask = CHANNELMOD_ALL) const;
192 time_t Seen(void) const { return seen; }
193 void CopyTransponderData(const cChannel *Channel);
194 bool SetTransponderData(int Source, int Frequency, int Srate, const char *Parameters, bool Quiet = false);
195 bool SetSource(int Source);
196 bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0);
197 bool SetLcn(int Lcn);
198 bool SetName(const char *Name, const char *ShortName, const char *Provider);
199 bool SetPortalName(const char *PortalName);
200 bool SetPids(int Vpid, int Ppid, int Vtype, int *Apids, int *Atypes, char ALangs[][MAXLANGCODE2], int *Dpids, int *Dtypes, char DLangs[][MAXLANGCODE2], int *Spids, char SLangs[][MAXLANGCODE2], int Tpid);
201 bool SetCaIds(const int *CaIds); // list must be zero-terminated
202 bool SetCaDescriptors(int Level);
205 bool SetSubtitlingDescriptors(uchar *SubtitlingTypes, uint16_t *CompositionPageIds, uint16_t *AncillaryPageIds);
206 void SetSeen(void);
207 bool ClearObsoleteChannel(void);
208 void DelLinkChannel(cChannel *LinkChannel);
209 };
210
211class cChannels : public cConfig<cChannel> {
212private:
214 static int maxNumber;
219 void DeleteDuplicateChannels(void);
220public:
221 cChannels(void);
222 static const cChannels *GetChannelsRead(cStateKey &StateKey, int TimeoutMs = 0);
225 static cChannels *GetChannelsWrite(cStateKey &StateKey, int TimeoutMs = 0);
228 static bool Load(const char *FileName, bool AllowComments = false, bool MustExist = false);
229 void HashChannel(cChannel *Channel);
230 void UnhashChannel(cChannel *Channel);
231 int GetNextGroup(int Idx) const;
232 int GetPrevGroup(int Idx) const;
233 int GetNextNormal(int Idx) const;
234 int GetPrevNormal(int Idx) const;
235 void ReNumber(void);
236 bool MoveNeedsDecrement(cChannel *From, cChannel *To); // Detect special case when moving a channel (closely related to Renumber())
237 void Del(cChannel *Channel);
238 const cChannel *GetByNumber(int Number, int SkipGap = 0) const;
239 cChannel *GetByNumber(int Number, int SkipGap = 0) { return const_cast<cChannel *>(static_cast<const cChannels *>(this)->GetByNumber(Number, SkipGap)); }
240 const cChannel *GetByServiceID(int Source, int Transponder, unsigned short ServiceID) const;
241 cChannel *GetByServiceID(int Source, int Transponder, unsigned short ServiceID) { return const_cast<cChannel *>(static_cast<const cChannels *>(this)->GetByServiceID(Source, Transponder, ServiceID)); }
242 const cChannel *GetByChannelID(tChannelID ChannelID, bool TryWithoutRid = false, bool TryWithoutPolarization = false) const;
243 cChannel *GetByChannelID(tChannelID ChannelID, bool TryWithoutRid = false, bool TryWithoutPolarization = false) { return const_cast<cChannel *>(static_cast<const cChannels *>(this)->GetByChannelID(ChannelID, TryWithoutRid, TryWithoutPolarization)); }
244 const cChannel *GetByTransponderID(tChannelID ChannelID) const;
245 cChannel *GetByTransponderID(tChannelID ChannelID) { return const_cast<cChannel *>(static_cast<const cChannels *>(this)->GetByTransponderID(ChannelID)); }
246 bool HasUniqueChannelID(const cChannel *NewChannel, const cChannel *OldChannel = NULL) const;
247 bool SwitchTo(int Number) const;
248 static int MaxNumber(void) { return maxNumber; }
249 static int MaxChannelNameLength(void);
250 static int MaxShortChannelNameLength(void);
251 void SetModifiedByUser(void);
252 bool ModifiedByUser(int &State) const;
257 cChannel *NewChannel(const cChannel *Transponder, const char *Name, const char *ShortName, const char *Provider, int Nid, int Tid, int Sid, int Rid = 0);
258 bool MarkObsoleteChannels(int Source, int Nid, int Tid);
259 };
260
261// Provide lock controlled access to the list:
262
264
265// These macros provide a convenient way of locking the global channels list
266// and making sure the lock is released as soon as the current scope is left
267// (note that these macros wait forever to obtain the lock!):
268
269#define LOCK_CHANNELS_READ USE_LIST_LOCK_READ(Channels)
270#define LOCK_CHANNELS_WRITE USE_LIST_LOCK_WRITE(Channels)
271
272cString ChannelString(const cChannel *Channel, int Number);
273
274#endif //__CHANNELS_H
#define MAXLANGCODE2
Definition: channels.h:37
#define MAXDPIDS
Definition: channels.h:32
#define CHANNELMOD_ALL
Definition: channels.h:21
#define MAXAPIDS
Definition: channels.h:31
DEF_LIST_LOCK(Channels)
#define MAXSPIDS
Definition: channels.h:33
#define MAXCAIDS
Definition: channels.h:34
cString ChannelString(const cChannel *Channel, int Number)
Definition: channels.c:1139
int ppid
Definition: channels.h:103
time_t Seen(void) const
Definition: channels.h:192
const int * Dpids(void) const
Definition: channels.h:157
int transponder
Definition: channels.h:99
uchar subtitlingTypes[MAXSPIDS]
Definition: channels.h:113
int dpids[MAXDPIDS+1]
Definition: channels.h:108
const cChannel * RefChannel(void) const
Definition: channels.h:184
bool Parse(const char *s)
Definition: channels.c:613
const cSchedule * Schedule(void) const
Definition: channels.h:182
int tpid
Definition: channels.h:116
int source
Definition: channels.h:100
int number
Definition: channels.h:123
int vpid
Definition: channels.h:102
char dlangs[MAXDPIDS][MAXLANGCODE2]
Definition: channels.h:110
int frequency
Definition: channels.h:98
int rid
Definition: channels.h:121
int Nid(void) const
Definition: channels.h:173
int Lcn(void) const
Definition: channels.h:177
uint16_t AncillaryPageId(int i) const
Definition: channels.h:169
uint16_t CompositionPageId(int i) const
Definition: channels.h:168
int Tpid(void) const
Definition: channels.h:170
const char * Slang(int i) const
Definition: channels.h:164
void SetNumber(int Number)
Definition: channels.h:179
int nid
Definition: channels.h:118
cString parameters
Definition: channels.h:129
int Vpid(void) const
Definition: channels.h:153
const cSchedule * schedule
Definition: channels.h:132
cString TransponderDataToString(void) const
Definition: channels.c:544
bool SetCaIds(const int *CaIds)
Definition: channels.c:458
cString nameSource
Definition: channels.h:126
bool SetName(const char *Name, const char *ShortName, const char *Provider)
Definition: channels.c:262
cString ToText(void) const
Definition: channels.c:608
int __BeginData__
Definition: channels.h:97
char * name
Definition: channels.h:93
int Atype(int i) const
Definition: channels.h:165
int atypes[MAXAPIDS+1]
Definition: channels.h:106
int Tid(void) const
Definition: channels.h:174
cLinkChannels * linkChannels
Definition: channels.h:133
bool SetPortalName(const char *PortalName)
Definition: channels.c:290
bool SetLinkChannels(cLinkChannels *LinkChannels)
Definition: channels.c:491
int Source(void) const
Definition: channels.h:151
int Number(void) const
Definition: channels.h:178
int Dtype(int i) const
Definition: channels.h:166
char * shortName
Definition: channels.h:94
const char * Name(void) const
Definition: channels.c:107
int Dpid(int i) const
Definition: channels.h:160
int Vtype(void) const
Definition: channels.h:155
int srate
Definition: channels.h:101
int Apid(int i) const
Definition: channels.h:159
tChannelID GetChannelID(void) const
Definition: channels.h:190
int Rid(void) const
Definition: channels.h:176
bool SetPids(int Vpid, int Ppid, int Vtype, int *Apids, int *Atypes, char ALangs[][MAXLANGCODE2], int *Dpids, int *Dtypes, char DLangs[][MAXLANGCODE2], int *Spids, char SLangs[][MAXLANGCODE2], int Tpid)
Definition: channels.c:345
int sid
Definition: channels.h:120
int lcn
Definition: channels.h:122
~cChannel()
Definition: channels.c:84
cChannel * refChannel
Definition: channels.h:134
char alangs[MAXAPIDS][MAXLANGCODE2]
Definition: channels.h:107
bool GroupSep(void) const
Definition: channels.h:180
int Ppid(void) const
Definition: channels.h:154
const char * Parameters(void) const
Definition: channels.h:181
bool SetLcn(int Lcn)
Definition: channels.c:251
void CopyTransponderData(const cChannel *Channel)
Definition: channels.c:169
time_t seen
Definition: channels.h:131
uchar SubtitlingType(int i) const
Definition: channels.h:167
int Ca(int Index=0) const
Definition: channels.h:172
const char * Dlang(int i) const
Definition: channels.h:163
const int * Caids(void) const
Definition: channels.h:171
int Frequency(void) const
Returns the actual frequency, as given in 'channels.conf'.
Definition: channels.h:148
bool IsSat(void) const
Definition: channels.h:187
bool IsCable(void) const
Definition: channels.h:186
void SetRefChannel(cChannel *RefChannel)
Definition: channels.c:539
bool ClearObsoleteChannel(void)
Definition: channels.c:1157
int caids[MAXCAIDS+1]
Definition: channels.h:117
const char * ShortName(bool OrName=false) const
Definition: channels.c:121
bool SetTransponderData(int Source, int Frequency, int Srate, const char *Parameters, bool Quiet=false)
Definition: channels.c:180
int tid
Definition: channels.h:119
bool Save(FILE *f)
Definition: channels.c:821
int dtypes[MAXDPIDS+1]
Definition: channels.h:109
cString shortNameSource
Definition: channels.h:128
const char * PortalName(void) const
Definition: channels.h:147
int apids[MAXAPIDS+1]
Definition: channels.h:105
int Spid(int i) const
Definition: channels.h:161
bool SetSource(int Source)
Definition: channels.c:218
const int * Apids(void) const
Definition: channels.h:156
void SetSeen(void)
Definition: channels.c:437
char slangs[MAXSPIDS][MAXLANGCODE2]
Definition: channels.h:112
bool IsSourceType(char Source) const
Definition: channels.h:189
bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid=0)
Definition: channels.c:231
int Modification(int Mask=CHANNELMOD_ALL) const
Definition: channels.c:162
bool IsTerr(void) const
Definition: channels.h:188
const char * Alang(int i) const
Definition: channels.h:162
int spids[MAXSPIDS+1]
Definition: channels.h:111
bool SetCaDescriptors(int Level)
Definition: channels.c:480
int Transponder(void) const
Returns the transponder frequency in MHz, plus the polarization in case of sat.
Definition: channels.c:146
int __EndData__
Definition: channels.h:125
int Srate(void) const
Definition: channels.h:152
int Sid(void) const
Definition: channels.h:175
void DelLinkChannel(cChannel *LinkChannel)
Definition: channels.c:442
bool groupSep
Definition: channels.h:124
uint16_t compositionPageIds[MAXSPIDS]
Definition: channels.h:114
bool IsAtsc(void) const
Definition: channels.h:185
const char * Provider(void) const
Definition: channels.h:146
char * provider
Definition: channels.h:95
bool SetSubtitlingDescriptors(uchar *SubtitlingTypes, uint16_t *CompositionPageIds, uint16_t *AncillaryPageIds)
Definition: channels.c:413
const cLinkChannels * LinkChannels(void) const
Definition: channels.h:183
int nameSourceMode
Definition: channels.h:127
uint16_t ancillaryPageIds[MAXSPIDS]
Definition: channels.h:115
char * portalName
Definition: channels.h:96
int vtype
Definition: channels.h:104
int modification
Definition: channels.h:130
const int * Spids(void) const
Definition: channels.h:158
cChannel(void)
Definition: channels.c:56
cChannel & operator=(const cChannel &Channel)
Definition: channels.c:93
static cChannels * GetChannelsWrite(cStateKey &StateKey, int TimeoutMs=0)
Gets the list of channels for write access.
Definition: channels.c:860
void UnhashChannel(cChannel *Channel)
Definition: channels.c:900
cChannel * GetByChannelID(tChannelID ChannelID, bool TryWithoutRid=false, bool TryWithoutPolarization=false)
Definition: channels.h:243
static int MaxChannelNameLength(void)
Definition: channels.c:1068
int GetNextGroup(int Idx) const
Get next channel group.
Definition: channels.c:905
bool HasUniqueChannelID(const cChannel *NewChannel, const cChannel *OldChannel=NULL) const
Definition: channels.c:1052
static int MaxNumber(void)
Definition: channels.h:248
cChannels(void)
Definition: channels.c:849
bool MoveNeedsDecrement(cChannel *From, cChannel *To)
Definition: channels.c:955
int GetPrevNormal(int Idx) const
Get previous normal channel (not group)
Definition: channels.c:929
const cChannel * GetByServiceID(int Source, int Transponder, unsigned short ServiceID) const
Definition: channels.c:997
static int maxChannelNameLength
Definition: channels.h:215
static cChannels channels
Definition: channels.h:213
cChannel * GetByNumber(int Number, int SkipGap=0)
Definition: channels.h:239
bool ModifiedByUser(int &State) const
Returns true if the channels have been modified by the user since the last call to this function with...
Definition: channels.c:1098
static int MaxShortChannelNameLength(void)
Definition: channels.c:1080
void HashChannel(cChannel *Channel)
Definition: channels.c:895
static const cChannels * GetChannelsRead(cStateKey &StateKey, int TimeoutMs=0)
Gets the list of channels for read access.
Definition: channels.c:855
static int maxNumber
Definition: channels.h:214
void ReNumber(void)
Recalculate 'number' based on channel type.
Definition: channels.c:937
const cChannel * GetByNumber(int Number, int SkipGap=0) const
Definition: channels.c:982
void SetModifiedByUser(void)
Definition: channels.c:1092
cChannel * NewChannel(const cChannel *Transponder, const char *Name, const char *ShortName, const char *Provider, int Nid, int Tid, int Sid, int Rid=0)
Definition: channels.c:1105
const cChannel * GetByTransponderID(tChannelID ChannelID) const
Definition: channels.c:1040
bool MarkObsoleteChannels(int Source, int Nid, int Tid)
Definition: channels.c:1124
const cChannel * GetByChannelID(tChannelID ChannelID, bool TryWithoutRid=false, bool TryWithoutPolarization=false) const
Definition: channels.c:1010
bool SwitchTo(int Number) const
Definition: channels.c:1062
void DeleteDuplicateChannels(void)
Definition: channels.c:865
static int maxShortChannelNameLength
Definition: channels.h:216
cHash< cChannel > channelsHashSid
Definition: channels.h:218
int GetPrevGroup(int Idx) const
Get previous channel group.
Definition: channels.c:913
cChannel * GetByServiceID(int Source, int Transponder, unsigned short ServiceID)
Definition: channels.h:241
static bool Load(const char *FileName, bool AllowComments=false, bool MustExist=false)
Definition: channels.c:884
cChannel * GetByTransponderID(tChannelID ChannelID)
Definition: channels.h:245
void Del(cChannel *Channel)
Delete the given Channel from the list.
Definition: channels.c:974
int GetNextNormal(int Idx) const
Get next normal channel (not group)
Definition: channels.c:921
int modifiedByUser
Definition: channels.h:217
const char * FileName(void)
Definition: config.h:126
cLinkChannel(cChannel *Channel)
Definition: channels.h:77
cChannel * channel
Definition: channels.h:75
cChannel * Channel(void)
Definition: channels.h:78
int Index(void) const
Definition: tools.c:2104
Definition: epg.h:152
static bool IsType(int Code, char Source)
static bool IsAtsc(int Code)
static bool IsTerr(int Code)
static bool IsCable(int Code)
static bool IsSat(int Code)
unsigned char uchar
tChannelID(void)
Definition: channels.h:55
tChannelID(int Source, int Nid, int Tid, int Sid, int Rid=0)
Definition: channels.h:56
int tid
Definition: channels.h:51
tChannelID & ClrRid(void)
Definition: channels.h:59
int Sid(void) const
Definition: channels.h:64
bool Valid(void) const
Definition: channels.h:58
int nid
actually the "original" network id
Definition: channels.h:50
int Nid(void) const
Definition: channels.h:62
static tChannelID FromString(const char *s)
Definition: channels.c:23
cString ToString(void) const
Definition: channels.c:40
int Source(void) const
Definition: channels.h:61
int source
Definition: channels.h:49
int Rid(void) const
Definition: channels.h:65
static const tChannelID InvalidID
Definition: channels.h:68
int rid
Definition: channels.h:53
tChannelID & ClrPolarization(void)
Definition: channels.c:47
int sid
Definition: channels.h:52
int Tid(void) const
Definition: channels.h:63
bool operator==(const tChannelID &arg) const
Definition: channels.h:57