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

#include <recorderbase.h>

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)
 
bool operator!= (const FrameRate &other)
 

Private Attributes

uint m_num
 
uint m_den
 

Detailed Description

Definition at line 36 of file recorderbase.h.

Constructor & Destructor Documentation

◆ FrameRate()

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

Definition at line 39 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 42 of file recorderbase.h.

Referenced by DTVRecorder::UpdateFramesWritten().

◆ getDen()

uint FrameRate::getDen ( void  ) const
inline

Definition at line 43 of file recorderbase.h.

Referenced by DTVRecorder::UpdateFramesWritten().

◆ toString()

QString FrameRate::toString ( void  ) const
inline

Definition at line 44 of file recorderbase.h.

Referenced by DTVRecorder::UpdateFramesWritten().

◆ operator==()

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

Definition at line 45 of file recorderbase.h.

◆ operator!=()

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

Definition at line 48 of file recorderbase.h.

Member Data Documentation

◆ m_num

uint FrameRate::m_num
private

Definition at line 50 of file recorderbase.h.

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

◆ m_den

uint FrameRate::m_den
private

Definition at line 51 of file recorderbase.h.

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


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