libtorrent::torrent_status Struct Reference

#include <torrent_handle.hpp>

List of all members.

Public Types

enum  state_t {
  queued_for_checking, checking_files, connecting_to_tracker, downloading_metadata,
  downloading, finished, seeding, allocating
}

Public Member Functions

 torrent_status ()

Public Attributes

state_t state
bool paused
float progress
boost::posix_time::time_duration next_announce
boost::posix_time::time_duration announce_interval
std::string current_tracker
size_type total_download
size_type total_upload
size_type total_payload_download
size_type total_payload_upload
size_type total_failed_bytes
size_type total_redundant_bytes
float download_rate
float upload_rate
float download_payload_rate
float upload_payload_rate
int num_peers
int num_complete
int num_incomplete
const std::vector< bool > * pieces
int num_pieces
size_type total_done
size_type total_wanted_done
size_type total_wanted
int num_seeds
float distributed_copies
int block_size


Detailed Description

Definition at line 74 of file torrent_handle.hpp.


Member Enumeration Documentation

Enumerator:
queued_for_checking 
checking_files 
connecting_to_tracker 
downloading_metadata 
downloading 
finished 
seeding 
allocating 

Definition at line 103 of file torrent_handle.hpp.


Constructor & Destructor Documentation

libtorrent::torrent_status::torrent_status (  )  [inline]

Definition at line 76 of file torrent_handle.hpp.


Member Data Documentation

boost::posix_time::time_duration libtorrent::torrent_status::next_announce

boost::posix_time::time_duration libtorrent::torrent_status::announce_interval

Definition at line 119 of file torrent_handle.hpp.

Referenced by libtorrent::torrent::status().

Definition at line 125 of file torrent_handle.hpp.

Referenced by libtorrent::torrent::status().

Definition at line 126 of file torrent_handle.hpp.

Referenced by libtorrent::torrent::status().

Definition at line 142 of file torrent_handle.hpp.

Referenced by libtorrent::torrent::status().

Definition at line 143 of file torrent_handle.hpp.

Referenced by libtorrent::torrent::status().

Definition at line 177 of file torrent_handle.hpp.

Referenced by libtorrent::torrent::status().

Definition at line 182 of file torrent_handle.hpp.

Referenced by libtorrent::torrent::status().

Definition at line 196 of file torrent_handle.hpp.

Referenced by libtorrent::torrent::status().

Definition at line 201 of file torrent_handle.hpp.

Referenced by libtorrent::torrent::status().


The documentation for this struct was generated from the following file:

Generated on Sun May 25 00:21:44 2008 by  doxygen 1.5.6