17 #include "rclcpp/network_flow_endpoint.hpp"
25 return transport_protocol_;
31 return internet_protocol_;
36 return transport_port_;
52 return internet_address_;
57 return left.transport_protocol_ == right.transport_protocol_ &&
58 left.internet_protocol_ == right.internet_protocol_ &&
59 left.transport_port_ == right.transport_port_ &&
60 left.flow_label_ == right.flow_label_ &&
61 left.dscp_ == right.dscp_ &&
62 left.internet_address_ == right.internet_address_;
67 return !(left == right);
74 "\"transportProtocol\": \"" << network_flow_endpoint.transport_protocol_ <<
"\", " <<
75 "\"internetProtocol\": \"" << network_flow_endpoint.internet_protocol_ <<
"\", " <<
76 "\"transportPort\": \"" << network_flow_endpoint.transport_port_ <<
"\", " <<
77 "\"flowLabel\": \"" << std::to_string(network_flow_endpoint.flow_label_) <<
"\", " <<
78 "\"dscp\": \"" << std::to_string(network_flow_endpoint.dscp_) <<
"\", " <<
79 "\"internetAddress\": \"" << network_flow_endpoint.internet_address_ <<
"\"" <<
RCLCPP_PUBLIC uint32_t flow_label() const
Get flow label.
RCLCPP_PUBLIC const std::string & internet_protocol() const
Get internet protocol.
RCLCPP_PUBLIC uint16_t transport_port() const
Get transport port.
RCLCPP_PUBLIC const std::string & transport_protocol() const
Get transport protocol.
RCLCPP_PUBLIC const std::string & internet_address() const
Get internet address.
RCLCPP_PUBLIC uint8_t dscp() const
Get DSCP.
Versions of rosidl_typesupport_cpp::get_message_type_support_handle that handle adapted types.
RCLCPP_PUBLIC bool operator==(const NetworkFlowEndpoint &left, const NetworkFlowEndpoint &right)
Check if two NetworkFlowEndpoint instances are equal.
RCLCPP_PUBLIC std::ostream & operator<<(std::ostream &os, const FutureReturnCode &future_return_code)
Stream operator for FutureReturnCode.
RCLCPP_PUBLIC bool operator!=(const NetworkFlowEndpoint &left, const NetworkFlowEndpoint &right)
Check if two NetworkFlowEndpoint instances are not equal.