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

eagine::msgbus::node_connection Class Reference

Class providing information about connection between bus nodes. More...

#include <eagine/message_bus/remote_node.hpp>

Public Member Functions

 operator bool () const noexcept
 Indicates if this is not-empty and has actual information.
 
auto connects (identifier_t id) const noexcept
 Indicates if the connection connects node with the specified id. More...
 
auto connects (identifier_t id1, identifier_t id2) const noexcept
 Indicates if the connection connects nodes with the specified id. More...
 
auto opposite_id (identifier_t id) const noexcept -> valid_if_not_zero< identifier_t >
 Returns the id of the node opposite to the node with id in argument. More...
 
auto kind () const noexcept -> connection_kind
 Returns the connection kind.
 

Detailed Description

Class providing information about connection between bus nodes.

See also
remote_node_tracker
remote_node
remote_host
remote_instance
node_connections

Member Function Documentation

◆ connects() [1/2]

auto eagine::msgbus::node_connection::connects ( identifier_t  id) const
inlinenoexcept

Indicates if the connection connects node with the specified id.

See also
opposite_id

◆ connects() [2/2]

auto eagine::msgbus::node_connection::connects ( identifier_t  id1,
identifier_t  id2 
) const
inlinenoexcept

Indicates if the connection connects nodes with the specified id.

See also
opposite_id

◆ opposite_id()

auto eagine::msgbus::node_connection::opposite_id ( identifier_t  id) const -> valid_if_not_zero<identifier_t>
inlinenoexcept

Returns the id of the node opposite to the node with id in argument.

See also
connects

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).