MythTV  master
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
PlaybackBox::PbbJobQueue Class Reference

Public Member Functions

 PbbJobQueue ()
 
bool IsJobQueued (int jobType, uint chanid, const QDateTime &recstartts)
 
bool IsJobRunning (int jobType, uint chanid, const QDateTime &recstartts)
 
bool IsJobQueuedOrRunning (int jobType, uint chanid, const QDateTime &recstartts)
 

Private Types

using MapType = QMultiMap< QPair< uint, QDateTime >, JobQueueEntry >
 

Private Member Functions

void Update ()
 

Private Attributes

QDateTime m_lastUpdated
 
MapType m_jobs
 

Static Private Attributes

static constexpr std::chrono::milliseconds kInvalidateTimeMs { 15s }
 

Detailed Description

Definition at line 472 of file playbackbox.h.

Member Typedef Documentation

◆ MapType

using PlaybackBox::PbbJobQueue::MapType = QMultiMap<QPair<uint, QDateTime>, JobQueueEntry>
private

Definition at line 487 of file playbackbox.h.

Constructor & Destructor Documentation

◆ PbbJobQueue()

PlaybackBox::PbbJobQueue::PbbJobQueue ( )
inline

Definition at line 475 of file playbackbox.h.

Member Function Documentation

◆ IsJobQueued()

bool PlaybackBox::PbbJobQueue::IsJobQueued ( int  jobType,
uint  chanid,
const QDateTime &  recstartts 
)

Definition at line 5510 of file playbackbox.cpp.

Referenced by PlaybackBox::extract_commflag_state().

◆ IsJobRunning()

bool PlaybackBox::PbbJobQueue::IsJobRunning ( int  jobType,
uint  chanid,
const QDateTime &  recstartts 
)

Definition at line 5524 of file playbackbox.cpp.

Referenced by PlaybackBox::extract_commflag_state().

◆ IsJobQueuedOrRunning()

bool PlaybackBox::PbbJobQueue::IsJobQueuedOrRunning ( int  jobType,
uint  chanid,
const QDateTime &  recstartts 
)

Definition at line 5538 of file playbackbox.cpp.

Referenced by PlaybackBox::extract_job_state().

◆ Update()

void PlaybackBox::PbbJobQueue::Update ( )
private

Definition at line 5493 of file playbackbox.cpp.

Referenced by PbbJobQueue().

Member Data Documentation

◆ kInvalidateTimeMs

constexpr std::chrono::milliseconds PlaybackBox::PbbJobQueue::kInvalidateTimeMs { 15s }
staticconstexprprivate

Definition at line 483 of file playbackbox.h.

Referenced by Update().

◆ m_lastUpdated

QDateTime PlaybackBox::PbbJobQueue::m_lastUpdated
private

Definition at line 485 of file playbackbox.h.

Referenced by Update().

◆ m_jobs

MapType PlaybackBox::PbbJobQueue::m_jobs
private

Definition at line 488 of file playbackbox.h.

Referenced by Update().


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