PSIPTable Class Reference

A PSIP table is a special type of PES packet containing an MPEG, ATSC, or DVB table. More...

#include <mpegtables.h>

Inheritance diagram for PSIPTable:
PESPacket AggregateDataEventTable AggregateEventInformationTable AggregateExtendedTextTable BouquetAssociationTable ConditionalAccessTable DirectedChannelChangeSelectionCodeTable DirectedChannelChangeTable DiscontinuityInformationTable DVBEventInformationTable EventInformationTable ExtendedTextTable MasterGuideTable NetworkInformationTable NetworkTextTable PremiereContentInformationTable PremiereContentPresentationTable ProgramAssociationTable ProgramInformationMessageTable ProgramMapTable ProgramNameMessageTable RatingRegionTable SCTENetworkInformationTable SCTESystemTimeTable SelectionInformationTable ServiceDescriptionTable ShortVirtualChannelTable SpliceInformationTable SystemTimeTable TimeDateTable VirtualChannelTable

List of all members.

Public Member Functions

 PSIPTable (const PSIPTable &table)
 PSIPTable (const PESPacket &table)
 PSIPTable (const TSPacket &table)
uint TableID (void) const
bool SectionSyntaxIndicator (void) const
bool PrivateIndicator (void) const
uint SectionLength (void) const
uint TableIDExtension (void) const
uint Version (void) const
bool IsCurrent (void) const
uint Section (void) const
uint LastSection (void) const
uint ATSCProtocolVersion (void) const
const unsigned char * psipdata (void) const
unsigned char * psipdata (void)
void SetTableID (uint id)
void SetSectionLength (uint length)
void SetTableIDExtension (uint len)
void SetVersionNumber (uint ver)
void SetCurrent (bool cur)
void SetSection (uint num)
void SetLastSection (uint num)
void SetATSCProtocolVersion (int ver)
bool HasCRC (void) const
 1 bit Cyclic Redundancy Check present
bool HasSectionNumber (void) const
bool VerifyPSIP (bool verify_crc) const
virtual QString toString (void) const
virtual QString toStringXML (uint indent_level) const

Static Public Member Functions

static const PSIPTable View (const TSPacket &tspacket)
static PSIPTable View (TSPacket &tspacket)

Static Public Attributes

static const uint PSIP_OFFSET = 8

Protected Member Functions

QString XMLValues (uint indent_level) const

Private Member Functions

 PSIPTable (const PESPacket &pkt, bool)

Detailed Description

A PSIP table is a special type of PES packet containing an MPEG, ATSC, or DVB table.

Definition at line 356 of file mpegtables.h.


Constructor & Destructor Documentation

PSIPTable::PSIPTable ( const PESPacket pkt,
bool   
) [inline, private]

Definition at line 360 of file mpegtables.h.

PSIPTable::PSIPTable ( const PSIPTable table  )  [inline]

Definition at line 364 of file mpegtables.h.

PSIPTable::PSIPTable ( const PESPacket table  )  [inline]

Definition at line 369 of file mpegtables.h.

PSIPTable::PSIPTable ( const TSPacket table  )  [inline]

Definition at line 374 of file mpegtables.h.


Member Function Documentation

static const PSIPTable PSIPTable::View ( const TSPacket tspacket  )  [inline, static]

Reimplemented from PESPacket.

Definition at line 381 of file mpegtables.h.

Referenced by ProgramMapTable::CreateBlank(), ProgramAssociationTable::CreateBlank(), and return_4096_block().

static PSIPTable PSIPTable::View ( TSPacket tspacket  )  [inline, static]

Reimplemented from PESPacket.

Definition at line 384 of file mpegtables.h.

uint PSIPTable::TableID ( void   )  const [inline]

Definition at line 390 of file mpegtables.h.

Referenced by EITHelper::AddEIT(), AggregateDataEventTable::AggregateDataEventTable(), AggregateEventInformationTable::AggregateEventInformationTable(), AggregateExtendedTextTable::AggregateExtendedTextTable(), BouquetAssociationTable::BouquetAssociationTable(), CableVirtualChannelTable::CableVirtualChannelTable(), ConditionalAccessTable::ConditionalAccessTable(), MPEGStreamData::DeleteCachedTable(), DVBStreamData::DeleteCachedTable(), ATSCStreamData::DeleteCachedTable(), DirectedChannelChangeSelectionCodeTable::DirectedChannelChangeSelectionCodeTable(), DirectedChannelChangeTable::DirectedChannelChangeTable(), DVBEventInformationTable::DVBEventInformationTable(), EventInformationTable::EventInformationTable(), ExtendedTextTable::ExtendedTextTable(), MPEGStreamData::HandleTables(), DVBStreamData::HandleTables(), ATSCStreamData::HandleTables(), MPEGStreamData::HandleTSTables(), HasCRC(), HasSectionNumber(), insert_crc(), ScanStreamData::IsRedundant(), MPEGStreamData::IsRedundant(), DVBStreamData::IsRedundant(), ATSCStreamData::IsRedundant(), MasterGuideTable::MasterGuideTable(), ServiceDescriptionTable::Mutate(), NetworkInformationTable::NetworkInformationTable(), NetworkTextTable::NetworkTextTable(), SpliceInformationTable::Parse(), PremiereContentInformationTable::PremiereContentInformationTable(), ProgramAssociationTable::ProgramAssociationTable(), ProgramInformationMessageTable::ProgramInformationMessageTable(), ProgramMapTable::ProgramMapTable(), ProgramNameMessageTable::ProgramNameMessageTable(), RatingRegionTable::RatingRegionTable(), return_4096_block(), SCTENetworkInformationTable::SCTENetworkInformationTable(), SCTESystemTimeTable::SCTESystemTimeTable(), ServiceDescriptionTable::ServiceDescriptionTable(), ShortVirtualChannelTable::ShortVirtualChannelTable(), SpliceInformationTable::SpliceInformationTable(), SystemTimeTable::SystemTimeTable(), TerrestrialVirtualChannelTable::TerrestrialVirtualChannelTable(), TimeDateTable::TimeDateTable(), toString(), VirtualChannelTable::toString(), VirtualChannelTable::toStringXML(), VerifyPSIP(), VirtualChannelTable::VirtualChannelTable(), and XMLValues().

bool PSIPTable::SectionSyntaxIndicator ( void   )  const [inline]

Definition at line 393 of file mpegtables.h.

Referenced by DVBStreamHandler::RunSR().

bool PSIPTable::PrivateIndicator ( void   )  const [inline]

Definition at line 395 of file mpegtables.h.

uint PSIPTable::SectionLength ( void   )  const [inline]
uint PSIPTable::TableIDExtension ( void   )  const [inline]
uint PSIPTable::Version ( void   )  const [inline]
bool PSIPTable::IsCurrent ( void   )  const [inline]
uint PSIPTable::Section ( void   )  const [inline]
uint PSIPTable::LastSection ( void   )  const [inline]
uint PSIPTable::ATSCProtocolVersion ( void   )  const [inline]

Definition at line 430 of file mpegtables.h.

Referenced by toString(), and XMLValues().

const unsigned char* PSIPTable::psipdata ( void   )  const [inline]
unsigned char* PSIPTable::psipdata ( void   )  [inline]

Definition at line 435 of file mpegtables.h.

void PSIPTable::SetTableID ( uint  id  )  [inline]

Definition at line 439 of file mpegtables.h.

Referenced by ServiceDescriptionTable::Mutate().

void PSIPTable::SetSectionLength ( uint  length  )  [inline]

Definition at line 442 of file mpegtables.h.

void PSIPTable::SetTableIDExtension ( uint  len  )  [inline]
void PSIPTable::SetVersionNumber ( uint  ver  )  [inline]

Definition at line 448 of file mpegtables.h.

void PSIPTable::SetCurrent ( bool  cur  )  [inline]

Definition at line 450 of file mpegtables.h.

void PSIPTable::SetSection ( uint  num  )  [inline]

Definition at line 452 of file mpegtables.h.

void PSIPTable::SetLastSection ( uint  num  )  [inline]

Definition at line 453 of file mpegtables.h.

void PSIPTable::SetATSCProtocolVersion ( int  ver  )  [inline]

Definition at line 456 of file mpegtables.h.

bool PSIPTable::HasCRC ( void   )  const [virtual]

1 bit Cyclic Redundancy Check present

Reimplemented from PESPacket.

Definition at line 78 of file mpegtables.cpp.

Referenced by MPEGStreamData::HandleTSTables().

bool PSIPTable::HasSectionNumber ( void   )  const

Definition at line 185 of file mpegtables.cpp.

Referenced by XMLValues().

bool PSIPTable::VerifyPSIP ( bool  verify_crc  )  const

Definition at line 211 of file mpegtables.cpp.

Referenced by MPEGStreamData::HandleTSTables().

QString PSIPTable::toString ( void   )  const [virtual]
QString PSIPTable::toStringXML ( uint  indent_level  )  const [virtual]
QString PSIPTable::XMLValues ( uint  indent_level  )  const [protected]

Member Data Documentation

const uint PSIPTable::PSIP_OFFSET = 8 [static]

Definition at line 466 of file mpegtables.h.

Referenced by ProgramAssociationTable::Create(), and VerifyPSIP().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:42:20 2012 for MythTV by  doxygen 1.6.3