MythTV  master
Public Member Functions | List of all members
SkyLCNDescriptor Class Reference

Sky Logical Channel Number descriptor. More...

#include <dvbdescriptors.h>

Inheritance diagram for SkyLCNDescriptor:
Inheritance graph
[legend]
Collaboration diagram for SkyLCNDescriptor:
Collaboration graph
[legend]

Public Member Functions

 SkyLCNDescriptor (const unsigned char *data, int len=300)
 
uint RegionID (void) const
 
uint RegionRaw (void) const
 
uint ServiceCount (void) const
 
uint ServiceID (int i) const
 
uint ServiceType (int i) const
 
uint ChannelID (int i) const
 
uint LogicalChannelNumber (int i) const
 
uint Flags (int i) const
 
QString toString (void) const override
 
- Public Member Functions inherited from MPEGDescriptor
 operator const unsigned char * () const
 
 MPEGDescriptor (const unsigned char *data, int len=300)
 
 MPEGDescriptor (const std::vector< uint8_t > &data)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag)
 
 MPEGDescriptor (const std::vector< uint8_t > &data, uint tag)
 
 MPEGDescriptor (const unsigned char *data, int len, uint tag, uint req_desc_len)
 
virtual ~MPEGDescriptor ()=default
 
bool IsValid (void) const
 
uint size (void) const
 
uint DescriptorTag (void) const
 
uint DescriptorLength (void) const
 
uint DescriptorTagExtension (void) const
 
QString DescriptorTagString (void) const
 
virtual QString toStringPD (uint priv_dsid) const
 
virtual QString toStringXML (uint indent_level) const
 Returns XML representation of string the TS Reader XML format. More...
 
QString hexdump (void) const
 
QString descrDump (const QString &name) const
 

Additional Inherited Members

- Static Public Member Functions inherited from MPEGDescriptor
static desc_list_t Parse (const unsigned char *data, uint len)
 
static desc_list_t ParseAndExclude (const unsigned char *data, uint len, int excluded_descid)
 
static desc_list_t ParseOnlyInclude (const unsigned char *data, uint len, int excluded_descid)
 
static const unsigned char * Find (const desc_list_t &parsed, uint desc_tag)
 
static const unsigned char * FindExtension (const desc_list_t &parsed, uint desc_tag)
 
static desc_list_t FindAll (const desc_list_t &parsed, uint desc_tag)
 
static const unsigned char * FindBestMatch (const desc_list_t &parsed, uint desc_tag, QMap< uint, uint > &langPref)
 
static desc_list_t FindBestMatches (const desc_list_t &parsed, uint desc_tag, QMap< uint, uint > &langPref)
 
- Protected Attributes inherited from MPEGDescriptor
const unsigned char * m_data
 

Detailed Description

Sky Logical Channel Number descriptor.

BAT descriptor ID 0xb1 (Private Extension)

Provides the Logical Channel Number (LCN) for each channel.

Descriptor layout from tvheadend src/input/mpegts/dvb_psi.c function dvb_bskyb_local_channels

Definition at line 2790 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ SkyLCNDescriptor()

SkyLCNDescriptor::SkyLCNDescriptor ( const unsigned char *  data,
int  len = 300 
)
inlineexplicit

Definition at line 2793 of file dvbdescriptors.h.

Member Function Documentation

◆ RegionID()

uint SkyLCNDescriptor::RegionID ( void  ) const
inline

Definition at line 2810 of file dvbdescriptors.h.

Referenced by ChannelScanSM::GetChannelList(), and toString().

◆ RegionRaw()

uint SkyLCNDescriptor::RegionRaw ( void  ) const
inline

Definition at line 2813 of file dvbdescriptors.h.

Referenced by toString().

◆ ServiceCount()

uint SkyLCNDescriptor::ServiceCount ( void  ) const
inline

Definition at line 2816 of file dvbdescriptors.h.

Referenced by ChannelScanSM::GetChannelList(), and toString().

◆ ServiceID()

uint SkyLCNDescriptor::ServiceID ( int  i) const
inline

Definition at line 2819 of file dvbdescriptors.h.

Referenced by ChannelScanSM::GetChannelList(), and toString().

◆ ServiceType()

uint SkyLCNDescriptor::ServiceType ( int  i) const
inline

Definition at line 2822 of file dvbdescriptors.h.

Referenced by toString().

◆ ChannelID()

uint SkyLCNDescriptor::ChannelID ( int  i) const
inline

Definition at line 2825 of file dvbdescriptors.h.

Referenced by toString().

◆ LogicalChannelNumber()

uint SkyLCNDescriptor::LogicalChannelNumber ( int  i) const
inline

Definition at line 2828 of file dvbdescriptors.h.

Referenced by ChannelScanSM::GetChannelList(), and toString().

◆ Flags()

uint SkyLCNDescriptor::Flags ( int  i) const
inline

Definition at line 2831 of file dvbdescriptors.h.

Referenced by toString().

◆ toString()

QString SkyLCNDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 939 of file dvbdescriptors.cpp.


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