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

Sky Logical Channel Number descriptor. More...

#include <libmythtv/mpeg/dvbdescriptors.h>

Inheritance diagram for SkyLCNDescriptor:
[legend]
Collaboration diagram for SkyLCNDescriptor:
[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 (size_t i) const
 
uint ServiceType (size_t i) const
 
uint ChannelID (size_t i) const
 
uint LogicalChannelNumber (size_t i) const
 
uint Flags (size_t 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 2806 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ SkyLCNDescriptor()

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

Definition at line 2809 of file dvbdescriptors.h.

Member Function Documentation

◆ RegionID()

uint SkyLCNDescriptor::RegionID ( void  ) const
inline

Definition at line 2826 of file dvbdescriptors.h.

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

◆ RegionRaw()

uint SkyLCNDescriptor::RegionRaw ( void  ) const
inline

Definition at line 2829 of file dvbdescriptors.h.

Referenced by toString().

◆ ServiceCount()

uint SkyLCNDescriptor::ServiceCount ( void  ) const
inline

Definition at line 2832 of file dvbdescriptors.h.

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

◆ ServiceID()

uint SkyLCNDescriptor::ServiceID ( size_t  i) const
inline

Definition at line 2835 of file dvbdescriptors.h.

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

◆ ServiceType()

uint SkyLCNDescriptor::ServiceType ( size_t  i) const
inline

Definition at line 2838 of file dvbdescriptors.h.

Referenced by toString().

◆ ChannelID()

uint SkyLCNDescriptor::ChannelID ( size_t  i) const
inline

Definition at line 2841 of file dvbdescriptors.h.

Referenced by toString().

◆ LogicalChannelNumber()

uint SkyLCNDescriptor::LogicalChannelNumber ( size_t  i) const
inline

Definition at line 2844 of file dvbdescriptors.h.

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

◆ Flags()

uint SkyLCNDescriptor::Flags ( size_t  i) const
inline

Definition at line 2847 of file dvbdescriptors.h.

Referenced by toString().

◆ toString()

QString SkyLCNDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 971 of file dvbdescriptors.cpp.


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