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

#include <dvbtables.h>

Inheritance diagram for DVBEventInformationTable:
Inheritance graph
[legend]
Collaboration diagram for DVBEventInformationTable:
Collaboration graph
[legend]

Public Member Functions

 DVBEventInformationTable (const PSIPTable &table)
 
uint ServiceID (void) const
 
uint TSID (void) const
 
uint OriginalNetworkID (void) const
 
uint SegmentLastSectionNumber (void) const
 
uint LastTableID (void) const
 
uint EventCount () const
 
uint EventID (uint i) const
 
const unsigned char * StartTime (uint i) const
 
QDateTime StartTimeUTC (uint i) const
 
time_t StartTimeUnixUTC (uint i) const
 
time_t EndTimeUnixUTC (uint i) const
 
uint32_t StartTimeKey (uint i) const
 
const unsigned char * Duration (uint i) const
 
uint DurationInSeconds (uint i) const
 
uint RunningStatus (uint i) const
 
bool IsScrambled (uint i) const
 
uint DescriptorsLength (uint i) const
 
const unsigned char * Descriptors (uint i) const
 
void Parse (void) const
 
- Public Member Functions inherited from PSIPTable
 PSIPTable (const TSPacket &tspacket, const unsigned char *pesdata, uint pes_size)
 
 PSIPTable (const unsigned char *pesdata)
 Constructor for viewing a section, does not create it's own data. More...
 
 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 override
 1 bit Cyclic Redundancy Check present More...
 
bool HasSectionNumber (void) const
 
bool VerifyPSIP (bool verify_crc) const
 
virtual QString toString (void) const
 
virtual QString toStringXML (uint indent_level) const
 
- Public Member Functions inherited from PESPacket
 PESPacket (const unsigned char *pesdata)
 
 PESPacket (const PESPacket &pkt)
 
virtual ~PESPacket ()
 
bool IsClone () const
 
bool AddTSPacket (const TSPacket *tspacket, bool &broken)
 
bool IsGood () const
 
const TSHeadertsheader () const
 
TSHeadertsheader ()
 
void GetAsTSPackets (vector< TSPacket > &output, uint cc) const
 Returns payload only PESPacket as series of TSPackets. More...
 
uint StreamID () const
 
uint Length () const
 
uint ScramblingControl () const
 
bool HighPriority () const
 1 bit Indicates if this is a high priority packet More...
 
bool DataAligned () const
 1 bit Data alignment indicator (must be 0 for video) More...
 
bool CopyRight () const
 1 bit If true packet may contain copy righted material and is known to have once contained materiale with copy rights. More...
 
bool OriginalRecording () const
 1 bit Original Recording More...
 
bool HasPTS () const
 1 bit Presentation Time Stamp field is present More...
 
bool HasDTS () const
 1 bit Decoding Time Stamp field is present More...
 
bool HasESCR () const
 1 bit Elementary Stream Clock Reference field is present More...
 
bool HasESR () const
 1 bit Elementary Stream Rate field is present More...
 
bool HasDSM () const
 1 bit DSM field present (should always be false for broadcasts) More...
 
bool HasACI () const
 1 bit Additional Copy Info field is present More...
 
bool HasExtensionFlags () const
 1 bit Extension flags are present More...
 
uint64_t PTS (void) const
 Presentation Time Stamp, present if HasPTS() is true. More...
 
uint64_t DTS (void) const
 Decode Time Stamp, present if HasDTS() is true. More...
 
uint TSSizeInBuffer () const
 
uint PSIOffset () const
 
const unsigned char * pesdata () const
 
unsigned char * pesdata ()
 
const unsigned char * data () const
 
unsigned char * data ()
 
void SetStreamID (uint id)
 
void SetLength (uint len)
 
void SetTotalLength (uint len)
 
void SetPSIOffset (uint offset)
 
uint CRC (void) const
 
void SetCRC (uint crc)
 
uint CalcCRC (void) const
 
bool VerifyCRC (void) const
 

Static Public Member Functions

static bool IsEIT (uint table_id)
 
- Static Public Member Functions inherited from PSIPTable
static const PSIPTable View (const TSPacket &tspacket)
 
static PSIPTable View (TSPacket &tspacket)
 
static const PSIPTable ViewData (const unsigned char *pesdata)
 

Private Attributes

vector< const unsigned char * > _ptrs
 

Additional Inherited Members

- Static Public Attributes inherited from PSIPTable
static const uint PSIP_OFFSET = 8
 
- Protected Member Functions inherited from PSIPTable
 PSIPTable (const TSPacket &tspacket, bool)
 
QString XMLValues (uint indent_level) const
 
- Protected Member Functions inherited from PESPacket
 PESPacket ()
 noop constructor, only for use by derived classes More...
 
void Finalize ()
 
- Protected Attributes inherited from PESPacket
unsigned char * _pesdata
 Pointer to PES data in full buffer. More...
 
unsigned char * _fullbuffer
 Pointer to allocated data. More...
 
uint _psiOffset
 AFCOffset + StartOfFieldPointer. More...
 
uint _ccLast
 Continuity counter of last inserted TS Packet. More...
 
uint _pesdataSize
 Number of data bytes (TS header + PES data) More...
 
uint _allocSize
 Total number of bytes we allocated. More...
 
bool _badPacket
 true if a CRC is not good yet More...
 
- Static Protected Attributes inherited from PESPacket
static const uint kTheMagicNoCRCCRC = 0xFFFFFFFF
 

Detailed Description

Definition at line 285 of file dvbtables.h.

Constructor & Destructor Documentation

◆ DVBEventInformationTable()

DVBEventInformationTable::DVBEventInformationTable ( const PSIPTable table)
inlineexplicit

Definition at line 288 of file dvbtables.h.

Member Function Documentation

◆ ServiceID()

uint DVBEventInformationTable::ServiceID ( void  ) const
inline

Definition at line 305 of file dvbtables.h.

Referenced by EITHelper::AddEIT().

◆ TSID()

uint DVBEventInformationTable::TSID ( void  ) const
inline

Definition at line 308 of file dvbtables.h.

Referenced by EITHelper::AddEIT().

◆ OriginalNetworkID()

uint DVBEventInformationTable::OriginalNetworkID ( void  ) const
inline

Definition at line 312 of file dvbtables.h.

Referenced by EITHelper::AddEIT().

◆ SegmentLastSectionNumber()

uint DVBEventInformationTable::SegmentLastSectionNumber ( void  ) const
inline

Definition at line 316 of file dvbtables.h.

◆ LastTableID()

uint DVBEventInformationTable::LastTableID ( void  ) const
inline

Definition at line 319 of file dvbtables.h.

◆ EventCount()

uint DVBEventInformationTable::EventCount ( ) const
inline

Definition at line 322 of file dvbtables.h.

Referenced by EITHelper::AddEIT().

◆ EventID()

uint DVBEventInformationTable::EventID ( uint  i) const
inline

Definition at line 326 of file dvbtables.h.

Referenced by EITHelper::AddEIT().

◆ StartTime()

const unsigned char* DVBEventInformationTable::StartTime ( uint  i) const
inline

Definition at line 329 of file dvbtables.h.

◆ StartTimeUTC()

QDateTime DVBEventInformationTable::StartTimeUTC ( uint  i) const
inline

Definition at line 331 of file dvbtables.h.

Referenced by EITHelper::AddEIT().

◆ StartTimeUnixUTC()

time_t DVBEventInformationTable::StartTimeUnixUTC ( uint  i) const
inline

Definition at line 333 of file dvbtables.h.

◆ EndTimeUnixUTC()

time_t DVBEventInformationTable::EndTimeUnixUTC ( uint  i) const
inline

Definition at line 335 of file dvbtables.h.

Referenced by EITHelper::AddEIT().

◆ StartTimeKey()

uint32_t DVBEventInformationTable::StartTimeKey ( uint  i) const
inline

Definition at line 337 of file dvbtables.h.

◆ Duration()

const unsigned char* DVBEventInformationTable::Duration ( uint  i) const
inline

Definition at line 340 of file dvbtables.h.

◆ DurationInSeconds()

uint DVBEventInformationTable::DurationInSeconds ( uint  i) const
inline

Definition at line 342 of file dvbtables.h.

Referenced by EITHelper::AddEIT().

◆ RunningStatus()

uint DVBEventInformationTable::RunningStatus ( uint  i) const
inline

Definition at line 349 of file dvbtables.h.

◆ IsScrambled()

bool DVBEventInformationTable::IsScrambled ( uint  i) const
inline

Definition at line 351 of file dvbtables.h.

◆ DescriptorsLength()

uint DVBEventInformationTable::DescriptorsLength ( uint  i) const
inline

Definition at line 353 of file dvbtables.h.

Referenced by EITHelper::AddEIT(), and Parse().

◆ Descriptors()

const unsigned char* DVBEventInformationTable::Descriptors ( uint  i) const
inline

Definition at line 357 of file dvbtables.h.

Referenced by EITHelper::AddEIT().

◆ Parse()

void DVBEventInformationTable::Parse ( void  ) const

Definition at line 253 of file dvbtables.cpp.

◆ IsEIT()

bool DVBEventInformationTable::IsEIT ( uint  table_id)
static

Definition at line 265 of file dvbtables.cpp.

Referenced by DVBStreamData::HandleTables().

Member Data Documentation

◆ _ptrs

vector<const unsigned char*> DVBEventInformationTable::_ptrs
mutableprivate

Definition at line 367 of file dvbtables.h.

Referenced by Parse().


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