40 if constexpr (requires_ros_node_params)
44 throw std::runtime_error(boost::core::demangle(
typeid(T).name()) +
45 " requires a valid RosNodeContext object to be passed via argument 'params_ptr'.");
47 factory.registerNodeType<T>(registration_name, *params_ptr);
51 factory.registerNodeType<T>(registration_name);