MythTV  master
Public Member Functions | Private Attributes | List of all members
FreesatLCNDescriptor Class Reference

Freesat Logical Channel Number descriptor. More...

#include <dvbdescriptors.h>

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

Public Member Functions

 FreesatLCNDescriptor (const unsigned char *data, int len=300)
 
uint ServiceCount (void) const
 
uint ServiceID (int i) const
 
uint ChanID (int i) const
 
uint LCNCount (int i) const
 
uint LogicalChannelNumber (int i, int j) const
 
uint RegionID (int i, int j) 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 unsigned char *data, int len, 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
 
QString DescriptorTagString (void) const
 
uint DescriptorLength (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 (QString name) const
 

Private Attributes

desc_list_t entries
 

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 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 * _data
 

Detailed Description

Freesat Logical Channel Number descriptor.

BAT descriptor ID 0xd3 (Private Extension)

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

https://blog.nexusuk.org/2014/07/decoding-freesat-part-2.html

Definition at line 2131 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ FreesatLCNDescriptor()

FreesatLCNDescriptor::FreesatLCNDescriptor ( const unsigned char *  data,
int  len = 300 
)
inline

Definition at line 2134 of file dvbdescriptors.h.

Member Function Documentation

◆ ServiceCount()

uint FreesatLCNDescriptor::ServiceCount ( void  ) const
inline

Definition at line 2163 of file dvbdescriptors.h.

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

◆ ServiceID()

uint FreesatLCNDescriptor::ServiceID ( int  i) const
inline

Definition at line 2166 of file dvbdescriptors.h.

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

◆ ChanID()

uint FreesatLCNDescriptor::ChanID ( int  i) const
inline

Definition at line 2169 of file dvbdescriptors.h.

Referenced by toString().

◆ LCNCount()

uint FreesatLCNDescriptor::LCNCount ( int  i) const
inline

Definition at line 2172 of file dvbdescriptors.h.

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

◆ LogicalChannelNumber()

uint FreesatLCNDescriptor::LogicalChannelNumber ( int  i,
int  j 
) const
inline

Definition at line 2175 of file dvbdescriptors.h.

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

◆ RegionID()

uint FreesatLCNDescriptor::RegionID ( int  i,
int  j 
) const
inline

Definition at line 2178 of file dvbdescriptors.h.

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

◆ toString()

QString FreesatLCNDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 630 of file dvbdescriptors.cpp.

Member Data Documentation

◆ entries

desc_list_t FreesatLCNDescriptor::entries
private

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