25 using callback_t =
typename rclcpp::Service<ServiceType>::CallbackType;
38 ServiceServerHandler(
const rclcpp::Node::SharedPtr& node,
const std::string& address,
const callback_t& cbk,
39 const rclcpp::QoS& qos = rclcpp::ServicesQoS());
59 ServiceServerHandler(
const rclcpp::Node::SharedPtr& node,
const std::string& address,
const callback_t& cbk,
const rclcpp::QoS& qos,
60 const rclcpp::CallbackGroup::SharedPtr& callback_group);
72 template <
typename ClassType>
74 mrs_lib::Task<bool> (ClassType::*method)(
const std::shared_ptr<typename ServiceType::Request> request,
75 const std::shared_ptr<typename ServiceType::Response> response),
76 ClassType* instance,
const rclcpp::QoS& qos,
const rclcpp::CallbackGroup::SharedPtr& callback_group);
87 ServiceServerHandler(
const rclcpp::Node::SharedPtr& node,
const std::string& address,
const callback_t& cbk,
88 const rclcpp::CallbackGroup::SharedPtr& callback_group);
91 rclcpp::CallbackGroup::SharedPtr callback_group_;
92 typename rclcpp::Service<ServiceType>::SharedPtr service_server_;
ServiceServerHandler(const rclcpp::Node::SharedPtr &node, const std::string &address, const callback_t &cbk, const rclcpp::QoS &qos=rclcpp::ServicesQoS())
The main constructor with all the options.
Definition service_server_handler.hpp:22
All mrs_lib functions, classes, variables and definitions are contained in this namespace.
Definition attitude_converter.h:24