MythTV  master
Public Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
DVDInfo Class Reference

#include <dvdringbuffer.h>

Public Member Functions

 DVDInfo (const QString &filename)
 
 ~DVDInfo (void)
 
bool IsValid (void) const
 
bool GetNameAndSerialNum (QString &name, QString &serialnum)
 
QString GetLastError (void) const
 

Static Protected Member Functions

static void GetNameAndSerialNum (dvdnav_t *nav, QString &name, QString &serialnum, const QString &filename, const QString &logPrefix)
 

Protected Attributes

dvdnav_t * m_nav {nullptr}
 
QString m_name
 
QString m_serialnumber
 
QString m_lastError
 

Private Member Functions

 Q_DECLARE_TR_FUNCTIONS (DVDInfo)
 

Friends

class DVDRingBuffer
 

Detailed Description

Definition at line 65 of file dvdringbuffer.h.

Constructor & Destructor Documentation

◆ DVDInfo()

DVDInfo::DVDInfo ( const QString &  filename)
explicit

Definition at line 49 of file dvdringbuffer.cpp.

◆ ~DVDInfo()

DVDInfo::~DVDInfo ( void  )

Definition at line 73 of file dvdringbuffer.cpp.

Member Function Documentation

◆ Q_DECLARE_TR_FUNCTIONS()

DVDInfo::Q_DECLARE_TR_FUNCTIONS ( DVDInfo  )
private

◆ IsValid()

bool DVDInfo::IsValid ( void  ) const
inline

Definition at line 73 of file dvdringbuffer.h.

Referenced by internal_play_media().

◆ GetNameAndSerialNum() [1/2]

bool DVDInfo::GetNameAndSerialNum ( QString &  name,
QString &  serialnum 
)

Definition at line 143 of file dvdringbuffer.cpp.

Referenced by DVDInfo(), internal_play_media(), and DVDRingBuffer::OpenFile().

◆ GetLastError()

QString DVDInfo::GetLastError ( void  ) const
inline

Definition at line 75 of file dvdringbuffer.h.

Referenced by internal_play_media().

◆ GetNameAndSerialNum() [2/2]

void DVDInfo::GetNameAndSerialNum ( dvdnav_t *  nav,
QString &  name,
QString &  serialnum,
const QString &  filename,
const QString &  logPrefix 
)
staticprotected

Definition at line 80 of file dvdringbuffer.cpp.

Friends And Related Function Documentation

◆ DVDRingBuffer

friend class DVDRingBuffer
friend

Definition at line 67 of file dvdringbuffer.h.

Member Data Documentation

◆ m_nav

dvdnav_t* DVDInfo::m_nav {nullptr}
protected

Definition at line 85 of file dvdringbuffer.h.

Referenced by DVDInfo(), and ~DVDInfo().

◆ m_name

QString DVDInfo::m_name
protected

Definition at line 86 of file dvdringbuffer.h.

Referenced by DVDInfo(), and GetNameAndSerialNum().

◆ m_serialnumber

QString DVDInfo::m_serialnumber
protected

Definition at line 87 of file dvdringbuffer.h.

Referenced by DVDInfo(), and GetNameAndSerialNum().

◆ m_lastError

QString DVDInfo::m_lastError
protected

Definition at line 88 of file dvdringbuffer.h.

Referenced by DVDInfo().


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