|
Electroneum
|

Public Member Functions | |
| download_thread_control (const std::string &path, const std::string &uri, std::function< void(const std::string &, const std::string &, bool)> result_cb, std::function< bool(const std::string &, const std::string &, size_t, ssize_t)> progress_cb) | |
| ~download_thread_control () | |
Public Attributes | |
| const std::string | path |
| const std::string | uri |
| std::function< void(const std::string &, const std::string &, bool)> | result_cb |
| std::function< bool(const std::string &, const std::string &, size_t, ssize_t)> | progress_cb |
| bool | stop |
| bool | stopped |
| bool | success |
| boost::thread | thread |
| boost::mutex | mutex |
Definition at line 43 of file download.cpp.
|
inline |
Definition at line 55 of file download.cpp.
|
inline |
Definition at line 57 of file download.cpp.
| boost::mutex tools::download_thread_control::mutex |
Definition at line 53 of file download.cpp.
| const std::string tools::download_thread_control::path |
Definition at line 45 of file download.cpp.
| std::function<bool(const std::string&, const std::string&, size_t, ssize_t)> tools::download_thread_control::progress_cb |
Definition at line 48 of file download.cpp.
| std::function<void(const std::string&, const std::string&, bool)> tools::download_thread_control::result_cb |
Definition at line 47 of file download.cpp.
| bool tools::download_thread_control::stop |
Definition at line 49 of file download.cpp.
| bool tools::download_thread_control::stopped |
Definition at line 50 of file download.cpp.
| bool tools::download_thread_control::success |
Definition at line 51 of file download.cpp.
| boost::thread tools::download_thread_control::thread |
Definition at line 52 of file download.cpp.
| const std::string tools::download_thread_control::uri |
Definition at line 46 of file download.cpp.