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

#include <libmythtv/recorders/recorderbase.h>

Collaboration diagram for FrameRate:
[legend]

Public Member Functions

 FrameRate (uint n, uint d=1)
 
double toDouble (void) const
 
bool isNonzero (void) const
 
uint getNum (void) const
 
uint getDen (void) const
 
QString toString (void) const
 
bool operator== (const FrameRate other) const
 
bool operator!= (const FrameRate other) const
 

Private Attributes

uint m_num
 
uint m_den
 

Detailed Description

Definition at line 38 of file recorderbase.h.

Constructor & Destructor Documentation

◆ FrameRate()

FrameRate::FrameRate ( uint  n,
uint  d = 1 
)
inlineexplicit

Definition at line 41 of file recorderbase.h.

Member Function Documentation

◆ toDouble()

double FrameRate::toDouble ( void  ) const
inline

◆ isNonzero()

bool FrameRate::isNonzero ( void  ) const
inline

◆ getNum()

uint FrameRate::getNum ( void  ) const
inline

Definition at line 44 of file recorderbase.h.

Referenced by DTVRecorder::UpdateFramesWritten().

◆ getDen()

uint FrameRate::getDen ( void  ) const
inline

Definition at line 45 of file recorderbase.h.

Referenced by DTVRecorder::UpdateFramesWritten().

◆ toString()

QString FrameRate::toString ( void  ) const
inline

Definition at line 46 of file recorderbase.h.

Referenced by DTVRecorder::UpdateFramesWritten().

◆ operator==()

bool FrameRate::operator== ( const FrameRate  other) const
inline

Definition at line 47 of file recorderbase.h.

◆ operator!=()

bool FrameRate::operator!= ( const FrameRate  other) const
inline

Definition at line 50 of file recorderbase.h.

Member Data Documentation

◆ m_num

uint FrameRate::m_num
private

Definition at line 52 of file recorderbase.h.

Referenced by getNum(), isNonzero(), operator==(), toDouble(), and toString().

◆ m_den

uint FrameRate::m_den
private

Definition at line 53 of file recorderbase.h.

Referenced by getDen(), operator==(), toDouble(), and toString().


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