rclcpp
master
C++ ROS Client Library API
|
Go to the documentation of this file.
15 #ifndef RCLCPP__NETWORK_FLOW_ENDPOINT_HPP_
16 #define RCLCPP__NETWORK_FLOW_ENDPOINT_HPP_
22 #include "rcl/network_flow_endpoints.h"
30 class NetworkFlowEndpoint;
34 bool operator==(
const NetworkFlowEndpoint & left,
const NetworkFlowEndpoint & right);
38 bool operator!=(
const NetworkFlowEndpoint & left,
const NetworkFlowEndpoint & right);
54 : transport_protocol_(
55 rcl_network_flow_endpoint_get_transport_protocol_string(network_flow_endpoint.
58 rcl_network_flow_endpoint_get_internet_protocol_string(
62 dscp_(network_flow_endpoint.
dscp),
107 uint16_t transport_port_;
108 uint32_t flow_label_;
115 #endif // RCLCPP__NETWORK_FLOW_ENDPOINT_HPP_
uint8_t dscp() const
Get DSCP.
std::ostream & operator<<(std::ostream &os, const FutureReturnCode &future_return_code)
Stream operator for FutureReturnCode.
const std::string & transport_protocol() const
Get transport protocol.
NetworkFlowEndpoint(const rcl_network_flow_endpoint_t &network_flow_endpoint)
Construct from rcl_network_flow_endpoint_t.
Definition: network_flow_endpoint.hpp:53
This header provides the get_node_base_interface() template function.
Definition: allocator_common.hpp:24
const std::string & internet_protocol() const
Get internet protocol.
#define RCLCPP_PUBLIC
Definition: visibility_control.hpp:50
const std::string & internet_address() const
Get internet address.
uint16_t transport_port() const
Get transport port.
bool operator==(const NetworkFlowEndpoint &left, const NetworkFlowEndpoint &right)
Check if two NetworkFlowEndpoint instances are equal.
Definition: network_flow_endpoint.hpp:48
bool operator!=(const NetworkFlowEndpoint &left, const NetworkFlowEndpoint &right)
Check if two NetworkFlowEndpoint instances are not equal.
uint32_t flow_label() const
Get flow label.