Waypoint.h 6.5 KB

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