ConnectedWifiResponse.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. // Generated by gencpp from file common_msgs/ConnectedWifiResponse.msg
  2. // DO NOT EDIT!
  3. #ifndef COMMON_MSGS_MESSAGE_CONNECTEDWIFIRESPONSE_H
  4. #define COMMON_MSGS_MESSAGE_CONNECTEDWIFIRESPONSE_H
  5. #include <string>
  6. #include <vector>
  7. #include <memory>
  8. #include <ros/types.h>
  9. #include <ros/serialization.h>
  10. #include <ros/builtin_message_traits.h>
  11. #include <ros/message_operations.h>
  12. namespace common_msgs
  13. {
  14. template <class ContainerAllocator>
  15. struct ConnectedWifiResponse_
  16. {
  17. typedef ConnectedWifiResponse_<ContainerAllocator> Type;
  18. ConnectedWifiResponse_()
  19. : ssid() {
  20. }
  21. ConnectedWifiResponse_(const ContainerAllocator& _alloc)
  22. : ssid(_alloc) {
  23. (void)_alloc;
  24. }
  25. typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _ssid_type;
  26. _ssid_type ssid;
  27. typedef boost::shared_ptr< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> > Ptr;
  28. typedef boost::shared_ptr< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> const> ConstPtr;
  29. }; // struct ConnectedWifiResponse_
  30. typedef ::common_msgs::ConnectedWifiResponse_<std::allocator<void> > ConnectedWifiResponse;
  31. typedef boost::shared_ptr< ::common_msgs::ConnectedWifiResponse > ConnectedWifiResponsePtr;
  32. typedef boost::shared_ptr< ::common_msgs::ConnectedWifiResponse const> ConnectedWifiResponseConstPtr;
  33. // constants requiring out of line definition
  34. template<typename ContainerAllocator>
  35. std::ostream& operator<<(std::ostream& s, const ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> & v)
  36. {
  37. ros::message_operations::Printer< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> >::stream(s, "", v);
  38. return s;
  39. }
  40. template<typename ContainerAllocator1, typename ContainerAllocator2>
  41. bool operator==(const ::common_msgs::ConnectedWifiResponse_<ContainerAllocator1> & lhs, const ::common_msgs::ConnectedWifiResponse_<ContainerAllocator2> & rhs)
  42. {
  43. return lhs.ssid == rhs.ssid;
  44. }
  45. template<typename ContainerAllocator1, typename ContainerAllocator2>
  46. bool operator!=(const ::common_msgs::ConnectedWifiResponse_<ContainerAllocator1> & lhs, const ::common_msgs::ConnectedWifiResponse_<ContainerAllocator2> & rhs)
  47. {
  48. return !(lhs == rhs);
  49. }
  50. } // namespace common_msgs
  51. namespace ros
  52. {
  53. namespace message_traits
  54. {
  55. template <class ContainerAllocator>
  56. struct IsFixedSize< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> >
  57. : FalseType
  58. { };
  59. template <class ContainerAllocator>
  60. struct IsFixedSize< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> const>
  61. : FalseType
  62. { };
  63. template <class ContainerAllocator>
  64. struct IsMessage< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> >
  65. : TrueType
  66. { };
  67. template <class ContainerAllocator>
  68. struct IsMessage< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> const>
  69. : TrueType
  70. { };
  71. template <class ContainerAllocator>
  72. struct HasHeader< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> >
  73. : FalseType
  74. { };
  75. template <class ContainerAllocator>
  76. struct HasHeader< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> const>
  77. : FalseType
  78. { };
  79. template<class ContainerAllocator>
  80. struct MD5Sum< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> >
  81. {
  82. static const char* value()
  83. {
  84. return "3e29fdd3743ba7205f5433d56127be36";
  85. }
  86. static const char* value(const ::common_msgs::ConnectedWifiResponse_<ContainerAllocator>&) { return value(); }
  87. static const uint64_t static_value1 = 0x3e29fdd3743ba720ULL;
  88. static const uint64_t static_value2 = 0x5f5433d56127be36ULL;
  89. };
  90. template<class ContainerAllocator>
  91. struct DataType< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> >
  92. {
  93. static const char* value()
  94. {
  95. return "common_msgs/ConnectedWifiResponse";
  96. }
  97. static const char* value(const ::common_msgs::ConnectedWifiResponse_<ContainerAllocator>&) { return value(); }
  98. };
  99. template<class ContainerAllocator>
  100. struct Definition< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> >
  101. {
  102. static const char* value()
  103. {
  104. return "string ssid\n"
  105. "\n"
  106. ;
  107. }
  108. static const char* value(const ::common_msgs::ConnectedWifiResponse_<ContainerAllocator>&) { return value(); }
  109. };
  110. } // namespace message_traits
  111. } // namespace ros
  112. namespace ros
  113. {
  114. namespace serialization
  115. {
  116. template<class ContainerAllocator> struct Serializer< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> >
  117. {
  118. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  119. {
  120. stream.next(m.ssid);
  121. }
  122. ROS_DECLARE_ALLINONE_SERIALIZER
  123. }; // struct ConnectedWifiResponse_
  124. } // namespace serialization
  125. } // namespace ros
  126. namespace ros
  127. {
  128. namespace message_operations
  129. {
  130. template<class ContainerAllocator>
  131. struct Printer< ::common_msgs::ConnectedWifiResponse_<ContainerAllocator> >
  132. {
  133. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::ConnectedWifiResponse_<ContainerAllocator>& v)
  134. {
  135. s << indent << "ssid: ";
  136. Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.ssid);
  137. }
  138. };
  139. } // namespace message_operations
  140. } // namespace ros
  141. #endif // COMMON_MSGS_MESSAGE_CONNECTEDWIFIRESPONSE_H