// Generated by gencpp from file shiyan2/FFTRequest.msg
// DO NOT EDIT!


#ifndef SHIYAN2_MESSAGE_FFTREQUEST_H
#define SHIYAN2_MESSAGE_FFTREQUEST_H


#include <string>
#include <vector>
#include <memory>

#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>


namespace shiyan2
{
template <class ContainerAllocator>
struct FFTRequest_
{
  typedef FFTRequest_<ContainerAllocator> Type;

  FFTRequest_()
    : data_x()
    , data_y()
    , window_size(0)  {
    }
  FFTRequest_(const ContainerAllocator& _alloc)
    : data_x(_alloc)
    , data_y(_alloc)
    , window_size(0)  {
  (void)_alloc;
    }



   typedef std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> _data_x_type;
  _data_x_type data_x;

   typedef std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> _data_y_type;
  _data_y_type data_y;

   typedef int32_t _window_size_type;
  _window_size_type window_size;





  typedef boost::shared_ptr< ::shiyan2::FFTRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::shiyan2::FFTRequest_<ContainerAllocator> const> ConstPtr;

}; // struct FFTRequest_

typedef ::shiyan2::FFTRequest_<std::allocator<void> > FFTRequest;

typedef boost::shared_ptr< ::shiyan2::FFTRequest > FFTRequestPtr;
typedef boost::shared_ptr< ::shiyan2::FFTRequest const> FFTRequestConstPtr;

// constants requiring out of line definition



template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::shiyan2::FFTRequest_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::shiyan2::FFTRequest_<ContainerAllocator> >::stream(s, "", v);
return s;
}


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::shiyan2::FFTRequest_<ContainerAllocator1> & lhs, const ::shiyan2::FFTRequest_<ContainerAllocator2> & rhs)
{
  return lhs.data_x == rhs.data_x &&
    lhs.data_y == rhs.data_y &&
    lhs.window_size == rhs.window_size;
}

template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::shiyan2::FFTRequest_<ContainerAllocator1> & lhs, const ::shiyan2::FFTRequest_<ContainerAllocator2> & rhs)
{
  return !(lhs == rhs);
}


} // namespace shiyan2

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::shiyan2::FFTRequest_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::shiyan2::FFTRequest_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::shiyan2::FFTRequest_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::shiyan2::FFTRequest_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::shiyan2::FFTRequest_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::shiyan2::FFTRequest_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::shiyan2::FFTRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "733f3e62b6715209e5e8aea0162ecd43";
  }

  static const char* value(const ::shiyan2::FFTRequest_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x733f3e62b6715209ULL;
  static const uint64_t static_value2 = 0xe5e8aea0162ecd43ULL;
};

template<class ContainerAllocator>
struct DataType< ::shiyan2::FFTRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "shiyan2/FFTRequest";
  }

  static const char* value(const ::shiyan2::FFTRequest_<ContainerAllocator>&) { return value(); }
};

template<class ContainerAllocator>
struct Definition< ::shiyan2::FFTRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "float64[] data_x\n"
"float64[] data_y\n"
"int32 window_size\n"
;
  }

  static const char* value(const ::shiyan2::FFTRequest_<ContainerAllocator>&) { return value(); }
};

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::shiyan2::FFTRequest_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.data_x);
      stream.next(m.data_y);
      stream.next(m.window_size);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct FFTRequest_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::shiyan2::FFTRequest_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::shiyan2::FFTRequest_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "data_x: ";
    if (v.data_x.empty() || true)
      s << "[";
    for (size_t i = 0; i < v.data_x.size(); ++i)
    {
      if (true && i > 0)
        s << ", ";
      else if (!true)
        s << std::endl << indent << "  -";
      Printer<double>::stream(s, true ? std::string() : indent + "    ", v.data_x[i]);
    }
    if (v.data_x.empty() || true)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "data_y: ";
    if (v.data_y.empty() || true)
      s << "[";
    for (size_t i = 0; i < v.data_y.size(); ++i)
    {
      if (true && i > 0)
        s << ", ";
      else if (!true)
        s << std::endl << indent << "  -";
      Printer<double>::stream(s, true ? std::string() : indent + "    ", v.data_y[i]);
    }
    if (v.data_y.empty() || true)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "window_size: ";
    Printer<int32_t>::stream(s, indent + "  ", v.window_size);
  }
};

} // namespace message_operations
} // namespace ros

#endif // SHIYAN2_MESSAGE_FFTREQUEST_H
