Template Function ros_babel_fish::invoke_for_array_message(const ArrayMessageBase&, Callable&&, Args&&…)

Function Documentation

template<typename Callable, typename ...Args>
auto ros_babel_fish::invoke_for_array_message(const ArrayMessageBase &msg, Callable &&f, Args&&... args)

Invokes the given functor with the given message casted to the actual type of the given array message and the optionally passed additional arguments.

Returns:

The return value of the invoked method.