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

#include <libmythtv/mpeg/dishdescriptors.h>

Inheritance diagram for DishEventVCHIPDescriptor:
[legend]
Collaboration diagram for DishEventVCHIPDescriptor:
[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 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_vchipRatingsLock
 
static QMap< uint, QString > s_vchipRatingsDesc
 
static bool s_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 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 43 of file dishdescriptors.h.

Constructor & Destructor Documentation

◆ DishEventVCHIPDescriptor()

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

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 249 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 264 of file dishdescriptors.cpp.

Referenced by EITHelper::AddEIT().

◆ Init()

void DishEventVCHIPDescriptor::Init ( void  )
staticprivate

Definition at line 283 of file dishdescriptors.cpp.

Referenced by rating().

Member Data Documentation

◆ s_vchipRatingsLock

QMutex DishEventVCHIPDescriptor::s_vchipRatingsLock
staticprivate

Definition at line 63 of file dishdescriptors.h.

Referenced by Init(), and rating().

◆ s_vchipRatingsDesc

QMap< uint, QString > DishEventVCHIPDescriptor::s_vchipRatingsDesc
staticprivate

Definition at line 64 of file dishdescriptors.h.

Referenced by Init(), and rating().

◆ s_vchipRatingsExists

bool DishEventVCHIPDescriptor::s_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: