15 #ifndef RCLCPP__DETAIL__RESOLVE_USE_INTRA_PROCESS_HPP_
16 #define RCLCPP__DETAIL__RESOLVE_USE_INTRA_PROCESS_HPP_
20 #include "rclcpp/intra_process_setting.hpp"
29 template<
typename OptionsT,
typename NodeBaseT>
31 resolve_use_intra_process(
const OptionsT & options,
const NodeBaseT & node_base)
33 bool use_intra_process;
34 switch (options.use_intra_process_comm) {
36 use_intra_process =
true;
39 use_intra_process =
false;
42 use_intra_process = node_base.get_use_intra_process_default();
45 throw std::runtime_error(
"Unrecognized IntraProcessSetting value");
49 return use_intra_process;
Versions of rosidl_typesupport_cpp::get_message_type_support_handle that handle adapted types.
@ Enable
Explicitly enable intraprocess comm at publisher/subscription level.
@ NodeDefault
Take intraprocess configuration from the node.
@ Disable
Explicitly disable intraprocess comm at publisher/subscription level.