// Generated by gencpp from file common_msgs/NavGoalResponse.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_NAVGOALRESPONSE_H #define COMMON_MSGS_MESSAGE_NAVGOALRESPONSE_H #include #include #include #include #include #include #include namespace common_msgs { template struct NavGoalResponse_ { typedef NavGoalResponse_ Type; NavGoalResponse_() : success(false) , message() , task_error_code(0) { } NavGoalResponse_(const ContainerAllocator& _alloc) : success(false) , message(_alloc) , task_error_code(0) { (void)_alloc; } typedef uint8_t _success_type; _success_type success; typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _message_type; _message_type message; typedef int64_t _task_error_code_type; _task_error_code_type task_error_code; typedef boost::shared_ptr< ::common_msgs::NavGoalResponse_ > Ptr; typedef boost::shared_ptr< ::common_msgs::NavGoalResponse_ const> ConstPtr; }; // struct NavGoalResponse_ typedef ::common_msgs::NavGoalResponse_ > NavGoalResponse; typedef boost::shared_ptr< ::common_msgs::NavGoalResponse > NavGoalResponsePtr; typedef boost::shared_ptr< ::common_msgs::NavGoalResponse const> NavGoalResponseConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::NavGoalResponse_ & v) { ros::message_operations::Printer< ::common_msgs::NavGoalResponse_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::NavGoalResponse_ & lhs, const ::common_msgs::NavGoalResponse_ & rhs) { return lhs.success == rhs.success && lhs.message == rhs.message && lhs.task_error_code == rhs.task_error_code; } template bool operator!=(const ::common_msgs::NavGoalResponse_ & lhs, const ::common_msgs::NavGoalResponse_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::NavGoalResponse_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::NavGoalResponse_ const> : FalseType { }; template struct IsMessage< ::common_msgs::NavGoalResponse_ > : TrueType { }; template struct IsMessage< ::common_msgs::NavGoalResponse_ const> : TrueType { }; template struct HasHeader< ::common_msgs::NavGoalResponse_ > : FalseType { }; template struct HasHeader< ::common_msgs::NavGoalResponse_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::NavGoalResponse_ > { static const char* value() { return "400a544fe3ba509a71b39fba4682ebc9"; } static const char* value(const ::common_msgs::NavGoalResponse_&) { return value(); } static const uint64_t static_value1 = 0x400a544fe3ba509aULL; static const uint64_t static_value2 = 0x71b39fba4682ebc9ULL; }; template struct DataType< ::common_msgs::NavGoalResponse_ > { static const char* value() { return "common_msgs/NavGoalResponse"; } static const char* value(const ::common_msgs::NavGoalResponse_&) { return value(); } }; template struct Definition< ::common_msgs::NavGoalResponse_ > { static const char* value() { return "bool success\n" "string message\n" "#任务执行错误码(无错时为0)\n" "int64 task_error_code\n" "\n" ; } static const char* value(const ::common_msgs::NavGoalResponse_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::NavGoalResponse_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.success); stream.next(m.message); stream.next(m.task_error_code); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct NavGoalResponse_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::NavGoalResponse_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::NavGoalResponse_& v) { s << indent << "success: "; Printer::stream(s, indent + " ", v.success); s << indent << "message: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.message); s << indent << "task_error_code: "; Printer::stream(s, indent + " ", v.task_error_code); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_NAVGOALRESPONSE_H