Class GenericServiceCallback

Class Documentation

class GenericServiceCallback

Public Types

using SharedRequest = std::shared_ptr<void>
using SharedResponse = std::shared_ptr<void>

Public Functions

inline GenericServiceCallback()
template<typename CallbackT, typename std::enable_if_t<!detail::can_be_nullptr<CallbackT>::value, int> = 0>
inline void set(CallbackT &&callback)
template<typename CallbackT, typename std::enable_if_t<detail::can_be_nullptr<CallbackT>::value, int> = 0>
inline void set(CallbackT &&callback)
inline SharedResponse dispatch(const std::shared_ptr<rclcpp::GenericService> &service_handle, const std::shared_ptr<rmw_request_id_t> &request_header, SharedRequest request, SharedRequest response)
inline void register_callback_for_tracing()