MythTV
master
|
#include <libmythtv/mheg/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) |
ObjCarousel * | AddTap (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) |
ObjCarousel * | GetCarouselById (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 |
|
default |
void Dsmcc::Reset | ( | ) |
Definition at line 541 of file dsmcc.cpp.
Referenced by MHIContext::NetworkBootRequested(), MHIContext::Restart(), MHIContext::SetNetBootInfo(), and ~Dsmcc().
void Dsmcc::ProcessSection | ( | const unsigned char * | data, |
int | length, | ||
int | componentTag, | ||
unsigned | carouselId, | ||
int | dataBroadcastId | ||
) |
Definition at line 451 of file dsmcc.cpp.
Referenced by MHIContext::ProcessDSMCCQueue().
int Dsmcc::GetDSMCCObject | ( | QStringList & | objectPath, |
QByteArray & | result | ||
) |
Definition at line 550 of file dsmcc.cpp.
Referenced by MHIContext::CheckCarouselObject(), MHIContext::GetCarouselData(), and MHIContext::GetDSMCCObject().
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.
Definition at line 61 of file dsmcc.cpp.
Referenced by ObjCarousel::AddModuleInfo(), BiopIor::AddTap(), ProcessDownloadServerInitiate(), and ProcessSection().
|
protected |
Definition at line 309 of file dsmcc.cpp.
Referenced by ProcessSection().
|
protected |
Definition at line 382 of file dsmcc.cpp.
Referenced by ProcessSection().
|
staticprotected |
Definition at line 442 of file dsmcc.cpp.
Referenced by ProcessSection().
|
staticprotected |
Definition at line 91 of file dsmcc.cpp.
Referenced by ProcessSectionData(), ProcessSectionDesc(), and ProcessSectionIndication().
|
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 132 of file dsmcc.cpp.
Referenced by ProcessSectionIndication().
|
protected |
Definition at line 243 of file dsmcc.cpp.
Referenced by ProcessSectionIndication().
|
protected |
Returns a carousel with the given ID.
Definition at line 43 of file dsmcc.cpp.
Referenced by AddTap(), ProcessDownloadInfoIndication(), ProcessDownloadServerInitiate(), and ProcessSectionData().
|
protected |
Definition at line 114 of file dsmcc.h.
Referenced by AddTap(), GetCarouselById(), GetDSMCCObject(), ProcessSection(), and Reset().
|
protected |
Definition at line 117 of file dsmcc.h.
Referenced by ProcessSection(), ProcessSectionIndication(), and Reset().