GetWaypointByNameResponse.h 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. // Generated by gencpp from file waterplus_map_tools/GetWaypointByNameResponse.msg
  2. // DO NOT EDIT!
  3. #ifndef WATERPLUS_MAP_TOOLS_MESSAGE_GETWAYPOINTBYNAMERESPONSE_H
  4. #define WATERPLUS_MAP_TOOLS_MESSAGE_GETWAYPOINTBYNAMERESPONSE_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. #include <geometry_msgs/Pose.h>
  13. namespace waterplus_map_tools
  14. {
  15. template <class ContainerAllocator>
  16. struct GetWaypointByNameResponse_
  17. {
  18. typedef GetWaypointByNameResponse_<ContainerAllocator> Type;
  19. GetWaypointByNameResponse_()
  20. : name()
  21. , pose() {
  22. }
  23. GetWaypointByNameResponse_(const ContainerAllocator& _alloc)
  24. : name(_alloc)
  25. , pose(_alloc) {
  26. (void)_alloc;
  27. }
  28. typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> _name_type;
  29. _name_type name;
  30. typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
  31. _pose_type pose;
  32. typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> > Ptr;
  33. typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> const> ConstPtr;
  34. }; // struct GetWaypointByNameResponse_
  35. typedef ::waterplus_map_tools::GetWaypointByNameResponse_<std::allocator<void> > GetWaypointByNameResponse;
  36. typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByNameResponse > GetWaypointByNameResponsePtr;
  37. typedef boost::shared_ptr< ::waterplus_map_tools::GetWaypointByNameResponse const> GetWaypointByNameResponseConstPtr;
  38. // constants requiring out of line definition
  39. template<typename ContainerAllocator>
  40. std::ostream& operator<<(std::ostream& s, const ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> & v)
  41. {
  42. ros::message_operations::Printer< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> >::stream(s, "", v);
  43. return s;
  44. }
  45. template<typename ContainerAllocator1, typename ContainerAllocator2>
  46. bool operator==(const ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator1> & lhs, const ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator2> & rhs)
  47. {
  48. return lhs.name == rhs.name &&
  49. lhs.pose == rhs.pose;
  50. }
  51. template<typename ContainerAllocator1, typename ContainerAllocator2>
  52. bool operator!=(const ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator1> & lhs, const ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator2> & rhs)
  53. {
  54. return !(lhs == rhs);
  55. }
  56. } // namespace waterplus_map_tools
  57. namespace ros
  58. {
  59. namespace message_traits
  60. {
  61. template <class ContainerAllocator>
  62. struct IsMessage< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> >
  63. : TrueType
  64. { };
  65. template <class ContainerAllocator>
  66. struct IsMessage< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> const>
  67. : TrueType
  68. { };
  69. template <class ContainerAllocator>
  70. struct IsFixedSize< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> >
  71. : FalseType
  72. { };
  73. template <class ContainerAllocator>
  74. struct IsFixedSize< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> const>
  75. : FalseType
  76. { };
  77. template <class ContainerAllocator>
  78. struct HasHeader< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> >
  79. : FalseType
  80. { };
  81. template <class ContainerAllocator>
  82. struct HasHeader< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> const>
  83. : FalseType
  84. { };
  85. template<class ContainerAllocator>
  86. struct MD5Sum< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> >
  87. {
  88. static const char* value()
  89. {
  90. return "177d54286ddeee12eba514054bddffd5";
  91. }
  92. static const char* value(const ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator>&) { return value(); }
  93. static const uint64_t static_value1 = 0x177d54286ddeee12ULL;
  94. static const uint64_t static_value2 = 0xeba514054bddffd5ULL;
  95. };
  96. template<class ContainerAllocator>
  97. struct DataType< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> >
  98. {
  99. static const char* value()
  100. {
  101. return "waterplus_map_tools/GetWaypointByNameResponse";
  102. }
  103. static const char* value(const ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator>&) { return value(); }
  104. };
  105. template<class ContainerAllocator>
  106. struct Definition< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> >
  107. {
  108. static const char* value()
  109. {
  110. return "string name\n"
  111. "geometry_msgs/Pose pose\n"
  112. "\n"
  113. "================================================================================\n"
  114. "MSG: geometry_msgs/Pose\n"
  115. "# A representation of pose in free space, composed of position and orientation. \n"
  116. "Point position\n"
  117. "Quaternion orientation\n"
  118. "\n"
  119. "================================================================================\n"
  120. "MSG: geometry_msgs/Point\n"
  121. "# This contains the position of a point in free space\n"
  122. "float64 x\n"
  123. "float64 y\n"
  124. "float64 z\n"
  125. "\n"
  126. "================================================================================\n"
  127. "MSG: geometry_msgs/Quaternion\n"
  128. "# This represents an orientation in free space in quaternion form.\n"
  129. "\n"
  130. "float64 x\n"
  131. "float64 y\n"
  132. "float64 z\n"
  133. "float64 w\n"
  134. ;
  135. }
  136. static const char* value(const ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator>&) { return value(); }
  137. };
  138. } // namespace message_traits
  139. } // namespace ros
  140. namespace ros
  141. {
  142. namespace serialization
  143. {
  144. template<class ContainerAllocator> struct Serializer< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> >
  145. {
  146. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  147. {
  148. stream.next(m.name);
  149. stream.next(m.pose);
  150. }
  151. ROS_DECLARE_ALLINONE_SERIALIZER
  152. }; // struct GetWaypointByNameResponse_
  153. } // namespace serialization
  154. } // namespace ros
  155. namespace ros
  156. {
  157. namespace message_operations
  158. {
  159. template<class ContainerAllocator>
  160. struct Printer< ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator> >
  161. {
  162. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::waterplus_map_tools::GetWaypointByNameResponse_<ContainerAllocator>& v)
  163. {
  164. s << indent << "name: ";
  165. Printer<std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>>::stream(s, indent + " ", v.name);
  166. s << indent << "pose: ";
  167. s << std::endl;
  168. Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
  169. }
  170. };
  171. } // namespace message_operations
  172. } // namespace ros
  173. #endif // WATERPLUS_MAP_TOOLS_MESSAGE_GETWAYPOINTBYNAMERESPONSE_H