MythTV  master
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
FreeSpaceUpdater Class Reference
Inheritance diagram for FreeSpaceUpdater:
[legend]
Collaboration diagram for FreeSpaceUpdater:
[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 { true }
 
bool m_running { true }
 
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 179 of file mainserver.cpp.

Constructor & Destructor Documentation

◆ FreeSpaceUpdater()

FreeSpaceUpdater::FreeSpaceUpdater ( MainServer parent)
inlineexplicit

Definition at line 182 of file mainserver.cpp.

◆ ~FreeSpaceUpdater()

FreeSpaceUpdater::~FreeSpaceUpdater ( )
inlineoverride

Definition at line 187 of file mainserver.cpp.

Member Function Documentation

◆ run()

void FreeSpaceUpdater::run ( void  )
inlineoverride

Definition at line 194 of file mainserver.cpp.

◆ KeepRunning()

bool FreeSpaceUpdater::KeepRunning ( bool  dorun)
inline

Member Data Documentation

◆ m_parent

MainServer& FreeSpaceUpdater::m_parent

Definition at line 236 of file mainserver.cpp.

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

◆ m_lock

QMutex FreeSpaceUpdater::m_lock

Definition at line 237 of file mainserver.cpp.

Referenced by KeepRunning(), and run().

◆ m_dorun

bool FreeSpaceUpdater::m_dorun { true }

Definition at line 238 of file mainserver.cpp.

Referenced by KeepRunning(), and run().

◆ m_running

bool FreeSpaceUpdater::m_running { true }

Definition at line 239 of file mainserver.cpp.

Referenced by KeepRunning(), and run().

◆ m_lastRequest

MythTimer FreeSpaceUpdater::m_lastRequest

Definition at line 240 of file mainserver.cpp.

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

◆ m_wait

QWaitCondition FreeSpaceUpdater::m_wait

Definition at line 241 of file mainserver.cpp.

Referenced by KeepRunning(), and run().

◆ kRequeryTimeout

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

Definition at line 242 of file mainserver.cpp.

Referenced by run().

◆ kExitTimeout

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

Definition at line 243 of file mainserver.cpp.

Referenced by run().


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