Template Function ros_babel_fish::invoke_for_value_message(const Message&, Callable&&, Args&&…)
Defined in File method_invoke_helpers.hpp
Function Documentation
-
template<typename Callable, typename ...Args>
auto ros_babel_fish::invoke_for_value_message(const Message &msg, Callable &&f, Args&&... args) Invokes the given functor with the given value message casted to the actual type of the given message and the optionally passed additional arguments.
- Throws:
BabelFishException – If the message is not a ValueMessage.
- Returns:
The return value of the invoked method.