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


#ifndef NHFC_ROS_MESSAGE_OR_ROTORCRAFT_ROTOR_STATE_H
#define NHFC_ROS_MESSAGE_OR_ROTORCRAFT_ROTOR_STATE_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>

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

  or_rotorcraft_rotor_state_()
    : ts()
    , emerg(false)
    , spinning(false)
    , starting(false)
    , disabled(false)
    , velocity(0.0)
    , throttle(0.0)
    , consumption(0.0)
    , energy_level(0.0)  {
    }
  or_rotorcraft_rotor_state_(const ContainerAllocator& _alloc)
    : ts(_alloc)
    , emerg(false)
    , spinning(false)
    , starting(false)
    , disabled(false)
    , velocity(0.0)
    , throttle(0.0)
    , consumption(0.0)
    , energy_level(0.0)  {
  (void)_alloc;
    }



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

   typedef uint8_t _emerg_type;
  _emerg_type emerg;

   typedef uint8_t _spinning_type;
  _spinning_type spinning;

   typedef uint8_t _starting_type;
  _starting_type starting;

   typedef uint8_t _disabled_type;
  _disabled_type disabled;

   typedef double _velocity_type;
  _velocity_type velocity;

   typedef double _throttle_type;
  _throttle_type throttle;

   typedef double _consumption_type;
  _consumption_type consumption;

   typedef double _energy_level_type;
  _energy_level_type energy_level;





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

}; // struct or_rotorcraft_rotor_state_

typedef ::nhfc_ros::or_rotorcraft_rotor_state_<std::allocator<void> > or_rotorcraft_rotor_state;

typedef boost::shared_ptr< ::nhfc_ros::or_rotorcraft_rotor_state > or_rotorcraft_rotor_statePtr;
typedef boost::shared_ptr< ::nhfc_ros::or_rotorcraft_rotor_state const> or_rotorcraft_rotor_stateConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator1> & lhs, const ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator2> & rhs)
{
  return lhs.ts == rhs.ts &&
    lhs.emerg == rhs.emerg &&
    lhs.spinning == rhs.spinning &&
    lhs.starting == rhs.starting &&
    lhs.disabled == rhs.disabled &&
    lhs.velocity == rhs.velocity &&
    lhs.throttle == rhs.throttle &&
    lhs.consumption == rhs.consumption &&
    lhs.energy_level == rhs.energy_level;
}

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


} // namespace nhfc_ros

namespace ros
{
namespace message_traits
{





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

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

template <class ContainerAllocator>
struct IsFixedSize< ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator> const>
  : TrueType
  { };

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

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


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

  static const char* value(const ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xa52f3f8e6d219fefULL;
  static const uint64_t static_value2 = 0xa713cdc9dd4072c8ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# 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_rotor_state_<ContainerAllocator>&) { return value(); }
};

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.ts);
      stream.next(m.emerg);
      stream.next(m.spinning);
      stream.next(m.starting);
      stream.next(m.disabled);
      stream.next(m.velocity);
      stream.next(m.throttle);
      stream.next(m.consumption);
      stream.next(m.energy_level);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct or_rotorcraft_rotor_state_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::nhfc_ros::or_rotorcraft_rotor_state_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nhfc_ros::or_rotorcraft_rotor_state_<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 << "emerg: ";
    Printer<uint8_t>::stream(s, indent + "  ", v.emerg);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "spinning: ";
    Printer<uint8_t>::stream(s, indent + "  ", v.spinning);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "starting: ";
    Printer<uint8_t>::stream(s, indent + "  ", v.starting);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "disabled: ";
    Printer<uint8_t>::stream(s, indent + "  ", v.disabled);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "velocity: ";
    Printer<double>::stream(s, indent + "  ", v.velocity);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "throttle: ";
    Printer<double>::stream(s, indent + "  ", v.throttle);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "consumption: ";
    Printer<double>::stream(s, indent + "  ", v.consumption);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "energy_level: ";
    Printer<double>::stream(s, indent + "  ", v.energy_level);
  }
};

} // namespace message_operations
} // namespace ros

#endif // NHFC_ROS_MESSAGE_OR_ROTORCRAFT_ROTOR_STATE_H
