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

#include <rclcpp.hpp>

Public Member Functions

void operator() (const nros_cpp_timer_call_info_t &raw)

Public Attributes

F f

Detailed Description

template<typename F, bool TakesInfo = timer_takes_info<F>::value>
struct rclcpp::detail::TimerAdapter< F, TakesInfo >

The one callable the arena stores for a timer: it takes the FFI call info and either converts it to a TimerInfo (on the timer's own clock, which the info carries, so the adapter adds no capture of its own) or ignores it.

Member Function Documentation

◆ operator()()

template<typename F, bool TakesInfo = timer_takes_info<F>::value>
void rclcpp::detail::TimerAdapter< F, TakesInfo >::operator() ( const nros_cpp_timer_call_info_t & raw)
inline

Member Data Documentation

◆ f

template<typename F, bool TakesInfo = timer_takes_info<F>::value>
F rclcpp::detail::TimerAdapter< F, TakesInfo >::f

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