Dsmcc Class Reference

#include <dsmcc.h>

List of all members.


Detailed Description

Definition at line 75 of file dsmcc.h.


Public Member Functions

 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.

Protected Member Functions

void ProcessSectionIndication (const unsigned char *data, int Lstartength, unsigned short streamTag)
void ProcessSectionData (const unsigned char *data, int length)
void ProcessSectionDesc (const unsigned char *data, int length)
bool ProcessSectionHeader (DsmccSectionHeader *pSection, const unsigned char *data, int length)
void ProcessDownloadServerInitiate (const unsigned char *data, int length)
 Process a DSI message.
void ProcessDownloadInfoIndication (const unsigned char *data, unsigned short streamTag)
ObjCarouselGetCarouselById (unsigned int carId)
 Returns a carousel with the given ID.

Protected Attributes

QPtrList< ObjCarouselcarousels
unsigned short m_startTag

Constructor & Destructor Documentation

Dsmcc::Dsmcc (  ) 

Definition at line 36 of file dsmcc.cpp.


Member Function Documentation

void Dsmcc::Reset ( void   ) 

Definition at line 465 of file dsmcc.cpp.

Referenced by MHIContext::NetworkBootRequested(), and MHIContext::Restart().

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

Definition at line 383 of file dsmcc.cpp.

Referenced by MHIContext::ProcessDSMCCQueue().

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

Definition at line 471 of file dsmcc.cpp.

Referenced by MHIContext::CheckCarouselObject(), and MHIContext::GetCarouselData().

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 66 of file dsmcc.cpp.

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

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

Definition at line 277 of file dsmcc.cpp.

Referenced by ProcessSection().

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

Definition at line 338 of file dsmcc.cpp.

Referenced by ProcessSection().

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

Definition at line 374 of file dsmcc.cpp.

Referenced by ProcessSection().

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

Definition at line 98 of file dsmcc.cpp.

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

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 140 of file dsmcc.cpp.

Referenced by ProcessSectionIndication().

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

Definition at line 206 of file dsmcc.cpp.

Referenced by ProcessSectionIndication().

ObjCarousel * Dsmcc::GetCarouselById ( unsigned int  carId  )  [protected]

Returns a carousel with the given ID.

Definition at line 45 of file dsmcc.cpp.

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


Member Data Documentation

QPtrList<ObjCarousel> Dsmcc::carousels [protected]

Definition at line 110 of file dsmcc.h.

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

unsigned short Dsmcc::m_startTag [protected]

Definition at line 113 of file dsmcc.h.

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


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

Generated on Sat Dec 18 05:16:01 2010 for MythTV by  doxygen 1.5.5