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

#include <libmythtv/mpeg/dvbdescriptors.h>

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

Public Types

enum  : std::uint8_t {
  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  : std::uint8_t { kHandOverIdentical = 0x01, kHandOverLocalVariation = 0x02, kHandOverAssociatedService = 0x03 }
 
enum  : std::uint8_t { 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 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
 

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

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 141 of file dvbdescriptors.h.

◆ anonymous enum

anonymous enum : std::uint8_t
Enumerator
kHandOverIdentical 
kHandOverLocalVariation 
kHandOverAssociatedService 

Definition at line 163 of file dvbdescriptors.h.

◆ anonymous enum

anonymous enum : std::uint8_t
Enumerator
kOriginNIT 
kOriginSDT 

Definition at line 173 of file dvbdescriptors.h.

Constructor & Destructor Documentation

◆ LinkageDescriptor()

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

Definition at line 101 of file dvbdescriptors.h.

Member Function Documentation

◆ TSID()

uint LinkageDescriptor::TSID ( void  ) const
inline

Definition at line 135 of file dvbdescriptors.h.

◆ OriginalNetworkID()

uint LinkageDescriptor::OriginalNetworkID ( ) const
inline

Definition at line 137 of file dvbdescriptors.h.

◆ ServiceID()

uint LinkageDescriptor::ServiceID ( void  ) const
inline

Definition at line 139 of file dvbdescriptors.h.

◆ LinkageType()

uint LinkageDescriptor::LinkageType ( void  ) const
inline

Definition at line 157 of file dvbdescriptors.h.

Referenced by LinkageDescriptor(), and LinkageTypeString().

◆ LinkageTypeString()

QString LinkageDescriptor::LinkageTypeString ( void  ) const

Definition at line 316 of file dvbdescriptors.cpp.

◆ MobileHandOverType()

uint LinkageDescriptor::MobileHandOverType ( void  ) const
inline

Definition at line 169 of file dvbdescriptors.h.

Referenced by HasMobileNetworkID(), and MobileHandOverTypeString().

◆ MobileHandOverTypeString()

QString LinkageDescriptor::MobileHandOverTypeString ( void  ) const

Definition at line 325 of file dvbdescriptors.cpp.

◆ MobileOriginType()

uint LinkageDescriptor::MobileOriginType ( void  ) const
inline

Definition at line 178 of file dvbdescriptors.h.

Referenced by HasMobileInitialServiceID().

◆ MobileOriginTypeString()

QString LinkageDescriptor::MobileOriginTypeString ( void  ) const

◆ HasMobileNetworkID()

bool LinkageDescriptor::HasMobileNetworkID ( void  ) const
inline

Definition at line 183 of file dvbdescriptors.h.

Referenced by LinkageDescriptor(), and MobileInitialServiceID().

◆ MobileNetworkID()

uint LinkageDescriptor::MobileNetworkID ( void  ) const
inline

Definition at line 185 of file dvbdescriptors.h.

◆ HasMobileInitialServiceID()

bool LinkageDescriptor::HasMobileInitialServiceID ( void  ) const
inline

Definition at line 188 of file dvbdescriptors.h.

Referenced by LinkageDescriptor().

◆ MobileInitialServiceID()

uint LinkageDescriptor::MobileInitialServiceID ( void  ) const
inline

Definition at line 190 of file dvbdescriptors.h.

◆ TargetEventID()

uint LinkageDescriptor::TargetEventID ( void  ) const
inline

Definition at line 199 of file dvbdescriptors.h.

◆ IsTargetListed()

bool LinkageDescriptor::IsTargetListed ( void  ) const
inline

Definition at line 201 of file dvbdescriptors.h.

◆ IsEventSimulcast()

bool LinkageDescriptor::IsEventSimulcast ( void  ) const
inline

Definition at line 203 of file dvbdescriptors.h.

◆ PrivateData()

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

Definition at line 208 of file dvbdescriptors.h.

◆ PrivateDataLength()

uint LinkageDescriptor::PrivateDataLength ( void  ) const
inline

Definition at line 210 of file dvbdescriptors.h.

Member Data Documentation

◆ m_offset

uint LinkageDescriptor::m_offset
private

Definition at line 214 of file dvbdescriptors.h.

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


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