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

Collects statistics on the number of TSPacket's seen on each PID. More...

#include <tsstats.h>

Public Member Functions

 TSStats ()
void IncrPIDCount (int pid)
void IncrTSPacketCount ()
long long TSPacketCount ()
void Reset ()
QString toString ()

Private Attributes

long long _tspacket_count
QMap< int, long long > _pid_counts

Detailed Description

Collects statistics on the number of TSPacket's seen on each PID.

See also
TSPacket, HDTVRecorder

Definition at line 14 of file tsstats.h.

Constructor & Destructor Documentation

◆ TSStats()

TSStats::TSStats ( )

Definition at line 17 of file tsstats.h.

Member Function Documentation

◆ IncrPIDCount()

void TSStats::IncrPIDCount ( int  pid)

Definition at line 18 of file tsstats.h.

◆ IncrTSPacketCount()

void TSStats::IncrTSPacketCount ( )

Definition at line 19 of file tsstats.h.

◆ TSPacketCount()

long long TSStats::TSPacketCount ( )

Definition at line 20 of file tsstats.h.

◆ Reset()

void TSStats::Reset ( )

Definition at line 21 of file tsstats.h.

◆ toString()

QString TSStats::toString ( )

Definition at line 28 of file tsstats.h.

Member Data Documentation

◆ _tspacket_count

long long TSStats::_tspacket_count

Definition at line 24 of file tsstats.h.

Referenced by IncrTSPacketCount(), Reset(), toString(), and TSPacketCount().

◆ _pid_counts

QMap<int, long long> TSStats::_pid_counts

Definition at line 25 of file tsstats.h.

Referenced by IncrPIDCount(), Reset(), and toString().

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