MythTV  master
Public Member Functions | Protected Member Functions | Protected 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 ProcessSectionDesc (const unsigned char *data, int length)
 
bool ProcessSectionHeader (DsmccSectionHeader *header, 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...
 

Protected Attributes

QLinkedList< ObjCarousel * > m_carousels
 
unsigned short m_startTag {0}
 

Detailed Description

Definition at line 75 of file dsmcc.h.

Constructor & Destructor Documentation

◆ Dsmcc()

Dsmcc::Dsmcc ( )
default

◆ ~Dsmcc()

Dsmcc::~Dsmcc ( )
inline

Definition at line 79 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 447 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 60 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 307 of file dsmcc.cpp.

Referenced by ProcessSection().

◆ ProcessSectionData()

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

Definition at line 380 of file dsmcc.cpp.

Referenced by ProcessSection().

◆ ProcessSectionDesc()

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

Definition at line 438 of file dsmcc.cpp.

Referenced by ProcessSection().

◆ ProcessSectionHeader()

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

Definition at line 90 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 131 of file dsmcc.cpp.

Referenced by ProcessSectionIndication().

◆ ProcessDownloadInfoIndication()

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

Definition at line 241 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

◆ m_carousels

QLinkedList<ObjCarousel*> Dsmcc::m_carousels
protected

Definition at line 111 of file dsmcc.h.

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

◆ m_startTag

unsigned short Dsmcc::m_startTag {0}
protected

Definition at line 114 of file dsmcc.h.

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


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