#include <cassert>Go to the source code of this file.
Namespaces | |
| namespace | libtorrent |
Classes | |
| class | libtorrent::invariant_access |
| struct | libtorrent::invariant_checker |
| struct | libtorrent::invariant_checker_impl< T > |
Defines | |
| #define | INVARIANT_CHECK |
Functions | |
| template<class T> | |
| void | libtorrent::check_invariant (T const &x) |
| template<class T> | |
| invariant_checker_impl< T > | libtorrent::make_invariant_checker (T const &x) |
| #define INVARIANT_CHECK |
Value:
invariant_checker const& _invariant_check = make_invariant_checker(*this); \ (void)_invariant_check; \ do {} while (false)
Definition at line 70 of file invariant_check.hpp.
Referenced by libtorrent::torrent::abort(), libtorrent::peer_connection::add_free_upload(), libtorrent::bandwidth_manager::add_history_entry(), libtorrent::peer_connection::add_request(), libtorrent::peer_connection::add_stat(), libtorrent::torrent_handle::add_url_seed(), libtorrent::buffer::allocate(), libtorrent::torrent::attach_peer(), libtorrent::peer_connection::attach_to_torrent(), libtorrent::policy::ban_peer(), libtorrent::policy::block_finished(), libtorrent::torrent::bytes_done(), libtorrent::peer_connection::can_read(), libtorrent::peer_connection::can_write(), libtorrent::peer_connection::cancel_request(), libtorrent::piece_manager::impl::check_fastresume(), libtorrent::torrent::check_fastresume(), libtorrent::torrent::check_files(), libtorrent::torrent::completed(), libtorrent::peer_connection::connect(), libtorrent::policy::connect_peer(), libtorrent::torrent_handle::connect_peer(), libtorrent::torrent::connect_to_peer(), libtorrent::torrent::connect_to_url_seed(), libtorrent::policy::connection_closed(), libtorrent::peer_connection::cut_receive_buffer(), libtorrent::buffer::data(), libtorrent::peer_connection::disconnect(), libtorrent::torrent::disconnect_all(), libtorrent::bt_peer_connection::dispatch_message(), libtorrent::torrent::distribute_resources(), libtorrent::buffer::erase(), libtorrent::piece_manager::impl::export_piece_map(), libtorrent::torrent_handle::file_progress(), libtorrent::torrent::files_checked(), libtorrent::torrent::filesystem(), libtorrent::peer_connection::fill_send_buffer(), libtorrent::torrent_handle::filter_files(), libtorrent::torrent::filter_files(), libtorrent::torrent_handle::filter_piece(), libtorrent::torrent::filter_piece(), libtorrent::torrent_handle::filter_pieces(), libtorrent::torrent::filter_pieces(), libtorrent::torrent_handle::filtered_pieces(), libtorrent::torrent::filtered_pieces(), libtorrent::policy::find_choke_candidate(), libtorrent::policy::find_seed_choke_candidate(), libtorrent::policy::find_seed_unchoke_candidate(), libtorrent::aux::checker_impl::find_torrent(), libtorrent::policy::find_unchoke_candidate(), libtorrent::torrent::finished(), libtorrent::torrent_handle::force_reannounce(), libtorrent::torrent::generate_tracker_request(), libtorrent::torrent_handle::get_download_queue(), libtorrent::torrent::get_handle(), libtorrent::torrent_handle::get_peer_info(), libtorrent::torrent_handle::get_torrent_info(), libtorrent::bandwidth_manager::hand_out_bandwidth(), libtorrent::torrent_handle::has_metadata(), libtorrent::peer_connection::has_piece(), libtorrent::peer_connection::has_timed_out(), libtorrent::dht::rpc_manager::incoming(), libtorrent::peer_connection::incoming_bitfield(), libtorrent::peer_connection::incoming_cancel(), libtorrent::peer_connection::incoming_choke(), libtorrent::peer_connection::incoming_dht_port(), libtorrent::peer_connection::incoming_have(), libtorrent::peer_connection::incoming_interested(), libtorrent::peer_connection::incoming_keepalive(), libtorrent::peer_connection::incoming_not_interested(), libtorrent::peer_connection::incoming_piece(), libtorrent::peer_connection::incoming_request(), libtorrent::peer_connection::incoming_unchoke(), libtorrent::peer_connection::init(), libtorrent::torrent::init(), libtorrent::buffer::insert(), libtorrent::policy::interested(), libtorrent::torrent_handle::is_paused(), libtorrent::torrent_handle::is_piece_filtered(), libtorrent::peer_connection::is_seed(), libtorrent::torrent_handle::is_seed(), libtorrent::torrent_handle::is_valid(), libtorrent::peer_connection::keep_alive(), libtorrent::piece_manager::impl::mark_failed(), libtorrent::torrent_handle::move_storage(), libtorrent::torrent::move_storage(), libtorrent::torrent_handle::name(), libtorrent::policy::new_connection(), libtorrent::policy::not_interested(), libtorrent::torrent::num_seeds(), libtorrent::bt_peer_connection::on_bitfield(), libtorrent::bt_peer_connection::on_cancel(), libtorrent::bt_peer_connection::on_choke(), libtorrent::peer_connection::on_connection_complete(), libtorrent::bt_peer_connection::on_dht_port(), libtorrent::bt_peer_connection::on_extended(), libtorrent::bt_peer_connection::on_have(), libtorrent::bandwidth_manager::on_history_expire(), libtorrent::bt_peer_connection::on_interested(), libtorrent::bt_peer_connection::on_keepalive(), libtorrent::torrent::on_name_lookup(), libtorrent::bt_peer_connection::on_not_interested(), libtorrent::torrent::on_peer_name_lookup(), libtorrent::bt_peer_connection::on_piece(), libtorrent::torrent::on_proxy_name_lookup(), libtorrent::web_peer_connection::on_receive(), libtorrent::bt_peer_connection::on_receive(), libtorrent::peer_connection::on_receive_data(), libtorrent::bt_peer_connection::on_request(), libtorrent::peer_connection::on_send_data(), libtorrent::web_peer_connection::on_sent(), libtorrent::bt_peer_connection::on_sent(), libtorrent::bt_peer_connection::on_unchoke(), libtorrent::aux::checker_impl::operator()(), libtorrent::stat::operator+=(), libtorrent::torrent_handle::pause(), libtorrent::torrent::pause(), libtorrent::policy::peer_from_tracker(), libtorrent::policy::peer_is_interesting(), libtorrent::policy::piece_finished(), libtorrent::torrent::prioritize_tracker(), libtorrent::policy::pulse(), libtorrent::stat::received_bytes(), libtorrent::peer_connection::received_invalid_data(), libtorrent::peer_connection::received_valid_data(), libtorrent::torrent::remove_peer(), libtorrent::aux::checker_impl::remove_torrent(), libtorrent::torrent_handle::replace_trackers(), libtorrent::dht::rpc_manager::reply(), libtorrent::dht::rpc_manager::reply_with_ping(), libtorrent::bandwidth_manager::request_bandwidth(), libtorrent::torrent_handle::resolve_countries(), libtorrent::torrent_handle::resume(), libtorrent::torrent::resume(), libtorrent::torrent_handle::save_path(), libtorrent::stat::second_tick(), libtorrent::peer_connection::second_tick(), libtorrent::torrent::second_tick(), libtorrent::policy::seed_choke_one_peer(), libtorrent::policy::seed_unchoke_one_peer(), libtorrent::peer_connection::send_block_requests(), libtorrent::peer_connection::send_choke(), libtorrent::peer_connection::send_interested(), libtorrent::peer_connection::send_not_interested(), libtorrent::peer_connection::send_unchoke(), libtorrent::stat::sent_bytes(), libtorrent::torrent_handle::set_download_limit(), libtorrent::torrent_handle::set_max_connections(), libtorrent::torrent_handle::set_max_uploads(), libtorrent::torrent_handle::set_peer_download_limit(), libtorrent::torrent_handle::set_peer_upload_limit(), libtorrent::torrent_handle::set_ratio(), libtorrent::torrent_handle::set_sequenced_download_threshold(), libtorrent::torrent_handle::set_tracker_login(), libtorrent::torrent_handle::set_upload_limit(), libtorrent::peer_connection::setup_receive(), libtorrent::peer_connection::setup_send(), libtorrent::peer_connection::share_diff(), libtorrent::torrent::should_request(), libtorrent::torrent_handle::status(), libtorrent::torrent::status(), libtorrent::dht::rpc_manager::tick(), libtorrent::torrent::torrent(), libtorrent::torrent::tracker_request_error(), libtorrent::torrent::tracker_request_timed_out(), libtorrent::torrent::tracker_response(), libtorrent::torrent::tracker_warning(), libtorrent::torrent_handle::trackers(), libtorrent::torrent::try_next_tracker(), libtorrent::policy::unchoked(), libtorrent::dht::rpc_manager::update_oldest_transaction_id(), libtorrent::torrent_handle::use_interface(), libtorrent::torrent::use_interface(), libtorrent::peer_connection::verify_piece(), libtorrent::web_peer_connection::web_peer_connection(), libtorrent::bt_peer_connection::write_bitfield(), libtorrent::bt_peer_connection::write_cancel(), libtorrent::bt_peer_connection::write_choke(), libtorrent::bt_peer_connection::write_dht_port(), libtorrent::bt_peer_connection::write_extensions(), libtorrent::bt_peer_connection::write_handshake(), libtorrent::bt_peer_connection::write_have(), libtorrent::bt_peer_connection::write_interested(), libtorrent::bt_peer_connection::write_keepalive(), libtorrent::bt_peer_connection::write_not_interested(), libtorrent::bt_peer_connection::write_piece(), libtorrent::web_peer_connection::write_request(), libtorrent::bt_peer_connection::write_request(), libtorrent::torrent_handle::write_resume_data(), libtorrent::bt_peer_connection::write_unchoke(), and libtorrent::torrent::~torrent().
1.5.6