// 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 #include #include #include #include #include #include #include namespace common_msgs { template struct TaskFeedbackInfo_ { typedef TaskFeedbackInfo_ 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_ _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, typename std::allocator_traits::template rebind_alloc> _message_type; _message_type message; typedef boost::shared_ptr< ::common_msgs::TaskFeedbackInfo_ > Ptr; typedef boost::shared_ptr< ::common_msgs::TaskFeedbackInfo_ const> ConstPtr; }; // struct TaskFeedbackInfo_ typedef ::common_msgs::TaskFeedbackInfo_ > 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 std::ostream& operator<<(std::ostream& s, const ::common_msgs::TaskFeedbackInfo_ & v) { ros::message_operations::Printer< ::common_msgs::TaskFeedbackInfo_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::TaskFeedbackInfo_ & lhs, const ::common_msgs::TaskFeedbackInfo_ & 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 bool operator!=(const ::common_msgs::TaskFeedbackInfo_ & lhs, const ::common_msgs::TaskFeedbackInfo_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::TaskFeedbackInfo_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::TaskFeedbackInfo_ const> : FalseType { }; template struct IsMessage< ::common_msgs::TaskFeedbackInfo_ > : TrueType { }; template struct IsMessage< ::common_msgs::TaskFeedbackInfo_ const> : TrueType { }; template struct HasHeader< ::common_msgs::TaskFeedbackInfo_ > : FalseType { }; template struct HasHeader< ::common_msgs::TaskFeedbackInfo_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::TaskFeedbackInfo_ > { static const char* value() { return "2f7485e379d100f03211543f38d3436b"; } static const char* value(const ::common_msgs::TaskFeedbackInfo_&) { return value(); } static const uint64_t static_value1 = 0x2f7485e379d100f0ULL; static const uint64_t static_value2 = 0x3211543f38d3436bULL; }; template struct DataType< ::common_msgs::TaskFeedbackInfo_ > { static const char* value() { return "common_msgs/TaskFeedbackInfo"; } static const char* value(const ::common_msgs::TaskFeedbackInfo_&) { return value(); } }; template struct Definition< ::common_msgs::TaskFeedbackInfo_ > { 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_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::TaskFeedbackInfo_ > { template 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 struct Printer< ::common_msgs::TaskFeedbackInfo_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::TaskFeedbackInfo_& v) { s << indent << "task_info: "; s << std::endl; Printer< ::common_msgs::TaskInfo_ >::stream(s, indent + " ", v.task_info); s << indent << "task_status: "; Printer::stream(s, indent + " ", v.task_status); s << indent << "task_error_code: "; Printer::stream(s, indent + " ", v.task_error_code); s << indent << "message: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.message); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_TASKFEEDBACKINFO_H