// Generated by gencpp from file uavatt_ros/genom_state_activity.msg
// DO NOT EDIT!


#ifndef UAVATT_ROS_MESSAGE_GENOM_STATE_ACTIVITY_H
#define UAVATT_ROS_MESSAGE_GENOM_STATE_ACTIVITY_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 uavatt_ros
{
template <class ContainerAllocator>
struct genom_state_activity_
{
  typedef genom_state_activity_<ContainerAllocator> Type;

  genom_state_activity_()
    : id(0)
    , name()  {
    }
  genom_state_activity_(const ContainerAllocator& _alloc)
    : id(0)
    , name(_alloc)  {
  (void)_alloc;
    }



   typedef uint32_t _id_type;
  _id_type id;

   typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _name_type;
  _name_type name;





  typedef boost::shared_ptr< ::uavatt_ros::genom_state_activity_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::uavatt_ros::genom_state_activity_<ContainerAllocator> const> ConstPtr;

}; // struct genom_state_activity_

typedef ::uavatt_ros::genom_state_activity_<std::allocator<void> > genom_state_activity;

typedef boost::shared_ptr< ::uavatt_ros::genom_state_activity > genom_state_activityPtr;
typedef boost::shared_ptr< ::uavatt_ros::genom_state_activity const> genom_state_activityConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavatt_ros::genom_state_activity_<ContainerAllocator1> & lhs, const ::uavatt_ros::genom_state_activity_<ContainerAllocator2> & rhs)
{
  return lhs.id == rhs.id &&
    lhs.name == rhs.name;
}

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


} // namespace uavatt_ros

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::uavatt_ros::genom_state_activity_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::uavatt_ros::genom_state_activity_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavatt_ros::genom_state_activity_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::uavatt_ros::genom_state_activity_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::uavatt_ros::genom_state_activity_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::uavatt_ros::genom_state_activity_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::uavatt_ros::genom_state_activity_<ContainerAllocator> >
{
  static const char* value()
  {
    return "09e1c3a5f79c5407a596e4c5d8e34a93";
  }

  static const char* value(const ::uavatt_ros::genom_state_activity_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x09e1c3a5f79c5407ULL;
  static const uint64_t static_value2 = 0xa596e4c5d8e34a93ULL;
};

template<class ContainerAllocator>
struct DataType< ::uavatt_ros::genom_state_activity_<ContainerAllocator> >
{
  static const char* value()
  {
    return "uavatt_ros/genom_state_activity";
  }

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

template<class ContainerAllocator>
struct Definition< ::uavatt_ros::genom_state_activity_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::genom::state::activity\n"
"uint32 id\n"
"string name\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavatt_ros::genom_state_activity_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.id);
      stream.next(m.name);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct genom_state_activity_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavatt_ros::genom_state_activity_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavatt_ros::genom_state_activity_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "id: ";
    Printer<uint32_t>::stream(s, indent + "  ", v.id);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "name: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + "  ", v.name);
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVATT_ROS_MESSAGE_GENOM_STATE_ACTIVITY_H
