// Generated by gencpp from file common_msgs/SonarInfo.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_SONARINFO_H #define COMMON_MSGS_MESSAGE_SONARINFO_H #include #include #include #include #include #include #include namespace common_msgs { template struct SonarInfo_ { typedef SonarInfo_ Type; SonarInfo_() : sonarStatus() { } SonarInfo_(const ContainerAllocator& _alloc) : sonarStatus(_alloc) { (void)_alloc; } typedef std::vector::template rebind_alloc> _sonarStatus_type; _sonarStatus_type sonarStatus; typedef boost::shared_ptr< ::common_msgs::SonarInfo_ > Ptr; typedef boost::shared_ptr< ::common_msgs::SonarInfo_ const> ConstPtr; }; // struct SonarInfo_ typedef ::common_msgs::SonarInfo_ > SonarInfo; typedef boost::shared_ptr< ::common_msgs::SonarInfo > SonarInfoPtr; typedef boost::shared_ptr< ::common_msgs::SonarInfo const> SonarInfoConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::SonarInfo_ & v) { ros::message_operations::Printer< ::common_msgs::SonarInfo_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::SonarInfo_ & lhs, const ::common_msgs::SonarInfo_ & rhs) { return lhs.sonarStatus == rhs.sonarStatus; } template bool operator!=(const ::common_msgs::SonarInfo_ & lhs, const ::common_msgs::SonarInfo_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::SonarInfo_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::SonarInfo_ const> : FalseType { }; template struct IsMessage< ::common_msgs::SonarInfo_ > : TrueType { }; template struct IsMessage< ::common_msgs::SonarInfo_ const> : TrueType { }; template struct HasHeader< ::common_msgs::SonarInfo_ > : FalseType { }; template struct HasHeader< ::common_msgs::SonarInfo_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::SonarInfo_ > { static const char* value() { return "4590c910b92ed5c942464aba2d7434f2"; } static const char* value(const ::common_msgs::SonarInfo_&) { return value(); } static const uint64_t static_value1 = 0x4590c910b92ed5c9ULL; static const uint64_t static_value2 = 0x42464aba2d7434f2ULL; }; template struct DataType< ::common_msgs::SonarInfo_ > { static const char* value() { return "common_msgs/SonarInfo"; } static const char* value(const ::common_msgs::SonarInfo_&) { return value(); } }; template struct Definition< ::common_msgs::SonarInfo_ > { static const char* value() { return "int8[] sonarStatus\n" ; } static const char* value(const ::common_msgs::SonarInfo_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::SonarInfo_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.sonarStatus); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct SonarInfo_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::SonarInfo_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::SonarInfo_& v) { s << indent << "sonarStatus[]" << std::endl; for (size_t i = 0; i < v.sonarStatus.size(); ++i) { s << indent << " sonarStatus[" << i << "]: "; Printer::stream(s, indent + " ", v.sonarStatus[i]); } } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_SONARINFO_H