// Generated by gencpp from file common_msgs/ScanWifiResponse.msg // DO NOT EDIT! #ifndef COMMON_MSGS_MESSAGE_SCANWIFIRESPONSE_H #define COMMON_MSGS_MESSAGE_SCANWIFIRESPONSE_H #include #include #include #include #include #include #include #include namespace common_msgs { template struct ScanWifiResponse_ { typedef ScanWifiResponse_ Type; ScanWifiResponse_() : wifi_list() { } ScanWifiResponse_(const ContainerAllocator& _alloc) : wifi_list(_alloc) { (void)_alloc; } typedef std::vector< ::common_msgs::WifiInfo_ , typename std::allocator_traits::template rebind_alloc< ::common_msgs::WifiInfo_ >> _wifi_list_type; _wifi_list_type wifi_list; typedef boost::shared_ptr< ::common_msgs::ScanWifiResponse_ > Ptr; typedef boost::shared_ptr< ::common_msgs::ScanWifiResponse_ const> ConstPtr; }; // struct ScanWifiResponse_ typedef ::common_msgs::ScanWifiResponse_ > ScanWifiResponse; typedef boost::shared_ptr< ::common_msgs::ScanWifiResponse > ScanWifiResponsePtr; typedef boost::shared_ptr< ::common_msgs::ScanWifiResponse const> ScanWifiResponseConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::common_msgs::ScanWifiResponse_ & v) { ros::message_operations::Printer< ::common_msgs::ScanWifiResponse_ >::stream(s, "", v); return s; } template bool operator==(const ::common_msgs::ScanWifiResponse_ & lhs, const ::common_msgs::ScanWifiResponse_ & rhs) { return lhs.wifi_list == rhs.wifi_list; } template bool operator!=(const ::common_msgs::ScanWifiResponse_ & lhs, const ::common_msgs::ScanWifiResponse_ & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template struct IsFixedSize< ::common_msgs::ScanWifiResponse_ > : FalseType { }; template struct IsFixedSize< ::common_msgs::ScanWifiResponse_ const> : FalseType { }; template struct IsMessage< ::common_msgs::ScanWifiResponse_ > : TrueType { }; template struct IsMessage< ::common_msgs::ScanWifiResponse_ const> : TrueType { }; template struct HasHeader< ::common_msgs::ScanWifiResponse_ > : FalseType { }; template struct HasHeader< ::common_msgs::ScanWifiResponse_ const> : FalseType { }; template struct MD5Sum< ::common_msgs::ScanWifiResponse_ > { static const char* value() { return "d6c97b7f12b95cd143439e40b3d5c957"; } static const char* value(const ::common_msgs::ScanWifiResponse_&) { return value(); } static const uint64_t static_value1 = 0xd6c97b7f12b95cd1ULL; static const uint64_t static_value2 = 0x43439e40b3d5c957ULL; }; template struct DataType< ::common_msgs::ScanWifiResponse_ > { static const char* value() { return "common_msgs/ScanWifiResponse"; } static const char* value(const ::common_msgs::ScanWifiResponse_&) { return value(); } }; template struct Definition< ::common_msgs::ScanWifiResponse_ > { static const char* value() { return "WifiInfo[] wifi_list\n" "\n" "\n" "================================================================================\n" "MSG: common_msgs/WifiInfo\n" "string wifi_name\n" "int32 level\n" ; } static const char* value(const ::common_msgs::ScanWifiResponse_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::common_msgs::ScanWifiResponse_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.wifi_list); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct ScanWifiResponse_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::common_msgs::ScanWifiResponse_ > { template static void stream(Stream& s, const std::string& indent, const ::common_msgs::ScanWifiResponse_& v) { s << indent << "wifi_list[]" << std::endl; for (size_t i = 0; i < v.wifi_list.size(); ++i) { s << indent << " wifi_list[" << i << "]: "; s << std::endl; s << indent; Printer< ::common_msgs::WifiInfo_ >::stream(s, indent + " ", v.wifi_list[i]); } } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_SCANWIFIRESPONSE_H