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

#include <dishdescriptors.h>

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

Public Member Functions

 DishEventVCHIPDescriptor (const unsigned char *data, int len=300)
 
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 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
 

Static Private Member Functions

static void Init (void)
 

Static Private Attributes

static QMutex vchipRatingsLock
 
static QMap< uint, QString > vchipRatingsDesc
 
static bool vchipRatingsExists = 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 43 of file dishdescriptors.h.

Constructor & Destructor Documentation

◆ DishEventVCHIPDescriptor()

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

Definition at line 46 of file dishdescriptors.h.

Member Function Documentation

◆ rating_raw()

uint DishEventVCHIPDescriptor::rating_raw ( void  ) const
inline

Definition at line 52 of file dishdescriptors.h.

Referenced by rating().

◆ rating()

QString DishEventVCHIPDescriptor::rating ( void  ) const

Definition at line 246 of file dishdescriptors.cpp.

Referenced by EITHelper::AddEIT().

◆ advisory_raw()

uint DishEventVCHIPDescriptor::advisory_raw ( void  ) const
inline

Definition at line 56 of file dishdescriptors.h.

Referenced by advisory().

◆ advisory()

QString DishEventVCHIPDescriptor::advisory ( void  ) const

Definition at line 261 of file dishdescriptors.cpp.

Referenced by EITHelper::AddEIT().

◆ Init()

void DishEventVCHIPDescriptor::Init ( void  )
staticprivate

Definition at line 280 of file dishdescriptors.cpp.

Referenced by rating().

Member Data Documentation

◆ vchipRatingsLock

QMutex DishEventVCHIPDescriptor::vchipRatingsLock
staticprivate

Definition at line 63 of file dishdescriptors.h.

Referenced by Init(), and rating().

◆ vchipRatingsDesc

QMap< uint, QString > DishEventVCHIPDescriptor::vchipRatingsDesc
staticprivate

Definition at line 64 of file dishdescriptors.h.

Referenced by Init(), and rating().

◆ vchipRatingsExists

bool DishEventVCHIPDescriptor::vchipRatingsExists = false
staticprivate

Definition at line 65 of file dishdescriptors.h.

Referenced by Init(), and rating().


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