// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
// with input from pylon_ros2_camera_interfaces:srv/SetROI.idl
// generated code does not contain a copyright notice

#ifndef PYLON_ROS2_CAMERA_INTERFACES__SRV__DETAIL__SET_ROI__TRAITS_HPP_
#define PYLON_ROS2_CAMERA_INTERFACES__SRV__DETAIL__SET_ROI__TRAITS_HPP_

#include "pylon_ros2_camera_interfaces/srv/detail/set_roi__struct.hpp"
#include <rosidl_runtime_cpp/traits.hpp>
#include <stdint.h>
#include <type_traits>

// Include directives for member types
// Member 'target_roi'
#include "sensor_msgs/msg/detail/region_of_interest__traits.hpp"

namespace rosidl_generator_traits
{

template<>
inline const char * data_type<pylon_ros2_camera_interfaces::srv::SetROI_Request>()
{
  return "pylon_ros2_camera_interfaces::srv::SetROI_Request";
}

template<>
inline const char * name<pylon_ros2_camera_interfaces::srv::SetROI_Request>()
{
  return "pylon_ros2_camera_interfaces/srv/SetROI_Request";
}

template<>
struct has_fixed_size<pylon_ros2_camera_interfaces::srv::SetROI_Request>
  : std::integral_constant<bool, has_fixed_size<sensor_msgs::msg::RegionOfInterest>::value> {};

template<>
struct has_bounded_size<pylon_ros2_camera_interfaces::srv::SetROI_Request>
  : std::integral_constant<bool, has_bounded_size<sensor_msgs::msg::RegionOfInterest>::value> {};

template<>
struct is_message<pylon_ros2_camera_interfaces::srv::SetROI_Request>
  : std::true_type {};

}  // namespace rosidl_generator_traits

// Include directives for member types
// Member 'reached_roi'
// already included above
// #include "sensor_msgs/msg/detail/region_of_interest__traits.hpp"

namespace rosidl_generator_traits
{

template<>
inline const char * data_type<pylon_ros2_camera_interfaces::srv::SetROI_Response>()
{
  return "pylon_ros2_camera_interfaces::srv::SetROI_Response";
}

template<>
inline const char * name<pylon_ros2_camera_interfaces::srv::SetROI_Response>()
{
  return "pylon_ros2_camera_interfaces/srv/SetROI_Response";
}

template<>
struct has_fixed_size<pylon_ros2_camera_interfaces::srv::SetROI_Response>
  : std::integral_constant<bool, has_fixed_size<sensor_msgs::msg::RegionOfInterest>::value> {};

template<>
struct has_bounded_size<pylon_ros2_camera_interfaces::srv::SetROI_Response>
  : std::integral_constant<bool, has_bounded_size<sensor_msgs::msg::RegionOfInterest>::value> {};

template<>
struct is_message<pylon_ros2_camera_interfaces::srv::SetROI_Response>
  : std::true_type {};

}  // namespace rosidl_generator_traits

namespace rosidl_generator_traits
{

template<>
inline const char * data_type<pylon_ros2_camera_interfaces::srv::SetROI>()
{
  return "pylon_ros2_camera_interfaces::srv::SetROI";
}

template<>
inline const char * name<pylon_ros2_camera_interfaces::srv::SetROI>()
{
  return "pylon_ros2_camera_interfaces/srv/SetROI";
}

template<>
struct has_fixed_size<pylon_ros2_camera_interfaces::srv::SetROI>
  : std::integral_constant<
    bool,
    has_fixed_size<pylon_ros2_camera_interfaces::srv::SetROI_Request>::value &&
    has_fixed_size<pylon_ros2_camera_interfaces::srv::SetROI_Response>::value
  >
{
};

template<>
struct has_bounded_size<pylon_ros2_camera_interfaces::srv::SetROI>
  : std::integral_constant<
    bool,
    has_bounded_size<pylon_ros2_camera_interfaces::srv::SetROI_Request>::value &&
    has_bounded_size<pylon_ros2_camera_interfaces::srv::SetROI_Response>::value
  >
{
};

template<>
struct is_service<pylon_ros2_camera_interfaces::srv::SetROI>
  : std::true_type
{
};

template<>
struct is_service_request<pylon_ros2_camera_interfaces::srv::SetROI_Request>
  : std::true_type
{
};

template<>
struct is_service_response<pylon_ros2_camera_interfaces::srv::SetROI_Response>
  : std::true_type
{
};

}  // namespace rosidl_generator_traits

#endif  // PYLON_ROS2_CAMERA_INTERFACES__SRV__DETAIL__SET_ROI__TRAITS_HPP_
