#include <node.h>
◆ Updater()
ui::task::Updater::Updater |
( |
| ) |
|
|
inlineprivate |
◆ abort_network_operation()
void ui::task::Updater::abort_network_operation |
( |
| ) |
|
|
private |
◆ erase_deleted_subscribers()
bool ui::task::Updater::erase_deleted_subscribers |
( |
| ) |
|
|
private |
◆ get()
Updater & ui::task::Updater::get |
( |
| ) |
|
|
static |
◆ listen() [1/2]
bool ui::task::Updater::listen |
( |
| ) |
const |
|
inline |
check/set if Updater is currently listen (connect to remote server) to updates
References listen_.
◆ listen() [2/2]
void ui::task::Updater::listen |
( |
bool |
l | ) |
|
◆ listen_to_updates
void ui::task::Updater::listen_to_updates |
( |
| ) |
|
|
privateslot |
subscribe to server update channel. This signal can be used for all, even non-root nodes.
References abort_network_operation(), demo.D060_Folding::jd, extract_by_sidechain_sasa_score::l, ui::task::network_access_manager(), reply_, ui::task::server_url(), subscribers_, update_data_ready(), updates_finished(), and cache_trajectory::url.
Referenced by listen(), subscribe(), update_data_ready(), and updates_finished().
◆ subscribe()
void ui::task::Updater::subscribe |
( |
Node * |
node | ) |
|
◆ update_data_ready
void ui::task::Updater::update_data_ready |
( |
| ) |
|
|
privateslot |
References abort_network_operation(), ui::task::Node::data_in, erase_deleted_subscribers(), ui::task::has_permission(), listen_, listen_to_updates(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::n, range, reply_, subscribers_, and ui::task::Node::topology_in.
Referenced by listen_to_updates().
◆ updates_finished
void ui::task::Updater::updates_finished |
( |
| ) |
|
|
privateslot |
◆ listen_
bool ui::task::Updater::listen_ = true |
|
private |
◆ reply_
QNetworkReply* ui::task::Updater::reply_ = nullptr |
|
private |
◆ subscribers_
std::multimap<QUuid, QPointer<Node> > ui::task::Updater::subscribers_ |
|
private |
The documentation for this class was generated from the following files: