// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
// with input from bcr_bot:srv/GetVisualTopics.idl
// generated code does not contain a copyright notice

#ifndef BCR_BOT__SRV__DETAIL__GET_VISUAL_TOPICS__STRUCT_HPP_
#define BCR_BOT__SRV__DETAIL__GET_VISUAL_TOPICS__STRUCT_HPP_

#include <algorithm>
#include <array>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>

#include "rosidl_runtime_cpp/bounded_vector.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"


#ifndef _WIN32
# define DEPRECATED__bcr_bot__srv__GetVisualTopics_Request __attribute__((deprecated))
#else
# define DEPRECATED__bcr_bot__srv__GetVisualTopics_Request __declspec(deprecated)
#endif

namespace bcr_bot
{

namespace srv
{

// message struct
template<class ContainerAllocator>
struct GetVisualTopics_Request_
{
  using Type = GetVisualTopics_Request_<ContainerAllocator>;

  explicit GetVisualTopics_Request_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
  {
    if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
      rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
    {
      this->refresh = false;
    }
  }

  explicit GetVisualTopics_Request_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
  {
    (void)_alloc;
    if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
      rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
    {
      this->refresh = false;
    }
  }

  // field types and members
  using _refresh_type =
    bool;
  _refresh_type refresh;

  // setters for named parameter idiom
  Type & set__refresh(
    const bool & _arg)
  {
    this->refresh = _arg;
    return *this;
  }

  // constant declarations

  // pointer types
  using RawPtr =
    bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator> *;
  using ConstRawPtr =
    const bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator> *;
  using SharedPtr =
    std::shared_ptr<bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator>>;
  using ConstSharedPtr =
    std::shared_ptr<bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator> const>;

  template<typename Deleter = std::default_delete<
      bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator>>>
  using UniquePtrWithDeleter =
    std::unique_ptr<bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator>, Deleter>;

  using UniquePtr = UniquePtrWithDeleter<>;

  template<typename Deleter = std::default_delete<
      bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator>>>
  using ConstUniquePtrWithDeleter =
    std::unique_ptr<bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator> const, Deleter>;
  using ConstUniquePtr = ConstUniquePtrWithDeleter<>;

  using WeakPtr =
    std::weak_ptr<bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator>>;
  using ConstWeakPtr =
    std::weak_ptr<bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator> const>;

  // pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead
  // NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly
  typedef DEPRECATED__bcr_bot__srv__GetVisualTopics_Request
    std::shared_ptr<bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator>>
    Ptr;
  typedef DEPRECATED__bcr_bot__srv__GetVisualTopics_Request
    std::shared_ptr<bcr_bot::srv::GetVisualTopics_Request_<ContainerAllocator> const>
    ConstPtr;

  // comparison operators
  bool operator==(const GetVisualTopics_Request_ & other) const
  {
    if (this->refresh != other.refresh) {
      return false;
    }
    return true;
  }
  bool operator!=(const GetVisualTopics_Request_ & other) const
  {
    return !this->operator==(other);
  }
};  // struct GetVisualTopics_Request_

// alias to use template instance with default allocator
using GetVisualTopics_Request =
  bcr_bot::srv::GetVisualTopics_Request_<std::allocator<void>>;

// constant definitions

}  // namespace srv

}  // namespace bcr_bot


#ifndef _WIN32
# define DEPRECATED__bcr_bot__srv__GetVisualTopics_Response __attribute__((deprecated))
#else
# define DEPRECATED__bcr_bot__srv__GetVisualTopics_Response __declspec(deprecated)
#endif

namespace bcr_bot
{

namespace srv
{

// message struct
template<class ContainerAllocator>
struct GetVisualTopics_Response_
{
  using Type = GetVisualTopics_Response_<ContainerAllocator>;

  explicit GetVisualTopics_Response_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
  {
    (void)_init;
  }

  explicit GetVisualTopics_Response_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
  {
    (void)_init;
    (void)_alloc;
  }

  // field types and members
  using _depth_image_topics_type =
    std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>>;
  _depth_image_topics_type depth_image_topics;
  using _rgb_image_topics_type =
    std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>>;
  _rgb_image_topics_type rgb_image_topics;
  using _camera_info_topics_type =
    std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>>;
  _camera_info_topics_type camera_info_topics;
  using _point_cloud_topics_type =
    std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>>;
  _point_cloud_topics_type point_cloud_topics;

  // setters for named parameter idiom
  Type & set__depth_image_topics(
    const std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>> & _arg)
  {
    this->depth_image_topics = _arg;
    return *this;
  }
  Type & set__rgb_image_topics(
    const std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>> & _arg)
  {
    this->rgb_image_topics = _arg;
    return *this;
  }
  Type & set__camera_info_topics(
    const std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>> & _arg)
  {
    this->camera_info_topics = _arg;
    return *this;
  }
  Type & set__point_cloud_topics(
    const std::vector<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>> & _arg)
  {
    this->point_cloud_topics = _arg;
    return *this;
  }

  // constant declarations

  // pointer types
  using RawPtr =
    bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator> *;
  using ConstRawPtr =
    const bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator> *;
  using SharedPtr =
    std::shared_ptr<bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator>>;
  using ConstSharedPtr =
    std::shared_ptr<bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator> const>;

  template<typename Deleter = std::default_delete<
      bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator>>>
  using UniquePtrWithDeleter =
    std::unique_ptr<bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator>, Deleter>;

  using UniquePtr = UniquePtrWithDeleter<>;

  template<typename Deleter = std::default_delete<
      bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator>>>
  using ConstUniquePtrWithDeleter =
    std::unique_ptr<bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator> const, Deleter>;
  using ConstUniquePtr = ConstUniquePtrWithDeleter<>;

  using WeakPtr =
    std::weak_ptr<bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator>>;
  using ConstWeakPtr =
    std::weak_ptr<bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator> const>;

  // pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead
  // NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly
  typedef DEPRECATED__bcr_bot__srv__GetVisualTopics_Response
    std::shared_ptr<bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator>>
    Ptr;
  typedef DEPRECATED__bcr_bot__srv__GetVisualTopics_Response
    std::shared_ptr<bcr_bot::srv::GetVisualTopics_Response_<ContainerAllocator> const>
    ConstPtr;

  // comparison operators
  bool operator==(const GetVisualTopics_Response_ & other) const
  {
    if (this->depth_image_topics != other.depth_image_topics) {
      return false;
    }
    if (this->rgb_image_topics != other.rgb_image_topics) {
      return false;
    }
    if (this->camera_info_topics != other.camera_info_topics) {
      return false;
    }
    if (this->point_cloud_topics != other.point_cloud_topics) {
      return false;
    }
    return true;
  }
  bool operator!=(const GetVisualTopics_Response_ & other) const
  {
    return !this->operator==(other);
  }
};  // struct GetVisualTopics_Response_

// alias to use template instance with default allocator
using GetVisualTopics_Response =
  bcr_bot::srv::GetVisualTopics_Response_<std::allocator<void>>;

// constant definitions

}  // namespace srv

}  // namespace bcr_bot

namespace bcr_bot
{

namespace srv
{

struct GetVisualTopics
{
  using Request = bcr_bot::srv::GetVisualTopics_Request;
  using Response = bcr_bot::srv::GetVisualTopics_Response;
};

}  // namespace srv

}  // namespace bcr_bot

#endif  // BCR_BOT__SRV__DETAIL__GET_VISUAL_TOPICS__STRUCT_HPP_
