vdr 2.7.7
tChannelID Struct Reference

#include <channels.h>

Public Member Functions

 tChannelID (void)
 tChannelID (int Source, int Nid, int Tid, int Sid, int Rid=0)
bool operator== (const tChannelID &arg) const
bool Valid (void) const
tChannelIDClrRid (void)
tChannelIDClrPolarization (void)
int Source (void) const
int Nid (void) const
int Tid (void) const
int Sid (void) const
int Rid (void) const
cString ToString (void) const

Static Public Member Functions

static tChannelID FromString (const char *s)

Static Public Attributes

static const tChannelID InvalidID

Private Attributes

int source
int nid
int tid
int sid
int rid

Detailed Description

Definition at line 47 of file channels.h.

Constructor & Destructor Documentation

◆ tChannelID() [1/2]

tChannelID::tChannelID ( void )
inline

Definition at line 55 of file channels.h.

References nid, rid, sid, source, and tid.

Referenced by ClrPolarization(), ClrRid(), FromString(), and operator==().

◆ tChannelID() [2/2]

tChannelID::tChannelID ( int Source,
int Nid,
int Tid,
int Sid,
int Rid = 0 )
inline

Definition at line 56 of file channels.h.

References Nid(), nid, Rid(), rid, Sid(), sid, Source(), source, Tid(), and tid.

Member Function Documentation

◆ ClrPolarization()

tChannelID & tChannelID::ClrPolarization ( void )

Definition at line 47 of file channels.c.

References tChannelID(), and tid.

Referenced by cChannels::GetByChannelID().

◆ ClrRid()

tChannelID & tChannelID::ClrRid ( void )
inline

◆ FromString()

◆ Nid()

int tChannelID::Nid ( void ) const
inline

Definition at line 62 of file channels.h.

References nid.

Referenced by cChannels::GetByTransponderID(), and tChannelID().

◆ operator==()

bool tChannelID::operator== ( const tChannelID & arg) const
inline

Definition at line 57 of file channels.h.

References nid, rid, sid, source, tChannelID(), and tid.

◆ Rid()

int tChannelID::Rid ( void ) const
inline

Definition at line 65 of file channels.h.

References rid.

Referenced by tChannelID().

◆ Sid()

int tChannelID::Sid ( void ) const
inline

◆ Source()

int tChannelID::Source ( void ) const
inline

Definition at line 61 of file channels.h.

References source.

Referenced by cChannels::GetByTransponderID(), and tChannelID().

◆ Tid()

int tChannelID::Tid ( void ) const
inline

Definition at line 63 of file channels.h.

References tid.

Referenced by cChannels::GetByTransponderID(), and tChannelID().

◆ ToString()

cString tChannelID::ToString ( void ) const

◆ Valid()

bool tChannelID::Valid ( void ) const
inline

Definition at line 58 of file channels.h.

References nid, sid, and tid.

Referenced by cDevice::Action(), cDevice::AttachReceiver(), cDevice::Detach(), and cChannelCamRelations::Load().

Member Data Documentation

◆ InvalidID

◆ nid

int tChannelID::nid
private

actually the "original" network id

Definition at line 50 of file channels.h.

Referenced by FromString(), Nid(), operator==(), tChannelID(), tChannelID(), ToString(), and Valid().

◆ rid

int tChannelID::rid
private

Definition at line 53 of file channels.h.

Referenced by ClrRid(), FromString(), operator==(), Rid(), tChannelID(), tChannelID(), and ToString().

◆ sid

int tChannelID::sid
private

Definition at line 52 of file channels.h.

Referenced by FromString(), operator==(), Sid(), tChannelID(), tChannelID(), ToString(), and Valid().

◆ source

int tChannelID::source
private

Definition at line 49 of file channels.h.

Referenced by FromString(), operator==(), Source(), tChannelID(), tChannelID(), and ToString().

◆ tid

int tChannelID::tid
private

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