MythTV  master
Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
GrabberManager Class Reference

#include <libmythbase/netgrabbermanager.h>

Inheritance diagram for GrabberManager:
[legend]
Collaboration diagram for GrabberManager:
[legend]

Signals

void finished (void)
 

Public Member Functions

 GrabberManager ()
 
 ~GrabberManager () override
 
void startTimer ()
 
void stopTimer ()
 
void doUpdate ()
 
void refreshAll ()
 

Private Slots

void timeout (void)
 

Private Attributes

QRecursiveMutex m_lock
 
QTimer * m_timer {nullptr}
 
GrabberScript::scriptList m_scripts
 
std::chrono::hours m_updateFreq {24h}
 
uint m_runningCount {0}
 
bool m_refreshAll {false}
 

Detailed Description

Definition at line 77 of file netgrabbermanager.h.

Constructor & Destructor Documentation

◆ GrabberManager()

GrabberManager::GrabberManager ( )

Definition at line 129 of file netgrabbermanager.cpp.

◆ ~GrabberManager()

GrabberManager::~GrabberManager ( )
override

Definition at line 137 of file netgrabbermanager.cpp.

Member Function Documentation

◆ startTimer()

void GrabberManager::startTimer ( )

Definition at line 142 of file netgrabbermanager.cpp.

◆ stopTimer()

void GrabberManager::stopTimer ( )

Definition at line 147 of file netgrabbermanager.cpp.

◆ doUpdate()

void GrabberManager::doUpdate ( )

Definition at line 152 of file netgrabbermanager.cpp.

Referenced by timeout().

◆ refreshAll()

void GrabberManager::refreshAll ( )

Definition at line 168 of file netgrabbermanager.cpp.

◆ finished

void GrabberManager::finished ( void  )
signal

◆ timeout

void GrabberManager::timeout ( void  )
privateslot

Definition at line 162 of file netgrabbermanager.cpp.

Referenced by GrabberManager().

Member Data Documentation

◆ m_lock

QRecursiveMutex GrabberManager::m_lock
mutableprivate

Definition at line 97 of file netgrabbermanager.h.

Referenced by timeout().

◆ m_timer

QTimer* GrabberManager::m_timer {nullptr}
private

Definition at line 98 of file netgrabbermanager.h.

Referenced by doUpdate(), GrabberManager(), startTimer(), stopTimer(), and ~GrabberManager().

◆ m_scripts

GrabberScript::scriptList GrabberManager::m_scripts
private

Definition at line 99 of file netgrabbermanager.h.

◆ m_updateFreq

std::chrono::hours GrabberManager::m_updateFreq {24h}
private

Definition at line 100 of file netgrabbermanager.h.

Referenced by doUpdate(), and startTimer().

◆ m_runningCount

uint GrabberManager::m_runningCount {0}
private

Definition at line 101 of file netgrabbermanager.h.

◆ m_refreshAll

bool GrabberManager::m_refreshAll {false}
private

Definition at line 102 of file netgrabbermanager.h.

Referenced by doUpdate(), and refreshAll().


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