ROS 2 rclcpp + rcl - rolling  rolling-a919a6e5
ROS 2 C++ Client Library with ROS Client Library
Public Member Functions | List of all members
rclcpp::TopicEndpointInfo Class Reference

#include <rclcpp/node_interfaces/node_graph_interface.hpp>

Public Member Functions

RCLCPP_PUBLIC TopicEndpointInfo (const rcl_topic_endpoint_info_t &info)
 Construct a TopicEndpointInfo from a rcl_topic_endpoint_info_t.
 
RCLCPP_PUBLIC std::string & node_name ()
 Get a mutable reference to the node name.
 
RCLCPP_PUBLIC const std::string & node_name () const
 Get a const reference to the node name.
 
RCLCPP_PUBLIC std::string & node_namespace ()
 Get a mutable reference to the node namespace.
 
RCLCPP_PUBLIC const std::string & node_namespace () const
 Get a const reference to the node namespace.
 
RCLCPP_PUBLIC std::string & topic_type ()
 Get a mutable reference to the topic type string.
 
RCLCPP_PUBLIC const std::string & topic_type () const
 Get a const reference to the topic type string.
 
RCLCPP_PUBLIC rclcpp::EndpointType & endpoint_type ()
 Get a mutable reference to the topic endpoint type.
 
RCLCPP_PUBLIC const rclcpp::EndpointType & endpoint_type () const
 Get a const reference to the topic endpoint type.
 
RCLCPP_PUBLIC std::array< uint8_t, RMW_GID_STORAGE_SIZE > & endpoint_gid ()
 Get a mutable reference to the GID of the topic endpoint.
 
RCLCPP_PUBLIC const std::array< uint8_t, RMW_GID_STORAGE_SIZE > & endpoint_gid () const
 Get a const reference to the GID of the topic endpoint.
 
RCLCPP_PUBLIC rclcpp::QoSqos_profile ()
 Get a mutable reference to the QoS profile of the topic endpoint.
 
RCLCPP_PUBLIC const rclcpp::QoSqos_profile () const
 Get a const reference to the QoS profile of the topic endpoint.
 
RCLCPP_PUBLIC rosidl_type_hash_t & topic_type_hash ()
 Get a mutable reference to the type hash of the topic endpoint.
 
RCLCPP_PUBLIC const rosidl_type_hash_t & topic_type_hash () const
 Get a const reference to the type hash of the topic endpoint.
 

Detailed Description

Struct that contains topic endpoint information like the associated node name, node namespace, topic type, endpoint type, endpoint GID, and its QoS.

Definition at line 50 of file node_graph_interface.hpp.


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