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

#include <rclcpp/node_interfaces/node_graph_interface.hpp>

Public Member Functions

RCLCPP_PUBLIC ServiceEndpointInfo (const rcl_service_endpoint_info_t &info)
 Construct a ServiceEndpointInfo from a rcl_service_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 & service_type ()
 Get a mutable reference to the service type string.
 
RCLCPP_PUBLIC const std::string & service_type () const
 Get a const reference to the service type string.
 
RCLCPP_PUBLIC rclcpp::EndpointType & endpoint_type ()
 Get a mutable reference to the service endpoint type.
 
RCLCPP_PUBLIC const rclcpp::EndpointType & endpoint_type () const
 Get a const reference to the service endpoint type.
 
RCLCPP_PUBLIC size_t & endpoint_count ()
 Get a mutable reference to the endpoint count.
 
RCLCPP_PUBLIC const size_t & endpoint_count () const
 Get a const reference to the endpoint count.
 
RCLCPP_PUBLIC std::vector< std::array< uint8_t, RMW_GID_STORAGE_SIZE > > & endpoint_gids ()
 Get a mutable reference to the GID of the service endpoint.
 
RCLCPP_PUBLIC const std::vector< std::array< uint8_t, RMW_GID_STORAGE_SIZE > > & endpoint_gids () const
 Get a const reference to the GID of the service endpoint.
 
RCLCPP_PUBLIC std::vector< rclcpp::QoS > & qos_profiles ()
 Get a mutable reference to the QoS profile of the service endpoint.
 
RCLCPP_PUBLIC const std::vector< rclcpp::QoS > & qos_profiles () const
 Get a const reference to the QoS profile of the service endpoint.
 
RCLCPP_PUBLIC rosidl_type_hash_t & service_type_hash ()
 Get a mutable reference to the type hash of the service endpoint.
 
RCLCPP_PUBLIC const rosidl_type_hash_t & service_type_hash () const
 Get a const reference to the type hash of the service endpoint.
 

Detailed Description

Struct that contains service endpoint information like the associated node name, node namespace, service type, endpoint type, endpoint count, endpoint GIDs, and its QoS profiles.

Definition at line 158 of file node_graph_interface.hpp.


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