MythTV  master
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
SubtitleLoadHelper Class Reference
Inheritance diagram for SubtitleLoadHelper:
Inheritance graph
[legend]
Collaboration diagram for SubtitleLoadHelper:
Collaboration graph
[legend]

Public Member Functions

 SubtitleLoadHelper (const QString &fileName, TextSubtitles *target)
 
void run (void) override
 

Static Public Member Functions

static bool IsLoading (TextSubtitles *target)
 
static void Wait (TextSubtitles *target)
 

Private Attributes

const QString & m_fileName
 
TextSubtitlesm_target
 

Static Private Attributes

static QMutex s_lock
 
static QWaitCondition s_wait
 
static QHash< TextSubtitles *, uints_loading
 

Detailed Description

Definition at line 32 of file textsubtitleparser.cpp.

Constructor & Destructor Documentation

◆ SubtitleLoadHelper()

SubtitleLoadHelper::SubtitleLoadHelper ( const QString &  fileName,
TextSubtitles target 
)
inline

Definition at line 35 of file textsubtitleparser.cpp.

Member Function Documentation

◆ run()

void SubtitleLoadHelper::run ( void  )
inlineoverride

Definition at line 43 of file textsubtitleparser.cpp.

◆ IsLoading()

static bool SubtitleLoadHelper::IsLoading ( TextSubtitles target)
inlinestatic

Definition at line 53 of file textsubtitleparser.cpp.

Referenced by TextSubtitleParser::LoadSubtitles().

◆ Wait()

static void SubtitleLoadHelper::Wait ( TextSubtitles target)
inlinestatic

Definition at line 59 of file textsubtitleparser.cpp.

Referenced by TextSubtitles::~TextSubtitles().

Member Data Documentation

◆ m_fileName

const QString& SubtitleLoadHelper::m_fileName
private

Definition at line 72 of file textsubtitleparser.cpp.

Referenced by run().

◆ m_target

TextSubtitles* SubtitleLoadHelper::m_target
private

Definition at line 73 of file textsubtitleparser.cpp.

Referenced by run(), and SubtitleLoadHelper().

◆ s_lock

QMutex SubtitleLoadHelper::s_lock
staticprivate

Definition at line 75 of file textsubtitleparser.cpp.

Referenced by IsLoading(), run(), SubtitleLoadHelper(), and Wait().

◆ s_wait

QWaitCondition SubtitleLoadHelper::s_wait
staticprivate

Definition at line 76 of file textsubtitleparser.cpp.

Referenced by run(), and Wait().

◆ s_loading

QHash< TextSubtitles *, uint > SubtitleLoadHelper::s_loading
staticprivate

Definition at line 77 of file textsubtitleparser.cpp.

Referenced by IsLoading(), run(), SubtitleLoadHelper(), and Wait().


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