Template Class TypedSubscriberImpl

Inheritance Relationships

Base Type

Class Documentation

template<class M, class T>
class TypedSubscriberImpl : public swri::SubscriberImpl

Public Functions

inline TypedSubscriberImpl(rclcpp::Node &nh, const std::string &topic, uint32_t queue_size, void (T::* fp)(const std::shared_ptr<const M>&), T *obj, const rclcpp::QoS &transport_hints, const rclcpp::SubscriptionOptions sub_options = rclcpp::SubscriptionOptions())
template<class M2 = M>
inline std::enable_if<(bool)has_header<M2>(), void>::type handleMessage(const std::shared_ptr<const M> msg)
template<class M2 = M>
inline std::enable_if<!(bool)has_header<M2>(), void>::type handleMessage(const std::shared_ptr<const M> msg)