rclcpp_action/include/rclcpp_action/client.hpp
/// Construct an action client.
/**
   * This constructs an action client, but it will not work until it has been added to a node.
   * Use `rclcpp_action::create_client()` to both construct and add to a node.
   *
   * \param[in] node_base A pointer to the base interface of a node.
   * \param[in] node_graph A pointer to an interface that allows getting graph information about
   *   a node.
   * \param[in] node_logging A pointer to an interface that allows getting a node's logger.
   * \param[in] action_name The action name.
   * \param[in] client_options Options to pass to the underlying `rcl_action::rcl_action_client_t`.
   */
Construct an action client.
This constructs an action client, but it will not work until it has been added to a node.
Use `rclcpp_action::create_client()` to both construct and add to a node.

\param[in] node_base A pointer to the base interface of a node.
\param[in] node_graph A pointer to an interface that allows getting graph information about
a node.
\param[in] node_logging A pointer to an interface that allows getting a node's logger.
\param[in] action_name The action name.
Construct an action client . This constructs an action client but it will not work until it has been added to a node . Use ` rclcpp_action :: create_client () ` to both construct and add to a node . \ param [ in ] node_base A pointer to the base interface of a node . \ param [ in ] node_graph A pointer to an interface that allows getting graph information about a node . \ param [ in ] node_logging A pointer to an interface that allows getting a node ' s logger . \ param [ in ] action_name The action name .
Client(
    rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base,
    rclcpp::node_interfaces::NodeGraphInterface::SharedPtr node_graph,
    rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr node_logging,
    const std::string & action_name,
    const rcl_action_client_options_t client_options = rcl_action_client_get_default_options()
  )
  : ClientBase(
      node_base, node_graph, node_logging, action_name,
      rosidl_typesupport_cpp::get_action_type_support_handle<ActionT>(),
      client_options)
  {
  }
Client ( rclcpp :: node_interfaces :: NodeBaseInterface :: SharedPtr node_base , rclcpp :: node_interfaces :: NodeGraphInterface :: SharedPtr node_graph , rclcpp :: node_interfaces :: NodeLoggingInterface :: SharedPtr node_logging , const std :: string & action_name , const rcl_action_client_options_t client_options = rcl_action_client_get_default_options ( ) ) : ClientBase ( node_base , node_graph , node_logging , action_name , rosidl_typesupport_cpp :: get_action_type_support_handle < ActionT > ( ) , client_options ) { }
Construct an action client.
Construct an action client .