// Generated by gencpp from file common_msgs/WifiInfo.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_WIFIINFO_H #define COMMON_MSGS_MESSAGE_WIFIINFO_H #include #include #include #include #include #include #include namespace common_msgs { template struct WifiInfo_ { typedef WifiInfo_ Type; WifiInfo_() : wifi_name() , level(0) { } WifiInfo_(const ContainerAllocator& _alloc) : wifi_name(_alloc) , level(0) { (void)_alloc; } typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _wifi_name_type; _wifi_name_type wifi_name; typedef int32_t _level_type; _level_type level; typedef boost::shared_ptr< ::common_msgs::WifiInfo_ > Ptr; typedef boost::shared_ptr< ::common_msgs::WifiInfo_ const> ConstPtr; }; // struct WifiInfo_ typedef ::common_msgs::WifiInfo_ > WifiInfo; typedef boost::shared_ptr< ::common_msgs::WifiInfo > WifiInfoPtr; typedef boost::shared_ptr< ::common_msgs::WifiInfo const> WifiInfoConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::WifiInfo_ & v) { ros::message_operations::Printer< ::common_msgs::WifiInfo_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::WifiInfo_ & lhs, const ::common_msgs::WifiInfo_ & rhs) { return lhs.wifi_name == rhs.wifi_name && lhs.level == rhs.level; } template bool operator!=(const ::common_msgs::WifiInfo_ & lhs, const ::common_msgs::WifiInfo_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::WifiInfo_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::WifiInfo_ const> : FalseType { }; template struct IsMessage< ::common_msgs::WifiInfo_ > : TrueType { }; template struct IsMessage< ::common_msgs::WifiInfo_ const> : TrueType { }; template struct HasHeader< ::common_msgs::WifiInfo_ > : FalseType { }; template struct HasHeader< ::common_msgs::WifiInfo_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::WifiInfo_ > { static const char* value() { return "2208983a79b60f616ffc67f0aae922b9"; } static const char* value(const ::common_msgs::WifiInfo_&) { return value(); } static const uint64_t static_value1 = 0x2208983a79b60f61ULL; static const uint64_t static_value2 = 0x6ffc67f0aae922b9ULL; }; template struct DataType< ::common_msgs::WifiInfo_ > { static const char* value() { return "common_msgs/WifiInfo"; } static const char* value(const ::common_msgs::WifiInfo_&) { return value(); } }; template struct Definition< ::common_msgs::WifiInfo_ > { static const char* value() { return "string wifi_name\n" "int32 level\n" ; } static const char* value(const ::common_msgs::WifiInfo_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::WifiInfo_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.wifi_name); stream.next(m.level); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct WifiInfo_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::WifiInfo_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::WifiInfo_& v) { s << indent << "wifi_name: "; Printer, typename std::allocator_traits::template rebind_alloc>>::stream(s, indent + " ", v.wifi_name); s << indent << "level: "; Printer::stream(s, indent + " ", v.level); } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_WIFIINFO_H