filesaver
filesaver::Worker Class Reference

#include <Worker.h>

Public Member Functions

 Worker (std::shared_ptr< data::WorkQueue< boost::filesystem::path >> queue, std::shared_ptr< data::WorkQueue< std::shared_ptr< FileEntry >>> rqueue)
 
void start ()
 
void stop ()
 
void processEntry (boost::filesystem::path &file)
 
unsigned long getFilesProcessed ()
 

Detailed Description

Definition at line 19 of file Worker.h.

Constructor & Destructor Documentation

◆ Worker()

filesaver::Worker::Worker ( std::shared_ptr< data::WorkQueue< boost::filesystem::path >>  queue,
std::shared_ptr< data::WorkQueue< std::shared_ptr< FileEntry >>>  rqueue 
)

Definition at line 10 of file Worker.cpp.

Member Function Documentation

◆ getFilesProcessed()

unsigned long filesaver::Worker::getFilesProcessed ( )

Definition at line 60 of file Worker.cpp.

◆ processEntry()

void filesaver::Worker::processEntry ( boost::filesystem::path &  file)

Definition at line 33 of file Worker.cpp.

◆ start()

void filesaver::Worker::start ( )

Definition at line 16 of file Worker.cpp.

◆ stop()

void filesaver::Worker::stop ( )

Definition at line 65 of file Worker.cpp.


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