// 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 <string> #include <vector> #include <memory> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_message_traits.h> #include <ros/message_operations.h> #include <common_msgs/WifiInfo.h> namespace common_msgs { template <class ContainerAllocator> struct ScanWifiResponse_ { typedef ScanWifiResponse_<ContainerAllocator> Type; ScanWifiResponse_() : wifi_list() { } ScanWifiResponse_(const ContainerAllocator& _alloc) : wifi_list(_alloc) { (void)_alloc; } typedef std::vector< ::common_msgs::WifiInfo_<ContainerAllocator> , typename std::allocator_traits<ContainerAllocator>::template rebind_alloc< ::common_msgs::WifiInfo_<ContainerAllocator> >> _wifi_list_type; _wifi_list_type wifi_list; typedef boost::shared_ptr< ::common_msgs::ScanWifiResponse_<ContainerAllocator> > Ptr; typedef boost::shared_ptr< ::common_msgs::ScanWifiResponse_<ContainerAllocator> const> ConstPtr; }; // struct ScanWifiResponse_ typedef ::common_msgs::ScanWifiResponse_<std::allocator<void> > 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<typename ContainerAllocator> std::ostream& operator<<(std::ostream& s, const ::common_msgs::ScanWifiResponse_<ContainerAllocator> & v) { ros::message_operations::Printer< ::common_msgs::ScanWifiResponse_<ContainerAllocator> >::stream(s, "", v); return s; } template<typename ContainerAllocator1, typename ContainerAllocator2> bool operator==(const ::common_msgs::ScanWifiResponse_<ContainerAllocator1> & lhs, const ::common_msgs::ScanWifiResponse_<ContainerAllocator2> & rhs) { return lhs.wifi_list == rhs.wifi_list; } template<typename ContainerAllocator1, typename ContainerAllocator2> bool operator!=(const ::common_msgs::ScanWifiResponse_<ContainerAllocator1> & lhs, const ::common_msgs::ScanWifiResponse_<ContainerAllocator2> & rhs) { return !(lhs == rhs); } } // namespace common_msgs namespace ros { namespace message_traits { template <class ContainerAllocator> struct IsFixedSize< ::common_msgs::ScanWifiResponse_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct IsFixedSize< ::common_msgs::ScanWifiResponse_<ContainerAllocator> const> : FalseType { }; template <class ContainerAllocator> struct IsMessage< ::common_msgs::ScanWifiResponse_<ContainerAllocator> > : TrueType { }; template <class ContainerAllocator> struct IsMessage< ::common_msgs::ScanWifiResponse_<ContainerAllocator> const> : TrueType { }; template <class ContainerAllocator> struct HasHeader< ::common_msgs::ScanWifiResponse_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct HasHeader< ::common_msgs::ScanWifiResponse_<ContainerAllocator> const> : FalseType { }; template<class ContainerAllocator> struct MD5Sum< ::common_msgs::ScanWifiResponse_<ContainerAllocator> > { static const char* value() { return "d6c97b7f12b95cd143439e40b3d5c957"; } static const char* value(const ::common_msgs::ScanWifiResponse_<ContainerAllocator>&) { return value(); } static const uint64_t static_value1 = 0xd6c97b7f12b95cd1ULL; static const uint64_t static_value2 = 0x43439e40b3d5c957ULL; }; template<class ContainerAllocator> struct DataType< ::common_msgs::ScanWifiResponse_<ContainerAllocator> > { static const char* value() { return "common_msgs/ScanWifiResponse"; } static const char* value(const ::common_msgs::ScanWifiResponse_<ContainerAllocator>&) { return value(); } }; template<class ContainerAllocator> struct Definition< ::common_msgs::ScanWifiResponse_<ContainerAllocator> > { 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_<ContainerAllocator>&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template<class ContainerAllocator> struct Serializer< ::common_msgs::ScanWifiResponse_<ContainerAllocator> > { template<typename Stream, typename T> 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<class ContainerAllocator> struct Printer< ::common_msgs::ScanWifiResponse_<ContainerAllocator> > { template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::ScanWifiResponse_<ContainerAllocator>& 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_<ContainerAllocator> >::stream(s, indent + " ", v.wifi_list[i]); } } }; } // namespace message_operations } // namespace ros #endif // COMMON_MSGS_MESSAGE_SCANWIFIRESPONSE_H