filesaver
filesaver::WorkerManager Class Reference

#include <WorkerManager.h>

Public Member Functions

 WorkerManager ()
 
unsigned long getNumWorkers ()
 
void start (unsigned int wantedWorkers)
 
void stop ()
 
void join ()
 
void scan (const std::string &filepath)
 
std::shared_ptr< data::WorkQueue< std::shared_ptr< FileEntry > > > getResultQueue ()
 
unsigned long getFilesProcessed ()
 

Detailed Description

Definition at line 18 of file WorkerManager.h.

Constructor & Destructor Documentation

◆ WorkerManager()

filesaver::WorkerManager::WorkerManager ( )

Definition at line 10 of file WorkerManager.cpp.

Member Function Documentation

◆ getFilesProcessed()

unsigned long filesaver::WorkerManager::getFilesProcessed ( )

Definition at line 63 of file WorkerManager.cpp.

◆ getNumWorkers()

unsigned long filesaver::WorkerManager::getNumWorkers ( )

Definition at line 16 of file WorkerManager.cpp.

◆ getResultQueue()

std::shared_ptr< data::WorkQueue< std::shared_ptr< FileEntry > > > filesaver::WorkerManager::getResultQueue ( )

Definition at line 73 of file WorkerManager.cpp.

◆ join()

void filesaver::WorkerManager::join ( )

Definition at line 50 of file WorkerManager.cpp.

◆ scan()

void filesaver::WorkerManager::scan ( const std::string &  filepath)

Definition at line 58 of file WorkerManager.cpp.

◆ start()

void filesaver::WorkerManager::start ( unsigned int  wantedWorkers)

Definition at line 21 of file WorkerManager.cpp.

◆ stop()

void filesaver::WorkerManager::stop ( )

Definition at line 37 of file WorkerManager.cpp.


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