filesaver
filesaver::services::AggregationWorker Class Reference

#include <AggregationWorker.h>

Inheritance diagram for filesaver::services::AggregationWorker:
filesaver::services::BackgroundQueueWorker< std::shared_ptr< FileEntry > > filesaver::services::BackgroundWorker

Public Member Functions

 AggregationWorker (FileSizeService *fileSizeService, std::shared_ptr< data::WorkQueue< std::shared_ptr< FileEntry >>>)
 
void handler (std::vector< std::shared_ptr< FileEntry >> vector) override
 
- Public Member Functions inherited from filesaver::services::BackgroundQueueWorker< std::shared_ptr< FileEntry > >
 BackgroundQueueWorker ()
 
 BackgroundQueueWorker (std::string workerTag)
 
 BackgroundQueueWorker (std::string workerTag, std::shared_ptr< data::WorkQueue< std::shared_ptr< FileEntry > >> workQueue)
 
void push (const std::shared_ptr< FileEntry > &item)
 
void push (std::shared_ptr< FileEntry > &&item)
 
std::shared_ptr< data::WorkQueue< std::shared_ptr< FileEntry > > > getWorkQueue ()
 
void run () override
 
virtual void handler (std::vector< std::shared_ptr< FileEntry > >)
 
- 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 ()
 

Detailed Description

Definition at line 18 of file AggregationWorker.h.

Constructor & Destructor Documentation

◆ AggregationWorker()

filesaver::services::AggregationWorker::AggregationWorker ( FileSizeService fileSizeService,
std::shared_ptr< data::WorkQueue< std::shared_ptr< FileEntry >>>  queue 
)

Definition at line 12 of file AggregationWorker.cpp.

Member Function Documentation

◆ handler()

void filesaver::services::AggregationWorker::handler ( std::vector< std::shared_ptr< FileEntry >>  vector)
override

Definition at line 20 of file AggregationWorker.cpp.


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