123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- // 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 <string>
- #include <vector>
- #include <memory>
- #include <ros/types.h>
- #include <ros/serialization.h>
- #include <ros/builtin_message_traits.h>
- #include <ros/message_operations.h>
- namespace common_msgs
- {
- template <class ContainerAllocator>
- struct SonarInfo_
- {
- typedef SonarInfo_<ContainerAllocator> Type;
- SonarInfo_()
- : sonarStatus() {
- }
- SonarInfo_(const ContainerAllocator& _alloc)
- : sonarStatus(_alloc) {
- (void)_alloc;
- }
- typedef std::vector<int8_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int8_t>> _sonarStatus_type;
- _sonarStatus_type sonarStatus;
- typedef boost::shared_ptr< ::common_msgs::SonarInfo_<ContainerAllocator> > Ptr;
- typedef boost::shared_ptr< ::common_msgs::SonarInfo_<ContainerAllocator> const> ConstPtr;
- }; // struct SonarInfo_
- typedef ::common_msgs::SonarInfo_<std::allocator<void> > 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<typename ContainerAllocator>
- std::ostream& operator<<(std::ostream& s, const ::common_msgs::SonarInfo_<ContainerAllocator> & v)
- {
- ros::message_operations::Printer< ::common_msgs::SonarInfo_<ContainerAllocator> >::stream(s, "", v);
- return s;
- }
- template<typename ContainerAllocator1, typename ContainerAllocator2>
- bool operator==(const ::common_msgs::SonarInfo_<ContainerAllocator1> & lhs, const ::common_msgs::SonarInfo_<ContainerAllocator2> & rhs)
- {
- return lhs.sonarStatus == rhs.sonarStatus;
- }
- template<typename ContainerAllocator1, typename ContainerAllocator2>
- bool operator!=(const ::common_msgs::SonarInfo_<ContainerAllocator1> & lhs, const ::common_msgs::SonarInfo_<ContainerAllocator2> & rhs)
- {
- return !(lhs == rhs);
- }
- } // namespace common_msgs
- namespace ros
- {
- namespace message_traits
- {
- template <class ContainerAllocator>
- struct IsFixedSize< ::common_msgs::SonarInfo_<ContainerAllocator> >
- : FalseType
- { };
- template <class ContainerAllocator>
- struct IsFixedSize< ::common_msgs::SonarInfo_<ContainerAllocator> const>
- : FalseType
- { };
- template <class ContainerAllocator>
- struct IsMessage< ::common_msgs::SonarInfo_<ContainerAllocator> >
- : TrueType
- { };
- template <class ContainerAllocator>
- struct IsMessage< ::common_msgs::SonarInfo_<ContainerAllocator> const>
- : TrueType
- { };
- template <class ContainerAllocator>
- struct HasHeader< ::common_msgs::SonarInfo_<ContainerAllocator> >
- : FalseType
- { };
- template <class ContainerAllocator>
- struct HasHeader< ::common_msgs::SonarInfo_<ContainerAllocator> const>
- : FalseType
- { };
- template<class ContainerAllocator>
- struct MD5Sum< ::common_msgs::SonarInfo_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "4590c910b92ed5c942464aba2d7434f2";
- }
- static const char* value(const ::common_msgs::SonarInfo_<ContainerAllocator>&) { return value(); }
- static const uint64_t static_value1 = 0x4590c910b92ed5c9ULL;
- static const uint64_t static_value2 = 0x42464aba2d7434f2ULL;
- };
- template<class ContainerAllocator>
- struct DataType< ::common_msgs::SonarInfo_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "common_msgs/SonarInfo";
- }
- static const char* value(const ::common_msgs::SonarInfo_<ContainerAllocator>&) { return value(); }
- };
- template<class ContainerAllocator>
- struct Definition< ::common_msgs::SonarInfo_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "int8[] sonarStatus\n"
- ;
- }
- static const char* value(const ::common_msgs::SonarInfo_<ContainerAllocator>&) { return value(); }
- };
- } // namespace message_traits
- } // namespace ros
- namespace ros
- {
- namespace serialization
- {
- template<class ContainerAllocator> struct Serializer< ::common_msgs::SonarInfo_<ContainerAllocator> >
- {
- template<typename Stream, typename T> 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<class ContainerAllocator>
- struct Printer< ::common_msgs::SonarInfo_<ContainerAllocator> >
- {
- template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::SonarInfo_<ContainerAllocator>& v)
- {
- s << indent << "sonarStatus[]" << std::endl;
- for (size_t i = 0; i < v.sonarStatus.size(); ++i)
- {
- s << indent << " sonarStatus[" << i << "]: ";
- Printer<int8_t>::stream(s, indent + " ", v.sonarStatus[i]);
- }
- }
- };
- } // namespace message_operations
- } // namespace ros
- #endif // COMMON_MSGS_MESSAGE_SONARINFO_H
|