// Generated by gencpp from file common_msgs/TaskFeedbackInfo.msg
// DO NOT EDIT!


#ifndef COMMON_MSGS_MESSAGE_TASKFEEDBACKINFO_H
#define COMMON_MSGS_MESSAGE_TASKFEEDBACKINFO_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 <common_msgs/TaskInfo.h>

namespace common_msgs
{
template <class ContainerAllocator>
struct TaskFeedbackInfo_
{
  typedef TaskFeedbackInfo_<ContainerAllocator> Type;

  TaskFeedbackInfo_()
    : task_info()
    , task_status(0)
    , task_error_code(0)
    , message()  {
    }
  TaskFeedbackInfo_(const ContainerAllocator& _alloc)
    : task_info(_alloc)
    , task_status(0)
    , task_error_code(0)
    , message(_alloc)  {
  (void)_alloc;
    }



   typedef  ::common_msgs::TaskInfo_<ContainerAllocator>  _task_info_type;
  _task_info_type task_info;

   typedef int8_t _task_status_type;
  _task_status_type task_status;

   typedef int64_t _task_error_code_type;
  _task_error_code_type task_error_code;

   typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _message_type;
  _message_type message;





  typedef boost::shared_ptr< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> const> ConstPtr;

}; // struct TaskFeedbackInfo_

typedef ::common_msgs::TaskFeedbackInfo_<std::allocator<void> > TaskFeedbackInfo;

typedef boost::shared_ptr< ::common_msgs::TaskFeedbackInfo > TaskFeedbackInfoPtr;
typedef boost::shared_ptr< ::common_msgs::TaskFeedbackInfo const> TaskFeedbackInfoConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::common_msgs::TaskFeedbackInfo_<ContainerAllocator1> & lhs, const ::common_msgs::TaskFeedbackInfo_<ContainerAllocator2> & rhs)
{
  return lhs.task_info == rhs.task_info &&
    lhs.task_status == rhs.task_status &&
    lhs.task_error_code == rhs.task_error_code &&
    lhs.message == rhs.message;
}

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


} // namespace common_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsFixedSize< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct IsMessage< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> >
{
  static const char* value()
  {
    return "2f7485e379d100f03211543f38d3436b";
  }

  static const char* value(const ::common_msgs::TaskFeedbackInfo_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x2f7485e379d100f0ULL;
  static const uint64_t static_value2 = 0x3211543f38d3436bULL;
};

template<class ContainerAllocator>
struct DataType< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> >
{
  static const char* value()
  {
    return "common_msgs/TaskFeedbackInfo";
  }

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

template<class ContainerAllocator>
struct Definition< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> >
{
  static const char* value()
  {
    return "#任务执行反馈\n"
"#任务信息\n"
"TaskInfo task_info\n"
"#任务执行状态\n"
"int8 task_status\n"
"#任务执行错误码(无错时为0)\n"
"int64 task_error_code\n"
"#描述\n"
"string message\n"
"================================================================================\n"
"MSG: common_msgs/TaskInfo\n"
"#任务id\n"
"string task_id\n"
"#任务类型\n"
"int32 task_type\n"
"#子任务类型\n"
"int32 sub_task_type\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.task_info);
      stream.next(m.task_status);
      stream.next(m.task_error_code);
      stream.next(m.message);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct TaskFeedbackInfo_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::common_msgs::TaskFeedbackInfo_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::TaskFeedbackInfo_<ContainerAllocator>& v)
  {
    s << indent << "task_info: ";
    s << std::endl;
    Printer< ::common_msgs::TaskInfo_<ContainerAllocator> >::stream(s, indent + "  ", v.task_info);
    s << indent << "task_status: ";
    Printer<int8_t>::stream(s, indent + "  ", v.task_status);
    s << indent << "task_error_code: ";
    Printer<int64_t>::stream(s, indent + "  ", v.task_error_code);
    s << indent << "message: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + "  ", v.message);
  }
};

} // namespace message_operations
} // namespace ros

#endif // COMMON_MSGS_MESSAGE_TASKFEEDBACKINFO_H