OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::msgbus::remote_host_state Class Reference

Class manipulating information about a remote host of bus nodes. More...

#include <eagine/message_bus/remote_node.hpp>

Additional Inherited Members

- Public Member Functions inherited from eagine::msgbus::remote_host
 operator bool () const noexcept
 Indicates if this is not-empty and has actual information.
 
auto id () const noexcept -> valid_if_not_zero< host_id_t >
 Returns the unique host id.
 
auto is_alive () const noexcept -> bool
 Indicates if the remote host is reachable/alive.
 
auto name () const noexcept -> valid_if_not_empty< string_view >
 Returns the name of the remote host.
 
auto cpu_concurrent_threads () const noexcept -> valid_if_positive< span_size_t >
 Returns the number of concurrent threads supported at the host.
 
auto short_average_load () const noexcept -> valid_if_nonnegative< float >
 Returns the short average load on the remote host. More...
 
auto long_average_load () const noexcept -> valid_if_nonnegative< float >
 Returns the long average load on the remote host. More...
 
auto total_ram_size () const noexcept -> valid_if_positive< span_size_t >
 Returns the total RAM size on the remote host. More...
 
auto free_ram_size () const noexcept -> valid_if_positive< span_size_t >
 Returns the free RAM size on the remote host. More...
 
auto ram_usage () const noexcept -> valid_if_nonnegative< float >
 Returns the RAM usage on the remote host (0.0, 1.0). More...
 
auto total_swap_size () const noexcept -> valid_if_positive< span_size_t >
 Returns the total swap size on the remote host. More...
 
auto free_swap_size () const noexcept -> valid_if_nonnegative< span_size_t >
 Returns the free swap size on the remote host. More...
 
auto swap_usage () const noexcept -> valid_if_nonnegative< float >
 Returns the swap usage on the remote host (0.0, 1.0). More...
 

Detailed Description

Class manipulating information about a remote host of bus nodes.

See also
remote_node_tracker
remote_node
Note
Do not use directly. Use remote_host instead.

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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).