rclcpp
master
C++ ROS Client Library API
|
#include <node_graph_interface.hpp>
Public Member Functions | |
TopicEndpointInfo (const rcl_topic_endpoint_info_t &info) | |
Construct a TopicEndpointInfo from a rcl_topic_endpoint_info_t. More... | |
std::string & | node_name () |
Get a mutable reference to the node name. More... | |
const std::string & | node_name () const |
Get a const reference to the node name. More... | |
std::string & | node_namespace () |
Get a mutable reference to the node namespace. More... | |
const std::string & | node_namespace () const |
Get a const reference to the node namespace. More... | |
std::string & | topic_type () |
Get a mutable reference to the topic type string. More... | |
const std::string & | topic_type () const |
Get a const reference to the topic type string. More... | |
rclcpp::EndpointType & | endpoint_type () |
Get a mutable reference to the topic endpoint type. More... | |
const rclcpp::EndpointType & | endpoint_type () const |
Get a const reference to the topic endpoint type. More... | |
std::array< uint8_t, RMW_GID_STORAGE_SIZE > & | endpoint_gid () |
Get a mutable reference to the GID of the topic endpoint. More... | |
const std::array< uint8_t, RMW_GID_STORAGE_SIZE > & | endpoint_gid () const |
Get a const reference to the GID of the topic endpoint. More... | |
rclcpp::QoS & | qos_profile () |
Get a mutable reference to the QoS profile of the topic endpoint. More... | |
const rclcpp::QoS & | qos_profile () const |
Get a const reference to the QoS profile of the topic endpoint. More... | |
Struct that contains topic endpoint information like the associated node name, node namespace, topic type, endpoint type, endpoint GID, and its QoS.
|
inlineexplicit |
Construct a TopicEndpointInfo from a rcl_topic_endpoint_info_t.
std::string& rclcpp::TopicEndpointInfo::node_name | ( | ) |
Get a mutable reference to the node name.
const std::string& rclcpp::TopicEndpointInfo::node_name | ( | ) | const |
Get a const reference to the node name.
std::string& rclcpp::TopicEndpointInfo::node_namespace | ( | ) |
Get a mutable reference to the node namespace.
const std::string& rclcpp::TopicEndpointInfo::node_namespace | ( | ) | const |
Get a const reference to the node namespace.
std::string& rclcpp::TopicEndpointInfo::topic_type | ( | ) |
Get a mutable reference to the topic type string.
const std::string& rclcpp::TopicEndpointInfo::topic_type | ( | ) | const |
Get a const reference to the topic type string.
rclcpp::EndpointType& rclcpp::TopicEndpointInfo::endpoint_type | ( | ) |
Get a mutable reference to the topic endpoint type.
const rclcpp::EndpointType& rclcpp::TopicEndpointInfo::endpoint_type | ( | ) | const |
Get a const reference to the topic endpoint type.
std::array<uint8_t, RMW_GID_STORAGE_SIZE>& rclcpp::TopicEndpointInfo::endpoint_gid | ( | ) |
Get a mutable reference to the GID of the topic endpoint.
const std::array<uint8_t, RMW_GID_STORAGE_SIZE>& rclcpp::TopicEndpointInfo::endpoint_gid | ( | ) | const |
Get a const reference to the GID of the topic endpoint.
rclcpp::QoS& rclcpp::TopicEndpointInfo::qos_profile | ( | ) |
Get a mutable reference to the QoS profile of the topic endpoint.
const rclcpp::QoS& rclcpp::TopicEndpointInfo::qos_profile | ( | ) | const |
Get a const reference to the QoS profile of the topic endpoint.