26namespace client_behaviors
28template <
typename ServiceType>
34 CbServiceCall(
const char * serviceName, std::shared_ptr<typename ServiceType::Request>)
51 typename std::shared_ptr<typename ServiceType::Response>
result_;
55 std::shared_ptr<rclcpp::Client<ServiceType>>
client_;
57 std::shared_ptr<typename ServiceType::Request>
request_;
std::string getName() const
virtual rclcpp::Logger getLogger()
virtual rclcpp::Node::SharedPtr getNode()
std::shared_ptr< typename ServiceType::Response > result_
std::shared_ptr< typename ServiceType::Request > request_
std::shared_ptr< rclcpp::Client< ServiceType > > client_
CbServiceCall(const char *serviceName)
CbServiceCall(const char *serviceName, std::shared_ptr< typename ServiceType::Request >)
void onServiceResponse(typename rclcpp::Client< ServiceType >::SharedFuture result)