MythTV  master
Public Types | Public Member Functions | Private Attributes | List of all members
LinkageDescriptor Class Reference

#include <dvbdescriptors.h>

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

Public Types

enum  {
  kInformationService = 0x01, kEPGService = 0x02, kCAReplacementService = 0x03, kTSContainingCompleteNetworkBouquetSI = 0x04,
  kServiceReplacementService = 0x05, kDataBroadcastService = 0x06, kRCSMap = 0x07, kMobileHandOver = 0x08,
  kSystemSoftwareUpdateService = 0x09, kTSContaining_SSU_BAT_NIT = 0x0A, kIP_MACNotificationService = 0x0B, kTSContaining_INT_BAT_NIT = 0x0C,
  kEventLinkage = 0x0D
}
 
enum  { kHandOverIdentical = 0x01, kHandOverLocalVariation = 0x02, kHandOverAssociatedService = 0x03 }
 
enum  { kOriginNIT = 0x0, kOriginSDT = 0x1 }
 

Public Member Functions

 LinkageDescriptor (const unsigned char *data, int len=300)
 
uint TSID (void) const
 
uint OriginalNetworkID () const
 
uint ServiceID (void) const
 
uint LinkageType (void) const
 
QString LinkageTypeString (void) const
 
uint MobileHandOverType (void) const
 
QString MobileHandOverTypeString (void) const
 
uint MobileOriginType (void) const
 
QString MobileOriginTypeString (void) const
 
bool HasMobileNetworkID (void) const
 
uint MobileNetworkID (void) const
 
bool HasMobileInitialServiceID (void) const
 
uint MobileInitialServiceID (void) const
 
uint TargetEventID (void) const
 
bool IsTargetListed (void) const
 
bool IsEventSimulcast (void) const
 
const unsigned char * PrivateData (void) const
 
uint PrivateDataLength (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
 

Private Attributes

uint m_offset
 

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 86 of file dvbdescriptors.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kInformationService 
kEPGService 
kCAReplacementService 
kTSContainingCompleteNetworkBouquetSI 
kServiceReplacementService 
kDataBroadcastService 
kRCSMap 
kMobileHandOver 
kSystemSoftwareUpdateService 
kTSContaining_SSU_BAT_NIT 
kIP_MACNotificationService 
kTSContaining_INT_BAT_NIT 
kEventLinkage 

Definition at line 129 of file dvbdescriptors.h.

◆ anonymous enum

anonymous enum
Enumerator
kHandOverIdentical 
kHandOverLocalVariation 
kHandOverAssociatedService 

Definition at line 151 of file dvbdescriptors.h.

◆ anonymous enum

anonymous enum
Enumerator
kOriginNIT 
kOriginSDT 

Definition at line 161 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ LinkageDescriptor()

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

Definition at line 89 of file dvbdescriptors.h.

Member Function Documentation

◆ TSID()

uint LinkageDescriptor::TSID ( void  ) const
inline

Definition at line 123 of file dvbdescriptors.h.

◆ OriginalNetworkID()

uint LinkageDescriptor::OriginalNetworkID ( ) const
inline

Definition at line 125 of file dvbdescriptors.h.

◆ ServiceID()

uint LinkageDescriptor::ServiceID ( void  ) const
inline

Definition at line 127 of file dvbdescriptors.h.

◆ LinkageType()

uint LinkageDescriptor::LinkageType ( void  ) const
inline

Definition at line 145 of file dvbdescriptors.h.

Referenced by LinkageDescriptor(), and LinkageTypeString().

◆ LinkageTypeString()

QString LinkageDescriptor::LinkageTypeString ( void  ) const

Definition at line 247 of file dvbdescriptors.cpp.

◆ MobileHandOverType()

uint LinkageDescriptor::MobileHandOverType ( void  ) const
inline

Definition at line 157 of file dvbdescriptors.h.

Referenced by HasMobileNetworkID(), and MobileHandOverTypeString().

◆ MobileHandOverTypeString()

QString LinkageDescriptor::MobileHandOverTypeString ( void  ) const

Definition at line 256 of file dvbdescriptors.cpp.

◆ MobileOriginType()

uint LinkageDescriptor::MobileOriginType ( void  ) const
inline

Definition at line 166 of file dvbdescriptors.h.

Referenced by HasMobileInitialServiceID().

◆ MobileOriginTypeString()

QString LinkageDescriptor::MobileOriginTypeString ( void  ) const

◆ HasMobileNetworkID()

bool LinkageDescriptor::HasMobileNetworkID ( void  ) const
inline

Definition at line 171 of file dvbdescriptors.h.

Referenced by LinkageDescriptor(), and MobileInitialServiceID().

◆ MobileNetworkID()

uint LinkageDescriptor::MobileNetworkID ( void  ) const
inline

Definition at line 173 of file dvbdescriptors.h.

◆ HasMobileInitialServiceID()

bool LinkageDescriptor::HasMobileInitialServiceID ( void  ) const
inline

Definition at line 176 of file dvbdescriptors.h.

Referenced by LinkageDescriptor().

◆ MobileInitialServiceID()

uint LinkageDescriptor::MobileInitialServiceID ( void  ) const
inline

Definition at line 178 of file dvbdescriptors.h.

◆ TargetEventID()

uint LinkageDescriptor::TargetEventID ( void  ) const
inline

Definition at line 187 of file dvbdescriptors.h.

◆ IsTargetListed()

bool LinkageDescriptor::IsTargetListed ( void  ) const
inline

Definition at line 189 of file dvbdescriptors.h.

◆ IsEventSimulcast()

bool LinkageDescriptor::IsEventSimulcast ( void  ) const
inline

Definition at line 191 of file dvbdescriptors.h.

◆ PrivateData()

const unsigned char* LinkageDescriptor::PrivateData ( void  ) const
inline

Definition at line 196 of file dvbdescriptors.h.

◆ PrivateDataLength()

uint LinkageDescriptor::PrivateDataLength ( void  ) const
inline

Definition at line 198 of file dvbdescriptors.h.

Member Data Documentation

◆ m_offset

uint LinkageDescriptor::m_offset
private

Definition at line 202 of file dvbdescriptors.h.

Referenced by LinkageDescriptor(), PrivateData(), and PrivateDataLength().


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