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

Public Member Functions

 FreeSpaceUpdater (MainServer &parent)
 
 ~FreeSpaceUpdater () override
 
void run (void) override
 
bool KeepRunning (bool dorun)
 

Public Attributes

MainServerm_parent
 
QMutex m_lock
 
bool m_dorun
 
bool m_running
 
MythTimer m_lastRequest
 
QWaitCondition m_wait
 

Static Public Attributes

static constexpr std::chrono::milliseconds kRequeryTimeout { 15s }
 
static constexpr std::chrono::milliseconds kExitTimeout { 61s }
 

Detailed Description

Definition at line 169 of file mainserver.cpp.

Constructor & Destructor Documentation

◆ FreeSpaceUpdater()

FreeSpaceUpdater::FreeSpaceUpdater ( MainServer parent)
inlineexplicit

Definition at line 172 of file mainserver.cpp.

◆ ~FreeSpaceUpdater()

FreeSpaceUpdater::~FreeSpaceUpdater ( )
inlineoverride

Definition at line 177 of file mainserver.cpp.

Member Function Documentation

◆ run()

void FreeSpaceUpdater::run ( void  )
inlineoverride

Definition at line 184 of file mainserver.cpp.

◆ KeepRunning()

bool FreeSpaceUpdater::KeepRunning ( bool  dorun)
inline

Member Data Documentation

◆ m_parent

MainServer& FreeSpaceUpdater::m_parent

Definition at line 226 of file mainserver.cpp.

Referenced by run(), and ~FreeSpaceUpdater().

◆ m_lock

QMutex FreeSpaceUpdater::m_lock

Definition at line 227 of file mainserver.cpp.

Referenced by KeepRunning(), and run().

◆ m_dorun

bool FreeSpaceUpdater::m_dorun

Definition at line 228 of file mainserver.cpp.

Referenced by KeepRunning(), and run().

◆ m_running

bool FreeSpaceUpdater::m_running

Definition at line 229 of file mainserver.cpp.

Referenced by KeepRunning(), and run().

◆ m_lastRequest

MythTimer FreeSpaceUpdater::m_lastRequest

Definition at line 230 of file mainserver.cpp.

Referenced by FreeSpaceUpdater(), KeepRunning(), and run().

◆ m_wait

QWaitCondition FreeSpaceUpdater::m_wait

Definition at line 231 of file mainserver.cpp.

Referenced by KeepRunning(), and run().

◆ kRequeryTimeout

constexpr std::chrono::milliseconds FreeSpaceUpdater::kRequeryTimeout { 15s }
staticconstexpr

Definition at line 232 of file mainserver.cpp.

Referenced by run().

◆ kExitTimeout

constexpr std::chrono::milliseconds FreeSpaceUpdater::kExitTimeout { 61s }
staticconstexpr

Definition at line 233 of file mainserver.cpp.

Referenced by run().


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