// Generated by gencpp from file nhfc_ros/or_rotorcraft_input.msg
// DO NOT EDIT!


#ifndef NHFC_ROS_MESSAGE_OR_ROTORCRAFT_INPUT_H
#define NHFC_ROS_MESSAGE_OR_ROTORCRAFT_INPUT_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>

#include <nhfc_ros/or_time_ts.h>
#include <nhfc_ros/or_rotorcraft_control_type.h>
#include <nhfc_ros/or_rotorcraft_rotor_control.h>

namespace nhfc_ros
{
template <class ContainerAllocator>
struct or_rotorcraft_input_
{
  typedef or_rotorcraft_input_<ContainerAllocator> Type;

  or_rotorcraft_input_()
    : ts()
    , control()
    , desired()  {
    }
  or_rotorcraft_input_(const ContainerAllocator& _alloc)
    : ts(_alloc)
    , control(_alloc)
    , desired(_alloc)  {
  (void)_alloc;
    }



   typedef  ::nhfc_ros::or_time_ts_<ContainerAllocator>  _ts_type;
  _ts_type ts;

   typedef  ::nhfc_ros::or_rotorcraft_control_type_<ContainerAllocator>  _control_type;
  _control_type control;

   typedef  ::nhfc_ros::or_rotorcraft_rotor_control_<ContainerAllocator>  _desired_type;
  _desired_type desired;





  typedef boost::shared_ptr< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> const> ConstPtr;

}; // struct or_rotorcraft_input_

typedef ::nhfc_ros::or_rotorcraft_input_<std::allocator<void> > or_rotorcraft_input;

typedef boost::shared_ptr< ::nhfc_ros::or_rotorcraft_input > or_rotorcraft_inputPtr;
typedef boost::shared_ptr< ::nhfc_ros::or_rotorcraft_input const> or_rotorcraft_inputConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator1> & lhs, const ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator2> & rhs)
{
  return lhs.ts == rhs.ts &&
    lhs.control == rhs.control &&
    lhs.desired == rhs.desired;
}

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


} // namespace nhfc_ros

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> >
{
  static const char* value()
  {
    return "06f760fd6dab42272fe2b6dddf8483be";
  }

  static const char* value(const ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x06f760fd6dab4227ULL;
  static const uint64_t static_value2 = 0x2fe2b6dddf8483beULL;
};

template<class ContainerAllocator>
struct DataType< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> >
{
  static const char* value()
  {
    return "nhfc_ros/or_rotorcraft_input";
  }

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

template<class ContainerAllocator>
struct Definition< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::or_rotorcraft::input\n"
"or_time_ts ts\n"
"or_rotorcraft_control_type control\n"
"or_rotorcraft_rotor_control desired\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/or_time_ts\n"
"# IDL struct ::or::time::ts\n"
"int32 sec\n"
"int32 nsec\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/or_rotorcraft_control_type\n"
"# IDL enum ::or_rotorcraft::control_type\n"
"uint32 or_rotorcraft_velocity = 0\n"
"uint32 or_rotorcraft_throttle = 1\n"
"\n"
"uint32 value\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/or_rotorcraft_rotor_control\n"
"# IDL typedef ::or_rotorcraft::rotor_control\n"
"float64[] rotor_control\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.ts);
      stream.next(m.control);
      stream.next(m.desired);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct or_rotorcraft_input_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nhfc_ros::or_rotorcraft_input_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "ts: ";
    Printer< ::nhfc_ros::or_time_ts_<ContainerAllocator> >::stream(s, indent + "  ", v.ts);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "control: ";
    Printer< ::nhfc_ros::or_rotorcraft_control_type_<ContainerAllocator> >::stream(s, indent + "  ", v.control);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "desired: ";
    Printer< ::nhfc_ros::or_rotorcraft_rotor_control_<ContainerAllocator> >::stream(s, indent + "  ", v.desired);
  }
};

} // namespace message_operations
} // namespace ros

#endif // NHFC_ROS_MESSAGE_OR_ROTORCRAFT_INPUT_H
