filesaver
|
#include <FileSizeService.h>
Public Member Functions | |
INJECT (FileSizeService(StorageWorker *storageWorker, FileCategoryWorker *fileCategoryWorker, StorageService *storageService, InMemoryFileSizeService *inMemoryFileSizeService)) | |
~FileSizeService () | |
void | onFileEntryBulk (std::vector< std::shared_ptr< FileEntry >> entries) |
void | onFileEntry (std::shared_ptr< FileEntry > fileEntry) |
void | onPathFinished (InMemoryFileEntryStore::Record &record) override |
off_t | getCurrentSizeAt (const std::string &filepath) |
bool | isPathFinished (const boost::filesystem::path &filepath) |
bool | isPathFinished (const std::string &filepath) |
unsigned long | getTotalFiles () |
unsigned long | getTotalKnownFiles () |
Public Member Functions inherited from filesaver::services::InMemoryFileEntryStore::Delegate | |
virtual | ~Delegate () |
Definition at line 25 of file FileSizeService.h.
filesaver::services::FileSizeService::~FileSizeService | ( | ) |
Definition at line 25 of file FileSizeService.cpp.
off_t filesaver::services::FileSizeService::getCurrentSizeAt | ( | const std::string & | filepath | ) |
Definition at line 48 of file FileSizeService.cpp.
unsigned long filesaver::services::FileSizeService::getTotalFiles | ( | ) |
Definition at line 93 of file FileSizeService.cpp.
unsigned long filesaver::services::FileSizeService::getTotalKnownFiles | ( | ) |
Definition at line 98 of file FileSizeService.cpp.
filesaver::services::FileSizeService::INJECT | ( | FileSizeService(StorageWorker *storageWorker, FileCategoryWorker *fileCategoryWorker, StorageService *storageService, InMemoryFileSizeService *inMemoryFileSizeService) | ) |
bool filesaver::services::FileSizeService::isPathFinished | ( | const boost::filesystem::path & | filepath | ) |
Definition at line 67 of file FileSizeService.cpp.
bool filesaver::services::FileSizeService::isPathFinished | ( | const std::string & | filepath | ) |
Definition at line 72 of file FileSizeService.cpp.
void filesaver::services::FileSizeService::onFileEntry | ( | std::shared_ptr< FileEntry > | fileEntry | ) |
Definition at line 41 of file FileSizeService.cpp.
void filesaver::services::FileSizeService::onFileEntryBulk | ( | std::vector< std::shared_ptr< FileEntry >> | entries | ) |
Definition at line 30 of file FileSizeService.cpp.
|
overridevirtual |
Implements filesaver::services::InMemoryFileEntryStore::Delegate.
Definition at line 77 of file FileSizeService.cpp.