MythTV  master
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
MythFillDatabaseTask Class Reference

#include <backendhousekeeper.h>

Inheritance diagram for MythFillDatabaseTask:
Inheritance graph
[legend]
Collaboration diagram for MythFillDatabaseTask:
Collaboration graph
[legend]

Public Member Functions

 MythFillDatabaseTask (void)
 
 ~MythFillDatabaseTask (void) override
 
bool DoCheckRun (const QDateTime &now) override
 
bool DoRun (void) override
 
void Terminate (void) override
 
void SetHourWindowFromDB (void)
 
- Public Member Functions inherited from DailyHouseKeeperTask
 DailyHouseKeeperTask (const QString &dbTag, HouseKeeperScope scope=kHKGlobal, HouseKeeperStartup startup=kHKNormal)
 
 DailyHouseKeeperTask (const QString &dbTag, int minhour, int maxhour, HouseKeeperScope scope=kHKGlobal, HouseKeeperStartup startup=kHKNormal)
 
virtual void SetHourWindow (int min, int max)
 
bool InWindow (const QDateTime &now) override
 
- Public Member Functions inherited from PeriodicHouseKeeperTask
 PeriodicHouseKeeperTask (const QString &dbTag, int period, float min=0.5, float max=1.1, int retry=0, HouseKeeperScope scope=kHKGlobal, HouseKeeperStartup startup=kHKNormal)
 
virtual bool PastWindow (const QDateTime &now)
 
QDateTime UpdateLastRun (const QDateTime &last, bool successful=true) override
 
void SetLastRun (const QDateTime &last, bool successful=true) override
 
virtual void SetWindow (float min, float max)
 
- Public Member Functions inherited from HouseKeeperTask
 HouseKeeperTask (const QString &dbTag, HouseKeeperScope scope=kHKGlobal, HouseKeeperStartup startup=kHKNormal)
 
 ~HouseKeeperTask () override=default
 
bool CheckRun (const QDateTime &now)
 
bool Run (void)
 
bool ConfirmRun (void) const
 
bool IsRunning (void) const
 
bool CheckImmediate (void)
 
bool CheckStartup (void)
 
QString GetTag (void)
 
QDateTime GetLastRun (void)
 
QDateTime GetLastSuccess (void)
 
HouseKeeperScope GetScope (void)
 
QDateTime QueryLastRun (void)
 
QDateTime QueryLastSuccess (void)
 
QDateTime UpdateLastRun (bool successful=true)
 
- Public Member Functions inherited from ReferenceCounter
 ReferenceCounter (const QString &debugName, bool logDebug=true)
 Creates reference counter with an initial value of 1. More...
 
virtual int IncrRef (void)
 Increments reference count. More...
 
virtual int DecrRef (void)
 Decrements reference count and deletes on 0. More...
 

Static Public Member Functions

static bool UseSuggestedTime (void)
 
- Static Public Member Functions inherited from ReferenceCounter
static void PrintDebug (void)
 Print out any leaks if that level of debugging is enabled. More...
 

Private Attributes

MythSystemLegacym_msMFD { nullptr }
 

Additional Inherited Members

- Protected Member Functions inherited from DailyHouseKeeperTask
void CalculateWindow (void) override
 
- Protected Member Functions inherited from ReferenceCounter
virtual ~ReferenceCounter (void)
 Called on destruction, will warn if object deleted with references in place. More...
 
- Protected Attributes inherited from PeriodicHouseKeeperTask
int m_period
 
int m_retry
 
QPair< float, float > m_windowPercent
 
QPair< int, int > m_windowElapsed
 
float m_currentProb
 
- Protected Attributes inherited from ReferenceCounter
bool m_logDebug
 This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More...
 
QAtomicInt m_referenceCount {1}
 

Detailed Description

Definition at line 79 of file backendhousekeeper.h.

Constructor & Destructor Documentation

◆ MythFillDatabaseTask()

MythFillDatabaseTask::MythFillDatabaseTask ( void  )

Definition at line 629 of file backendhousekeeper.cpp.

◆ ~MythFillDatabaseTask()

MythFillDatabaseTask::~MythFillDatabaseTask ( void  )
override

Definition at line 755 of file backendhousekeeper.cpp.

Member Function Documentation

◆ UseSuggestedTime()

bool MythFillDatabaseTask::UseSuggestedTime ( void  )
static

Definition at line 657 of file backendhousekeeper.cpp.

Referenced by DoCheckRun().

◆ DoCheckRun()

bool MythFillDatabaseTask::DoCheckRun ( const QDateTime &  now)
overridevirtual

Reimplemented from PeriodicHouseKeeperTask.

Definition at line 680 of file backendhousekeeper.cpp.

◆ DoRun()

bool MythFillDatabaseTask::DoRun ( void  )
overridevirtual

Reimplemented from HouseKeeperTask.

Definition at line 713 of file backendhousekeeper.cpp.

◆ Terminate()

void MythFillDatabaseTask::Terminate ( void  )
overridevirtual

Reimplemented from HouseKeeperTask.

Definition at line 761 of file backendhousekeeper.cpp.

◆ SetHourWindowFromDB()

void MythFillDatabaseTask::SetHourWindowFromDB ( void  )

Definition at line 635 of file backendhousekeeper.cpp.

Referenced by MythFillDatabaseTask().

Member Data Documentation

◆ m_msMFD

MythSystemLegacy* MythFillDatabaseTask::m_msMFD { nullptr }
private

Definition at line 94 of file backendhousekeeper.h.

Referenced by DoRun(), Terminate(), and ~MythFillDatabaseTask().


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