Progress utility class for remote data operations. More...
Collaboration diagram for Feel::RemoteDataProgress:Public Types | |
| enum class | Level { QUIET , NORMAL , VERBOSE , DEBUG } |
| enum class | Operation { UPLOAD , DOWNLOAD } |
Public Member Functions | |
| void | completeFile (const std::string &filename, const std::string &id="") const |
| void | completeFile (const std::string &filename, std::streamsize size, bool skipped=false) const |
| void | completeOperation () const |
| void | debug (const std::string &message) const |
| void | error (const std::string &message) const |
| std::string | formatSize (std::streamsize bytes) const |
| Implementation of RemoteDataProgress utility class. | |
| bool | isDebug () const |
| bool | isNormal () const |
| bool | isQuiet () const |
| bool | isVerbose () const |
| RemoteDataProgress (Operation op, Level level=Level::NORMAL) | |
| void | setLevel (Level level) |
| bool | showDebugOutput () const |
| void | showProgressBar (const std::string &filename, std::streamsize transferred, std::streamsize total) const |
| void | startFile (const std::string &filename, std::streamsize size, int fileNum=0, int totalFiles=0) const |
| void | startOperation (const std::string &description) const |
| void | startOperation (const std::string &platform, const std::string &target) const |
| void | updateProgress (std::streamsize transferred, std::streamsize total) const |
Progress utility class for remote data operations.