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

#include <libmythtv/mpeg/dishdescriptors.h>

Inheritance diagram for DishEventMPAADescriptor:
[legend]
Collaboration diagram for DishEventMPAADescriptor:
[legend]

Public Member Functions

 DishEventMPAADescriptor (const unsigned char *data, int len=300)
 
uint stars_raw (void) const
 
float stars (void) const
 
uint rating_raw (void) const
 
QString rating (void) const
 
uint advisory_raw (void) const
 
QString advisory (void) const
 
- 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 toString (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
 

Static Private Member Functions

static void Init (void)
 

Static Private Attributes

static QMutex s_mpaaRatingsLock
 
static QMap< uint, QString > s_mpaaRatingsDesc
 
static bool s_mpaaRatingsExists = 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 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

Definition at line 14 of file dishdescriptors.h.

Constructor & Destructor Documentation

◆ DishEventMPAADescriptor()

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

Definition at line 17 of file dishdescriptors.h.

Member Function Documentation

◆ stars_raw()

uint DishEventMPAADescriptor::stars_raw ( void  ) const
inline

Definition at line 23 of file dishdescriptors.h.

Referenced by stars().

◆ stars()

float DishEventMPAADescriptor::stars ( void  ) const

Definition at line 174 of file dishdescriptors.cpp.

Referenced by EITHelper::AddEIT().

◆ rating_raw()

uint DishEventMPAADescriptor::rating_raw ( void  ) const
inline

Definition at line 27 of file dishdescriptors.h.

Referenced by rating().

◆ rating()

QString DishEventMPAADescriptor::rating ( void  ) const

Definition at line 190 of file dishdescriptors.cpp.

Referenced by EITHelper::AddEIT().

◆ advisory_raw()

uint DishEventMPAADescriptor::advisory_raw ( void  ) const
inline

Definition at line 31 of file dishdescriptors.h.

Referenced by advisory().

◆ advisory()

QString DishEventMPAADescriptor::advisory ( void  ) const

Definition at line 205 of file dishdescriptors.cpp.

Referenced by EITHelper::AddEIT().

◆ Init()

void DishEventMPAADescriptor::Init ( void  )
staticprivate

Definition at line 228 of file dishdescriptors.cpp.

Referenced by rating().

Member Data Documentation

◆ s_mpaaRatingsLock

QMutex DishEventMPAADescriptor::s_mpaaRatingsLock
staticprivate

Definition at line 38 of file dishdescriptors.h.

Referenced by Init(), and rating().

◆ s_mpaaRatingsDesc

QMap< uint, QString > DishEventMPAADescriptor::s_mpaaRatingsDesc
staticprivate

Definition at line 39 of file dishdescriptors.h.

Referenced by Init(), and rating().

◆ s_mpaaRatingsExists

bool DishEventMPAADescriptor::s_mpaaRatingsExists = false
staticprivate

Definition at line 40 of file dishdescriptors.h.

Referenced by Init(), and rating().


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