filesaver
|
#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 () |
Definition at line 18 of file WorkerManager.h.
filesaver::WorkerManager::WorkerManager | ( | ) |
Definition at line 10 of file WorkerManager.cpp.
unsigned long filesaver::WorkerManager::getFilesProcessed | ( | ) |
Definition at line 63 of file WorkerManager.cpp.
unsigned long filesaver::WorkerManager::getNumWorkers | ( | ) |
Definition at line 16 of file WorkerManager.cpp.
std::shared_ptr< data::WorkQueue< std::shared_ptr< FileEntry > > > filesaver::WorkerManager::getResultQueue | ( | ) |
Definition at line 73 of file WorkerManager.cpp.
void filesaver::WorkerManager::join | ( | ) |
Definition at line 50 of file WorkerManager.cpp.
void filesaver::WorkerManager::scan | ( | const std::string & | filepath | ) |
Definition at line 58 of file WorkerManager.cpp.
void filesaver::WorkerManager::start | ( | unsigned int | wantedWorkers | ) |
Definition at line 21 of file WorkerManager.cpp.
void filesaver::WorkerManager::stop | ( | ) |
Definition at line 37 of file WorkerManager.cpp.