T66 Tidying up CBackgroundDataUpdater startup and shutdown

by overriding the CContinuousWorker virtual methods that exist for this purpose.
This commit is contained in:
Mathew Sutcliffe
2017-05-07 03:18:38 +01:00
parent 41ff563e19
commit 98e67860bc
2 changed files with 17 additions and 6 deletions

View File

@@ -38,6 +38,12 @@ namespace BlackCore
//! Destructor
virtual ~CBackgroundDataUpdater();
//! \copydoc BlackMisc::CContinuousWorker::initialize
virtual void initialize() override;
//! \copydoc BlackMisc::CContinuousWorker::cleanup
virtual void cleanup() override;
//! Is shutting down?
//! \threadsafe
bool isShuttingDown() const;