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

#include <recordingquality.h>

Public Member Functions

 RecordingQuality (const RecordingInfo *ri, const RecordingGaps &rg)
 
 RecordingQuality (const RecordingInfo *, const RecordingGaps &, 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_continuity_error_count {0}
 
int m_packet_count {0}
 
QString m_program_key
 
double m_overall_score {1.0}
 
RecordingGaps m_recording_gaps
 

Detailed Description

Definition at line 32 of file recordingquality.h.

Constructor & Destructor Documentation

◆ RecordingQuality() [1/2]

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

Definition at line 15 of file recordingquality.cpp.

◆ RecordingQuality() [2/2]

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

Definition at line 31 of file recordingquality.cpp.

Member Function Documentation

◆ AddTSStatistics()

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

Definition at line 87 of file recordingquality.cpp.

Referenced by DTVRecorder::GetRecordingQuality().

◆ IsDamaged()

bool RecordingQuality::IsDamaged ( void  ) const

◆ toStringXML()

QString RecordingQuality::toStringXML ( void  ) const

Definition at line 113 of file recordingquality.cpp.

Referenced by TVRec::FinishedRecording().

Member Data Documentation

◆ m_continuity_error_count

int RecordingQuality::m_continuity_error_count {0}
private

Definition at line 46 of file recordingquality.h.

Referenced by AddTSStatistics(), and toStringXML().

◆ m_packet_count

int RecordingQuality::m_packet_count {0}
private

Definition at line 47 of file recordingquality.h.

Referenced by AddTSStatistics(), and toStringXML().

◆ m_program_key

QString RecordingQuality::m_program_key
private

Definition at line 48 of file recordingquality.h.

Referenced by RecordingQuality(), and toStringXML().

◆ m_overall_score

double RecordingQuality::m_overall_score {1.0}
private

Definition at line 49 of file recordingquality.h.

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

◆ m_recording_gaps

RecordingGaps RecordingQuality::m_recording_gaps
private

Definition at line 50 of file recordingquality.h.

Referenced by RecordingQuality(), and toStringXML().


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