StartCollectMapRequest.h 6.7 KB

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