rclcpp  master
C++ ROS Client Library API
Public Member Functions | Friends | List of all members
rclcpp::NetworkFlowEndpoint Class Reference

#include <network_flow_endpoint.hpp>

Public Member Functions

 NetworkFlowEndpoint (const rcl_network_flow_endpoint_t &network_flow_endpoint)
 Construct from rcl_network_flow_endpoint_t. More...
 
const std::stringtransport_protocol () const
 Get transport protocol. More...
 
const std::stringinternet_protocol () const
 Get internet protocol. More...
 
uint16_t transport_port () const
 Get transport port. More...
 
uint32_t flow_label () const
 Get flow label. More...
 
uint8_t dscp () const
 Get DSCP. More...
 
const std::stringinternet_address () const
 Get internet address. More...
 

Friends

bool rclcpp::operator== (const NetworkFlowEndpoint &left, const NetworkFlowEndpoint &right)
 Compare two NetworkFlowEndpoint instances. More...
 
bool rclcpp::operator!= (const NetworkFlowEndpoint &left, const NetworkFlowEndpoint &right)
 
std::ostreamrclcpp::operator<< (std::ostream &os, const NetworkFlowEndpoint &network_flow_endpoint)
 Streaming helper. More...
 

Detailed Description

Class describes a network flow endpoint based on the counterpart definition in the RMW layer.

Constructor & Destructor Documentation

◆ NetworkFlowEndpoint()

rclcpp::NetworkFlowEndpoint::NetworkFlowEndpoint ( const rcl_network_flow_endpoint_t &  network_flow_endpoint)
inlineexplicit

Construct from rcl_network_flow_endpoint_t.

Member Function Documentation

◆ transport_protocol()

const std::string& rclcpp::NetworkFlowEndpoint::transport_protocol ( ) const

Get transport protocol.

◆ internet_protocol()

const std::string& rclcpp::NetworkFlowEndpoint::internet_protocol ( ) const

Get internet protocol.

◆ transport_port()

uint16_t rclcpp::NetworkFlowEndpoint::transport_port ( ) const

Get transport port.

◆ flow_label()

uint32_t rclcpp::NetworkFlowEndpoint::flow_label ( ) const

Get flow label.

◆ dscp()

uint8_t rclcpp::NetworkFlowEndpoint::dscp ( ) const

Get DSCP.

◆ internet_address()

const std::string& rclcpp::NetworkFlowEndpoint::internet_address ( ) const

Get internet address.

Friends And Related Function Documentation

◆ rclcpp::operator==

bool rclcpp::operator== ( const NetworkFlowEndpoint left,
const NetworkFlowEndpoint right 
)
friend

Compare two NetworkFlowEndpoint instances.

◆ rclcpp::operator!=

bool rclcpp::operator!= ( const NetworkFlowEndpoint left,
const NetworkFlowEndpoint right 
)
friend

◆ rclcpp::operator<<

std::ostream& rclcpp::operator<< ( std::ostream os,
const NetworkFlowEndpoint network_flow_endpoint 
)
friend

Streaming helper.


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