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

#include <dsmcc.h>

Public Member Functions

 Dsmcc ()=default
 
 ~Dsmcc ()
 
void Reset ()
 
void ProcessSection (const unsigned char *data, int length, int componentTag, unsigned carouselId, int dataBroadcastId)
 
int GetDSMCCObject (QStringList &objectPath, QByteArray &result)
 
ObjCarouselAddTap (unsigned short componentTag, unsigned carouselId)
 Add a tap. More...
 

Protected Member Functions

void ProcessSectionIndication (const unsigned char *data, int length, unsigned short streamTag)
 
void ProcessSectionData (const unsigned char *data, int length)
 
void ProcessDownloadServerInitiate (const unsigned char *data, int length)
 Process a DSI message. More...
 
void ProcessDownloadInfoIndication (const unsigned char *data, unsigned short streamTag)
 
ObjCarouselGetCarouselById (unsigned int carouselId)
 Returns a carousel with the given ID. More...
 

Static Protected Member Functions

static void ProcessSectionDesc (const unsigned char *data, int length)
 
static bool ProcessSectionHeader (DsmccSectionHeader *header, const unsigned char *data, int length)
 

Protected Attributes

std::list< ObjCarousel * > m_carousels
 
unsigned short m_startTag {0}
 

Private Attributes

friend TestMhegDsmcc
 

Detailed Description

Definition at line 77 of file dsmcc.h.

Constructor & Destructor Documentation

◆ Dsmcc()

Dsmcc::Dsmcc ( )
default

◆ ~Dsmcc()

Dsmcc::~Dsmcc ( )
inline

Definition at line 82 of file dsmcc.h.

Member Function Documentation

◆ Reset()

void Dsmcc::Reset ( void  )

◆ ProcessSection()

void Dsmcc::ProcessSection ( const unsigned char *  data,
int  length,
int  componentTag,
unsigned  carouselId,
int  dataBroadcastId 
)

Definition at line 446 of file dsmcc.cpp.

Referenced by MHIContext::ProcessDSMCCQueue().

◆ GetDSMCCObject()

int Dsmcc::GetDSMCCObject ( QStringList &  objectPath,
QByteArray &  result 
)

◆ AddTap()

ObjCarousel * Dsmcc::AddTap ( unsigned short  componentTag,
unsigned  carouselId 
)

Add a tap.

This indicates the component tag of the stream that is to be used to receive subsequent messages for this carousel.

Returns
carousel for this ID.

Definition at line 57 of file dsmcc.cpp.

Referenced by ObjCarousel::AddModuleInfo(), BiopIor::AddTap(), ProcessDownloadServerInitiate(), and ProcessSection().

◆ ProcessSectionIndication()

void Dsmcc::ProcessSectionIndication ( const unsigned char *  data,
int  length,
unsigned short  streamTag 
)
protected

Definition at line 304 of file dsmcc.cpp.

Referenced by ProcessSection().

◆ ProcessSectionData()

void Dsmcc::ProcessSectionData ( const unsigned char *  data,
int  length 
)
protected

Definition at line 377 of file dsmcc.cpp.

Referenced by ProcessSection().

◆ ProcessSectionDesc()

void Dsmcc::ProcessSectionDesc ( const unsigned char *  data,
int  length 
)
staticprotected

Definition at line 437 of file dsmcc.cpp.

Referenced by ProcessSection().

◆ ProcessSectionHeader()

bool Dsmcc::ProcessSectionHeader ( DsmccSectionHeader header,
const unsigned char *  data,
int  length 
)
staticprotected

Definition at line 87 of file dsmcc.cpp.

Referenced by ProcessSectionData(), ProcessSectionDesc(), and ProcessSectionIndication().

◆ ProcessDownloadServerInitiate()

void Dsmcc::ProcessDownloadServerInitiate ( const unsigned char *  data,
int  length 
)
protected

Process a DSI message.

This may contain service gateway info. In the UK it is often the case that an object carousel is shared between different services. One PID carries all the messages for these services and the only difference is that a service-specific PID carries DSI messages identifying the root to be used for that service.

Definition at line 128 of file dsmcc.cpp.

Referenced by ProcessSectionIndication().

◆ ProcessDownloadInfoIndication()

void Dsmcc::ProcessDownloadInfoIndication ( const unsigned char *  data,
unsigned short  streamTag 
)
protected

Definition at line 238 of file dsmcc.cpp.

Referenced by ProcessSectionIndication().

◆ GetCarouselById()

ObjCarousel * Dsmcc::GetCarouselById ( unsigned int  carouselId)
protected

Returns a carousel with the given ID.

Definition at line 39 of file dsmcc.cpp.

Referenced by AddTap(), ProcessDownloadInfoIndication(), ProcessDownloadServerInitiate(), and ProcessSectionData().

Member Data Documentation

◆ TestMhegDsmcc

friend Dsmcc::TestMhegDsmcc
private

Definition at line 79 of file dsmcc.h.

◆ m_carousels

std::list<ObjCarousel*> Dsmcc::m_carousels
protected

Definition at line 114 of file dsmcc.h.

Referenced by AddTap(), GetCarouselById(), GetDSMCCObject(), ProcessSection(), and Reset().

◆ m_startTag

unsigned short Dsmcc::m_startTag {0}
protected

Definition at line 117 of file dsmcc.h.

Referenced by ProcessSection(), ProcessSectionIndication(), and Reset().


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