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

#include <recordingquality.h>

Collaboration diagram for RecordingQuality:
Collaboration graph
[legend]

Public Member Functions

 RecordingQuality (const RecordingInfo *ri, RecordingGaps rg)
 
 RecordingQuality (const RecordingInfo *ri, RecordingGaps rg, const QDateTime &firstData, const QDateTime &latestData)
 
void AddTSStatistics (int continuity_error_count, int packet_count)
 
bool IsDamaged (void) const
 
QString toStringXML (void) const
 

Private Attributes

int m_continuityErrorCount {0}
 
int m_packetCount {0}
 
QString m_programKey
 
double m_overallScore {1.0}
 
RecordingGaps m_recordingGaps
 

Detailed Description

Definition at line 34 of file recordingquality.h.

Constructor & Destructor Documentation

◆ RecordingQuality() [1/2]

RecordingQuality::RecordingQuality ( const RecordingInfo ri,
RecordingGaps  rg 
)

Definition at line 17 of file recordingquality.cpp.

◆ RecordingQuality() [2/2]

RecordingQuality::RecordingQuality ( const RecordingInfo ri,
RecordingGaps  rg,
const QDateTime &  firstData,
const QDateTime &  latestData 
)

Definition at line 33 of file recordingquality.cpp.

Member Function Documentation

◆ AddTSStatistics()

void RecordingQuality::AddTSStatistics ( int  continuity_error_count,
int  packet_count 
)

Definition at line 89 of file recordingquality.cpp.

Referenced by DTVRecorder::GetRecordingQuality().

◆ IsDamaged()

bool RecordingQuality::IsDamaged ( void  ) const

◆ toStringXML()

QString RecordingQuality::toStringXML ( void  ) const

Definition at line 115 of file recordingquality.cpp.

Referenced by TVRec::FinishedRecording().

Member Data Documentation

◆ m_continuityErrorCount

int RecordingQuality::m_continuityErrorCount {0}
private

Definition at line 48 of file recordingquality.h.

Referenced by AddTSStatistics(), and toStringXML().

◆ m_packetCount

int RecordingQuality::m_packetCount {0}
private

Definition at line 49 of file recordingquality.h.

Referenced by AddTSStatistics(), and toStringXML().

◆ m_programKey

QString RecordingQuality::m_programKey
private

Definition at line 50 of file recordingquality.h.

Referenced by RecordingQuality(), and toStringXML().

◆ m_overallScore

double RecordingQuality::m_overallScore {1.0}
private

Definition at line 51 of file recordingquality.h.

Referenced by AddTSStatistics(), IsDamaged(), RecordingQuality(), and toStringXML().

◆ m_recordingGaps

RecordingGaps RecordingQuality::m_recordingGaps
private

Definition at line 52 of file recordingquality.h.

Referenced by RecordingQuality(), and toStringXML().


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