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

#include <dishdescriptors.h>

Inheritance diagram for DishEventMPAADescriptor:
Inheritance graph
[legend]
Collaboration diagram for DishEventMPAADescriptor:
Collaboration graph
[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 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 toString (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 QMutex mpaaRatingsLock
 
static QMap< uint, QString > mpaaRatingsDesc
 
static bool 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 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

Definition at line 14 of file dishdescriptors.h.

Constructor & Destructor Documentation

◆ DishEventMPAADescriptor()

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

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 171 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 187 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 202 of file dishdescriptors.cpp.

Referenced by EITHelper::AddEIT().

◆ Init()

void DishEventMPAADescriptor::Init ( void  )
staticprivate

Definition at line 225 of file dishdescriptors.cpp.

Referenced by rating().

Member Data Documentation

◆ mpaaRatingsLock

QMutex DishEventMPAADescriptor::mpaaRatingsLock
staticprivate

Definition at line 38 of file dishdescriptors.h.

Referenced by Init(), and rating().

◆ mpaaRatingsDesc

QMap< uint, QString > DishEventMPAADescriptor::mpaaRatingsDesc
staticprivate

Definition at line 39 of file dishdescriptors.h.

Referenced by Init(), and rating().

◆ mpaaRatingsExists

bool DishEventMPAADescriptor::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: