iceoryx_posh 2.0.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
iox::runtime::Node Class Reference

class which represents a node More...

#include <iceoryx_posh/runtime/node.hpp>

Public Member Functions

 Node (const NodeName_t &nodeName) noexcept
 constructor which requires the name of the node More...
 
 ~Node () noexcept
 destructor
 
 Node (const Node &)=delete
 
Nodeoperator= (const Node &)=delete
 
 Node (Node &&rhs) noexcept
 move constructor More...
 
Nodeoperator= (Node &&rhs) noexcept
 move assignment operator More...
 
NodeName_t getNodeName () const noexcept
 returns the name of the node More...
 
RuntimeName_t getRuntimeName () const noexcept
 returns the name of the application's runtime More...
 

Protected Member Functions

 Node (NodeData *const data) noexcept
 

Protected Attributes

NodeData * m_data = nullptr
 

Detailed Description

class which represents a node

Constructor & Destructor Documentation

◆ Node() [1/2]

iox::runtime::Node::Node ( const NodeName_t &  nodeName)
noexcept

constructor which requires the name of the node

Parameters
[in]nodeNamename of the node

◆ Node() [2/2]

iox::runtime::Node::Node ( Node &&  rhs)
noexcept

move constructor

Parameters
[in]rhssource object

Member Function Documentation

◆ getNodeName()

NodeName_t iox::runtime::Node::getNodeName ( ) const
noexcept

returns the name of the node

Returns
string which contains the node name

◆ getRuntimeName()

RuntimeName_t iox::runtime::Node::getRuntimeName ( ) const
noexcept

returns the name of the application's runtime

Returns
string which contains the runtime name

◆ operator=()

Node & iox::runtime::Node::operator= ( Node &&  rhs)
noexcept

move assignment operator

Parameters
[in]rhssource object, where to move from

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