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

#include <dishdescriptors.h>

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

Public Member Functions

 DishContentDescriptor (const unsigned char *data, int len=300)
 
DishThemeType GetTheme (void) const
 
QString GetCategory (void) const
 
QString toString () const override
 
- Public Member Functions inherited from ContentDescriptor
 ContentDescriptor (const unsigned char *data, int len=300)
 
uint Count (void) const
 
uint Nibble1 (uint i) const
 
uint Nibble2 (uint i) const
 
uint Nibble (uint i) const
 
uint UserNibble1 (uint i) const
 
uint UserNibble2 (uint i) const
 
uint UserNibble (uint i) const
 
ProgramInfo::CategoryType GetMythCategory (uint i) const
 
QString GetDescription (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
 

Static Private Member Functions

static void Init (void)
 

Static Private Attributes

static QMap< uint, QString > themeDesc
 
static QMap< uint, QString > dishCategoryDesc
 
static volatile bool dishCategoryDescExists = false
 

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)
 
- Static Protected Member Functions inherited from ContentDescriptor
static void Init (void)
 
- Protected Attributes inherited from MPEGDescriptor
const unsigned char * _data
 
- Static Protected Attributes inherited from ContentDescriptor
static QMutex categoryLock
 
static QMap< uint, QString > categoryDesc
 
static volatile bool categoryDescExists = false
 

Detailed Description

Definition at line 155 of file dishdescriptors.h.

Constructor & Destructor Documentation

◆ DishContentDescriptor()

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

Definition at line 158 of file dishdescriptors.h.

Member Function Documentation

◆ GetTheme()

DishThemeType DishContentDescriptor::GetTheme ( void  ) const

Definition at line 331 of file dishdescriptors.cpp.

Referenced by EITHelper::AddEIT(), GetCategory(), and toString().

◆ GetCategory()

QString DishContentDescriptor::GetCategory ( void  ) const

Definition at line 347 of file dishdescriptors.cpp.

Referenced by EITHelper::AddEIT(), and toString().

◆ toString()

QString DishContentDescriptor::toString ( void  ) const
overridevirtual

Reimplemented from MPEGDescriptor.

Definition at line 366 of file dishdescriptors.cpp.

◆ Init()

void DishContentDescriptor::Init ( void  )
staticprivate

Definition at line 371 of file dishdescriptors.cpp.

Referenced by GetCategory(), and GetTheme().

Member Data Documentation

◆ themeDesc

QMap< uint, QString > DishContentDescriptor::themeDesc
staticprivate

Definition at line 169 of file dishdescriptors.h.

Referenced by GetTheme(), and Init().

◆ dishCategoryDesc

QMap< uint, QString > DishContentDescriptor::dishCategoryDesc
staticprivate

Definition at line 170 of file dishdescriptors.h.

Referenced by GetCategory(), and Init().

◆ dishCategoryDescExists

volatile bool DishContentDescriptor::dishCategoryDescExists = false
staticprivate

Definition at line 171 of file dishdescriptors.h.

Referenced by GetCategory(), GetTheme(), and Init().


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