Evaluate.h 6.4 KB

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