Template Function rtest::findTimers(const std::shared_ptr<NodeT>)

Function Documentation

template<typename NodeT>
static inline std::vector<std::shared_ptr<rclcpp::TimerBase>> rtest::findTimers(const std::shared_ptr<NodeT> nodePtr)

Convenience function for getting a list of Timers created by thje given Node.

Parameters:

nodePtr – shared_ptr to the Node

Returns:

std::vector<std::shared_ptr<rclcpp::TimerBase>>