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

#include <mythbdinfo.h>

Public Member Functions

 MythBDInfo (const QString &Filename)
 
 ~MythBDInfo (void)=default
 
bool IsValid (void) const
 
QString GetLastError (void) const
 
bool GetNameAndSerialNum (QString &Name, QString &SerialNum)
 

Static Protected Member Functions

static void GetNameAndSerialNum (BLURAY *BluRay, QString &Name, QString &SerialNum, const QString &Filename, const QString &LogPrefix)
 

Protected Attributes

QString m_name
 
QString m_serialnumber
 
QString m_lastError
 
bool m_isValid { true }
 

Friends

class MythBDBuffer
 

Detailed Description

Definition at line 13 of file mythbdinfo.h.

Constructor & Destructor Documentation

◆ MythBDInfo()

MythBDInfo::MythBDInfo ( const QString &  Filename)
explicit

Definition at line 29 of file mythbdinfo.cpp.

◆ ~MythBDInfo()

MythBDInfo::~MythBDInfo ( void  )
default

Member Function Documentation

◆ IsValid()

bool MythBDInfo::IsValid ( void  ) const

Definition at line 157 of file mythbdinfo.cpp.

Referenced by internal_play_media().

◆ GetLastError()

QString MythBDInfo::GetLastError ( void  ) const

Definition at line 169 of file mythbdinfo.cpp.

Referenced by internal_play_media().

◆ GetNameAndSerialNum() [1/2]

bool MythBDInfo::GetNameAndSerialNum ( QString &  Name,
QString &  SerialNum 
)

Definition at line 162 of file mythbdinfo.cpp.

Referenced by internal_play_media(), MythBDInfo(), and MythBDBuffer::OpenFile().

◆ GetNameAndSerialNum() [2/2]

void MythBDInfo::GetNameAndSerialNum ( BLURAY *  BluRay,
QString &  Name,
QString &  SerialNum,
const QString &  Filename,
const QString &  LogPrefix 
)
staticprotected

Definition at line 108 of file mythbdinfo.cpp.

Friends And Related Function Documentation

◆ MythBDBuffer

friend class MythBDBuffer
friend

Definition at line 15 of file mythbdinfo.h.

Member Data Documentation

◆ m_name

QString MythBDInfo::m_name
protected

Definition at line 29 of file mythbdinfo.h.

Referenced by GetNameAndSerialNum(), and MythBDInfo().

◆ m_serialnumber

QString MythBDInfo::m_serialnumber
protected

Definition at line 30 of file mythbdinfo.h.

Referenced by GetNameAndSerialNum(), and MythBDInfo().

◆ m_lastError

QString MythBDInfo::m_lastError
protected

Definition at line 31 of file mythbdinfo.h.

Referenced by GetLastError(), and MythBDInfo().

◆ m_isValid

bool MythBDInfo::m_isValid { true }
protected

Definition at line 32 of file mythbdinfo.h.

Referenced by IsValid(), and MythBDInfo().


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