// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from realsense2_camera_msgs:msg/Extrinsics.idl
// generated code does not contain a copyright notice

#ifndef REALSENSE2_CAMERA_MSGS__MSG__DETAIL__EXTRINSICS__BUILDER_HPP_
#define REALSENSE2_CAMERA_MSGS__MSG__DETAIL__EXTRINSICS__BUILDER_HPP_

#include "realsense2_camera_msgs/msg/detail/extrinsics__struct.hpp"
#include <rosidl_runtime_cpp/message_initialization.hpp>
#include <algorithm>
#include <utility>


namespace realsense2_camera_msgs
{

namespace msg
{

namespace builder
{

class Init_Extrinsics_translation
{
public:
  explicit Init_Extrinsics_translation(::realsense2_camera_msgs::msg::Extrinsics & msg)
  : msg_(msg)
  {}
  ::realsense2_camera_msgs::msg::Extrinsics translation(::realsense2_camera_msgs::msg::Extrinsics::_translation_type arg)
  {
    msg_.translation = std::move(arg);
    return std::move(msg_);
  }

private:
  ::realsense2_camera_msgs::msg::Extrinsics msg_;
};

class Init_Extrinsics_rotation
{
public:
  Init_Extrinsics_rotation()
  : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
  {}
  Init_Extrinsics_translation rotation(::realsense2_camera_msgs::msg::Extrinsics::_rotation_type arg)
  {
    msg_.rotation = std::move(arg);
    return Init_Extrinsics_translation(msg_);
  }

private:
  ::realsense2_camera_msgs::msg::Extrinsics msg_;
};

}  // namespace builder

}  // namespace msg

template<typename MessageType>
auto build();

template<>
inline
auto build<::realsense2_camera_msgs::msg::Extrinsics>()
{
  return realsense2_camera_msgs::msg::builder::Init_Extrinsics_rotation();
}

}  // namespace realsense2_camera_msgs

#endif  // REALSENSE2_CAMERA_MSGS__MSG__DETAIL__EXTRINSICS__BUILDER_HPP_
