#include <session_impl.hpp>
Public Member Functions | |
| piece_checker_data () | |
| void | parse_resume_data (const entry &rd, const torrent_info &info, std::string &error) |
Public Attributes | |
| boost::shared_ptr< torrent > | torrent_ptr |
| boost::filesystem::path | save_path |
| sha1_hash | info_hash |
| std::vector< int > | piece_map |
| std::vector < piece_picker::downloading_piece > | unfinished_pieces |
| std::vector< tcp::endpoint > | peers |
| entry | resume_data |
| bool | processing |
| float | progress |
| bool | abort |
Definition at line 90 of file session_impl.hpp.
| libtorrent::aux::piece_checker_data::piece_checker_data | ( | ) | [inline] |
Definition at line 92 of file session_impl.hpp.
| void libtorrent::aux::piece_checker_data::parse_resume_data | ( | const entry & | rd, | |
| const torrent_info & | info, | |||
| std::string & | error | |||
| ) |
Definition at line 1703 of file session_impl.cpp.
References a, libtorrent::torrent_info::begin_files(), bits, libtorrent::torrent_info::end_files(), libtorrent::entry::find_key(), libtorrent::piece_picker::downloading_piece::finished_blocks, asio::ip::address::from_string(), libtorrent::piece_picker::downloading_piece::index, index, libtorrent::torrent_info::info_hash(), libtorrent::entry::integer(), asio::placeholders::iterator, l, libtorrent::entry::list(), libtorrent::match_filesizes(), libtorrent::torrent_info::num_files(), libtorrent::torrent_info::num_pieces(), peers, libtorrent::torrent_info::piece_length(), piece_map, save_path, libtorrent::entry::string(), torrent_ptr, libtorrent::entry::type(), libtorrent::entry::undefined_t, and unfinished_pieces.
| boost::shared_ptr<torrent> libtorrent::aux::piece_checker_data::torrent_ptr |
Definition at line 95 of file session_impl.hpp.
Referenced by libtorrent::call_member(), libtorrent::torrent_handle::file_progress(), libtorrent::aux::checker_impl::operator()(), parse_resume_data(), and libtorrent::torrent_handle::status().
| boost::filesystem::path libtorrent::aux::piece_checker_data::save_path |
Definition at line 98 of file session_impl.hpp.
| std::vector<int> libtorrent::aux::piece_checker_data::piece_map |
Definition at line 105 of file session_impl.hpp.
Referenced by libtorrent::piece_manager::impl::check_fastresume(), and parse_resume_data().
Definition at line 106 of file session_impl.hpp.
Referenced by libtorrent::piece_manager::impl::check_fastresume(), and parse_resume_data().
| std::vector<tcp::endpoint> libtorrent::aux::piece_checker_data::peers |
Definition at line 107 of file session_impl.hpp.
Referenced by libtorrent::torrent_handle::connect_peer(), and parse_resume_data().
Definition at line 108 of file session_impl.hpp.
Definition at line 114 of file session_impl.hpp.
Referenced by libtorrent::torrent_handle::file_progress(), libtorrent::aux::session_impl::remove_torrent(), and libtorrent::torrent_handle::status().
Definition at line 119 of file session_impl.hpp.
Referenced by libtorrent::torrent_handle::status().
Definition at line 124 of file session_impl.hpp.
Referenced by libtorrent::aux::session_impl::remove_torrent().
1.5.6