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

DVB Logical Channel Descriptor. More...

#include <dvbdescriptors.h>

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

Public Member Functions

 DVBLogicalChannelDescriptor (const unsigned char *data, int len=300)
 
uint ChannelCount (void) const
 
uint ServiceID (uint i) const
 
uint ChannelNumber (uint 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 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 toStringXML (uint indent_level) const
 Returns XML representation of string the TS Reader XML format. More...
 
QString hexdump (void) 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 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

DVB Logical Channel Descriptor.

NIT descriptor ID 0x83 (Private Extension)

Provides the Logical Channel Number (LCN) for each channel. This isn't used in all DVB Networks.

Definition at line 2071 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ DVBLogicalChannelDescriptor()

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

Definition at line 2074 of file dvbdescriptors.h.

Member Function Documentation

◆ ChannelCount()

uint DVBLogicalChannelDescriptor::ChannelCount ( void  ) const
inline

Definition at line 2080 of file dvbdescriptors.h.

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

◆ ServiceID()

uint DVBLogicalChannelDescriptor::ServiceID ( uint  i) const
inline

Definition at line 2082 of file dvbdescriptors.h.

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

◆ ChannelNumber()

uint DVBLogicalChannelDescriptor::ChannelNumber ( uint  i) const
inline

Definition at line 2085 of file dvbdescriptors.h.

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

◆ toString()

QString DVBLogicalChannelDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 586 of file dvbdescriptors.cpp.


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