filesaver
filesaver::services::StorageWorker Class Reference

#include <StorageWorker.h>

Inheritance diagram for filesaver::services::StorageWorker:
filesaver::services::BackgroundQueueWorker< FileSizePair > filesaver::services::BackgroundWorker

Public Member Functions

 m_storageService (storageService)
 
 m_fileSizeService (fileSizeService)
 
void handler (std::vector< FileSizePair > vector) override
 
- Public Member Functions inherited from filesaver::services::BackgroundQueueWorker< FileSizePair >
 BackgroundQueueWorker ()
 
 BackgroundQueueWorker (std::string workerTag)
 
 BackgroundQueueWorker (std::string workerTag, std::shared_ptr< data::WorkQueue< FileSizePair >> workQueue)
 
void push (const FileSizePair &item)
 
void push (FileSizePair &&item)
 
std::shared_ptr< data::WorkQueue< FileSizePair > > getWorkQueue ()
 
void run () override
 
- Public Member Functions inherited from filesaver::services::BackgroundWorker
 BackgroundWorker ()
 
virtual ~BackgroundWorker ()
 
 BackgroundWorker (const BackgroundWorker &)=delete
 
BackgroundWorkeroperator= (const BackgroundWorker &)=delete
 
 BackgroundWorker (BackgroundWorker &&)=delete
 
BackgroundWorkeroperator= (BackgroundWorker &&)=delete
 
void start ()
 
void stop ()
 
bool isRunning ()
 

Public Attributes

 __pad0__: BackgroundQueueWorker<FileSizePair> ("StorageWorker")
 

Detailed Description

Definition at line 20 of file StorageWorker.h.

Member Function Documentation

◆ handler()

void filesaver::services::StorageWorker::handler ( std::vector< FileSizePair vector)
overridevirtual

Reimplemented from filesaver::services::BackgroundQueueWorker< FileSizePair >.

Definition at line 13 of file StorageWorker.cpp.

◆ m_fileSizeService()

filesaver::services::StorageWorker::m_fileSizeService ( fileSizeService  )
inline

Definition at line 26 of file StorageWorker.h.

◆ m_storageService()

filesaver::services::StorageWorker::m_storageService ( storageService  )

Member Data Documentation

◆ __pad0__

filesaver::services::StorageWorker::__pad0__

Definition at line 1 of file StorageWorker.h.


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