nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
Loading...
Searching...
No Matches
rclcpp::detail::timer_takes_info< F > Class Template Reference

#include <rclcpp.hpp>

Static Public Attributes

static const bool value = sizeof(probe<F>(nullptr, 0)) == sizeof(yes_t)

Detailed Description

template<typename F>
class rclcpp::detail::timer_takes_info< F >

Whether a timer callable is invocable as cb(const rclcpp::TimerInfo&) — issue 1974, upstream's TimerInfoCallbackType overload. Overload resolution in sizeof, as tr::is_convertible does: nothing is evaluated.

Member Data Documentation

◆ value

template<typename F>
const bool rclcpp::detail::timer_takes_info< F >::value = sizeof(probe<F>(nullptr, 0)) == sizeof(yes_t)
static

The documentation for this class was generated from the following file: