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


#ifndef NHFC_ROS_MESSAGE_OR_ROTORCRAFT_OUTPUT_H
#define NHFC_ROS_MESSAGE_OR_ROTORCRAFT_OUTPUT_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_rotorcraft_rotor_state.h>

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

  or_rotorcraft_output_()
    : rotor()  {
    }
  or_rotorcraft_output_(const ContainerAllocator& _alloc)
    : rotor(_alloc)  {
  (void)_alloc;
    }



   typedef std::vector< ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator> >> _rotor_type;
  _rotor_type rotor;





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

}; // struct or_rotorcraft_output_

typedef ::nhfc_ros::or_rotorcraft_output_<std::allocator<void> > or_rotorcraft_output;

typedef boost::shared_ptr< ::nhfc_ros::or_rotorcraft_output > or_rotorcraft_outputPtr;
typedef boost::shared_ptr< ::nhfc_ros::or_rotorcraft_output const> or_rotorcraft_outputConstPtr;

// constants requiring out of line definition



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


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

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


} // namespace nhfc_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::nhfc_ros::or_rotorcraft_output_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xff95351a380e4064ULL;
  static const uint64_t static_value2 = 0xeea34bfda525d9e8ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::nhfc_ros::or_rotorcraft_output_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::or_rotorcraft::output\n"
"or_rotorcraft_rotor_state[] rotor\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/or_rotorcraft_rotor_state\n"
"# IDL struct ::or_rotorcraft::rotor_state\n"
"or_time_ts ts\n"
"bool emerg\n"
"bool spinning\n"
"bool starting\n"
"bool disabled\n"
"float64 velocity\n"
"float64 throttle\n"
"float64 consumption\n"
"float64 energy_level\n"
"\n"
"================================================================================\n"
"MSG: nhfc_ros/or_time_ts\n"
"# IDL struct ::or::time::ts\n"
"int32 sec\n"
"int32 nsec\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct or_rotorcraft_output_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::nhfc_ros::or_rotorcraft_output_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nhfc_ros::or_rotorcraft_output_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "rotor: ";
    if (v.rotor.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.rotor.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.rotor[i]);
    }
    if (v.rotor.empty() || false)
      s << "]";
  }
};

} // namespace message_operations
} // namespace ros

#endif // NHFC_ROS_MESSAGE_OR_ROTORCRAFT_OUTPUT_H
