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


#ifndef UAVATT_ROS_MESSAGE_GENOM_STATE_COMPONENT_H
#define UAVATT_ROS_MESSAGE_GENOM_STATE_COMPONENT_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 <uavatt_ros/genom_state_task.h>

namespace uavatt_ros
{
template <class ContainerAllocator>
struct genom_state_component_
{
  typedef genom_state_component_<ContainerAllocator> Type;

  genom_state_component_()
    : task()
    , digest()
    , date()
    , version()  {
    }
  genom_state_component_(const ContainerAllocator& _alloc)
    : task(_alloc)
    , digest(_alloc)
    , date(_alloc)
    , version(_alloc)  {
  (void)_alloc;
    }



   typedef std::vector< ::uavatt_ros::genom_state_task_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::uavatt_ros::genom_state_task_<ContainerAllocator> >> _task_type;
  _task_type task;

   typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _digest_type;
  _digest_type digest;

   typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _date_type;
  _date_type date;

   typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _version_type;
  _version_type version;





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

}; // struct genom_state_component_

typedef ::uavatt_ros::genom_state_component_<std::allocator<void> > genom_state_component;

typedef boost::shared_ptr< ::uavatt_ros::genom_state_component > genom_state_componentPtr;
typedef boost::shared_ptr< ::uavatt_ros::genom_state_component const> genom_state_componentConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::uavatt_ros::genom_state_component_<ContainerAllocator1> & lhs, const ::uavatt_ros::genom_state_component_<ContainerAllocator2> & rhs)
{
  return lhs.task == rhs.task &&
    lhs.digest == rhs.digest &&
    lhs.date == rhs.date &&
    lhs.version == rhs.version;
}

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


} // namespace uavatt_ros

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::uavatt_ros::genom_state_component_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xd7045eed14f90201ULL;
  static const uint64_t static_value2 = 0xe8d03c3bee8bd266ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::uavatt_ros::genom_state_component_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# IDL struct ::genom::state::component\n"
"genom_state_task[] task\n"
"string digest\n"
"string date\n"
"string version\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/genom_state_task\n"
"# IDL struct ::genom::state::task\n"
"string name\n"
"genom_state_rusage rusage\n"
"genom_state_activity[] activity\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/genom_state_rusage\n"
"# IDL struct ::genom::state::rusage\n"
"uint32 cycles\n"
"genom_state_stats timings\n"
"genom_state_stats load\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/genom_state_stats\n"
"# IDL struct ::genom::state::stats\n"
"float32 last\n"
"float32 max\n"
"float32 avg\n"
"\n"
"================================================================================\n"
"MSG: uavatt_ros/genom_state_activity\n"
"# IDL struct ::genom::state::activity\n"
"uint32 id\n"
"string name\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::uavatt_ros::genom_state_component_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.task);
      stream.next(m.digest);
      stream.next(m.date);
      stream.next(m.version);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct genom_state_component_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::uavatt_ros::genom_state_component_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::uavatt_ros::genom_state_component_<ContainerAllocator>& v)
  {
    if (false || !indent.empty())
      s << std::endl;
    s << indent << "task: ";
    if (v.task.empty() || false)
      s << "[";
    for (size_t i = 0; i < v.task.size(); ++i)
    {
      if (false && i > 0)
        s << ", ";
      else if (!false)
        s << std::endl << indent << "  -";
      Printer< ::uavatt_ros::genom_state_task_<ContainerAllocator> >::stream(s, false ? std::string() : indent + "    ", v.task[i]);
    }
    if (v.task.empty() || false)
      s << "]";
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "digest: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + "  ", v.digest);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "date: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + "  ", v.date);
    if (true || !indent.empty())
      s << std::endl;
    s << indent << "version: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + "  ", v.version);
  }
};

} // namespace message_operations
} // namespace ros

#endif // UAVATT_ROS_MESSAGE_GENOM_STATE_COMPONENT_H
