MythTV  master
Public Member Functions | List of all members
HardwareProfileTask Class Reference

#include <hardwareprofile.h>

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

Public Member Functions

 HardwareProfileTask (void)
 
bool DoCheckRun (QDateTime now) override
 
bool DoRun (void) 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)
 
bool DoCheckRun (QDateTime now) override
 
virtual bool InWindow (QDateTime now)
 
virtual bool PastWindow (QDateTime now)
 
QDateTime UpdateLastRun (QDateTime last, bool successful=true) override
 
void SetLastRun (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 ()=default
 
bool CheckRun (QDateTime now)
 
bool Run (void)
 
bool ConfirmRun (void)
 
bool IsRunning (void)
 
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)
 
virtual void Terminate (void)
 
- 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from ReferenceCounter
static void PrintDebug (void)
 Print out any leaks if that level of debugging is enabled. More...
 
- Protected Member Functions inherited from PeriodicHouseKeeperTask
virtual void CalculateWindow (void)
 
- 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 52 of file hardwareprofile.h.

Constructor & Destructor Documentation

◆ HardwareProfileTask()

HardwareProfileTask::HardwareProfileTask ( void  )
inline

Definition at line 55 of file hardwareprofile.h.

Member Function Documentation

◆ DoCheckRun()

bool HardwareProfileTask::DoCheckRun ( QDateTime  now)
overridevirtual

Reimplemented from HouseKeeperTask.

Definition at line 274 of file hardwareprofile.cpp.

◆ DoRun()

bool HardwareProfileTask::DoRun ( void  )
overridevirtual

Reimplemented from HouseKeeperTask.

Definition at line 284 of file hardwareprofile.cpp.


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