SetParameterRequest.h 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. // Generated by gencpp from file common_msgs/SetParameterRequest.msg
  2. // DO NOT EDIT!
  3. #ifndef COMMON_MSGS_MESSAGE_SETPARAMETERREQUEST_H
  4. #define COMMON_MSGS_MESSAGE_SETPARAMETERREQUEST_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 SetParameterRequest_
  16. {
  17. typedef SetParameterRequest_<ContainerAllocator> Type;
  18. SetParameterRequest_()
  19. : min_nav_speed(0.0)
  20. , max_nav_speed(0.0)
  21. , max_vel_theta(0.0)
  22. , min_vel_theta(0.0) {
  23. }
  24. SetParameterRequest_(const ContainerAllocator& _alloc)
  25. : min_nav_speed(0.0)
  26. , max_nav_speed(0.0)
  27. , max_vel_theta(0.0)
  28. , min_vel_theta(0.0) {
  29. (void)_alloc;
  30. }
  31. typedef float _min_nav_speed_type;
  32. _min_nav_speed_type min_nav_speed;
  33. typedef float _max_nav_speed_type;
  34. _max_nav_speed_type max_nav_speed;
  35. typedef float _max_vel_theta_type;
  36. _max_vel_theta_type max_vel_theta;
  37. typedef float _min_vel_theta_type;
  38. _min_vel_theta_type min_vel_theta;
  39. typedef boost::shared_ptr< ::common_msgs::SetParameterRequest_<ContainerAllocator> > Ptr;
  40. typedef boost::shared_ptr< ::common_msgs::SetParameterRequest_<ContainerAllocator> const> ConstPtr;
  41. }; // struct SetParameterRequest_
  42. typedef ::common_msgs::SetParameterRequest_<std::allocator<void> > SetParameterRequest;
  43. typedef boost::shared_ptr< ::common_msgs::SetParameterRequest > SetParameterRequestPtr;
  44. typedef boost::shared_ptr< ::common_msgs::SetParameterRequest const> SetParameterRequestConstPtr;
  45. // constants requiring out of line definition
  46. template<typename ContainerAllocator>
  47. std::ostream& operator<<(std::ostream& s, const ::common_msgs::SetParameterRequest_<ContainerAllocator> & v)
  48. {
  49. ros::message_operations::Printer< ::common_msgs::SetParameterRequest_<ContainerAllocator> >::stream(s, "", v);
  50. return s;
  51. }
  52. template<typename ContainerAllocator1, typename ContainerAllocator2>
  53. bool operator==(const ::common_msgs::SetParameterRequest_<ContainerAllocator1> & lhs, const ::common_msgs::SetParameterRequest_<ContainerAllocator2> & rhs)
  54. {
  55. return lhs.min_nav_speed == rhs.min_nav_speed &&
  56. lhs.max_nav_speed == rhs.max_nav_speed &&
  57. lhs.max_vel_theta == rhs.max_vel_theta &&
  58. lhs.min_vel_theta == rhs.min_vel_theta;
  59. }
  60. template<typename ContainerAllocator1, typename ContainerAllocator2>
  61. bool operator!=(const ::common_msgs::SetParameterRequest_<ContainerAllocator1> & lhs, const ::common_msgs::SetParameterRequest_<ContainerAllocator2> & rhs)
  62. {
  63. return !(lhs == rhs);
  64. }
  65. } // namespace common_msgs
  66. namespace ros
  67. {
  68. namespace message_traits
  69. {
  70. template <class ContainerAllocator>
  71. struct IsFixedSize< ::common_msgs::SetParameterRequest_<ContainerAllocator> >
  72. : TrueType
  73. { };
  74. template <class ContainerAllocator>
  75. struct IsFixedSize< ::common_msgs::SetParameterRequest_<ContainerAllocator> const>
  76. : TrueType
  77. { };
  78. template <class ContainerAllocator>
  79. struct IsMessage< ::common_msgs::SetParameterRequest_<ContainerAllocator> >
  80. : TrueType
  81. { };
  82. template <class ContainerAllocator>
  83. struct IsMessage< ::common_msgs::SetParameterRequest_<ContainerAllocator> const>
  84. : TrueType
  85. { };
  86. template <class ContainerAllocator>
  87. struct HasHeader< ::common_msgs::SetParameterRequest_<ContainerAllocator> >
  88. : FalseType
  89. { };
  90. template <class ContainerAllocator>
  91. struct HasHeader< ::common_msgs::SetParameterRequest_<ContainerAllocator> const>
  92. : FalseType
  93. { };
  94. template<class ContainerAllocator>
  95. struct MD5Sum< ::common_msgs::SetParameterRequest_<ContainerAllocator> >
  96. {
  97. static const char* value()
  98. {
  99. return "9fa9957c297342539ba3dbb29ccbdb7a";
  100. }
  101. static const char* value(const ::common_msgs::SetParameterRequest_<ContainerAllocator>&) { return value(); }
  102. static const uint64_t static_value1 = 0x9fa9957c29734253ULL;
  103. static const uint64_t static_value2 = 0x9ba3dbb29ccbdb7aULL;
  104. };
  105. template<class ContainerAllocator>
  106. struct DataType< ::common_msgs::SetParameterRequest_<ContainerAllocator> >
  107. {
  108. static const char* value()
  109. {
  110. return "common_msgs/SetParameterRequest";
  111. }
  112. static const char* value(const ::common_msgs::SetParameterRequest_<ContainerAllocator>&) { return value(); }
  113. };
  114. template<class ContainerAllocator>
  115. struct Definition< ::common_msgs::SetParameterRequest_<ContainerAllocator> >
  116. {
  117. static const char* value()
  118. {
  119. return "\n"
  120. "float32 min_nav_speed\n"
  121. "float32 max_nav_speed\n"
  122. "float32 max_vel_theta\n"
  123. "float32 min_vel_theta\n"
  124. ;
  125. }
  126. static const char* value(const ::common_msgs::SetParameterRequest_<ContainerAllocator>&) { return value(); }
  127. };
  128. } // namespace message_traits
  129. } // namespace ros
  130. namespace ros
  131. {
  132. namespace serialization
  133. {
  134. template<class ContainerAllocator> struct Serializer< ::common_msgs::SetParameterRequest_<ContainerAllocator> >
  135. {
  136. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  137. {
  138. stream.next(m.min_nav_speed);
  139. stream.next(m.max_nav_speed);
  140. stream.next(m.max_vel_theta);
  141. stream.next(m.min_vel_theta);
  142. }
  143. ROS_DECLARE_ALLINONE_SERIALIZER
  144. }; // struct SetParameterRequest_
  145. } // namespace serialization
  146. } // namespace ros
  147. namespace ros
  148. {
  149. namespace message_operations
  150. {
  151. template<class ContainerAllocator>
  152. struct Printer< ::common_msgs::SetParameterRequest_<ContainerAllocator> >
  153. {
  154. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common_msgs::SetParameterRequest_<ContainerAllocator>& v)
  155. {
  156. s << indent << "min_nav_speed: ";
  157. Printer<float>::stream(s, indent + " ", v.min_nav_speed);
  158. s << indent << "max_nav_speed: ";
  159. Printer<float>::stream(s, indent + " ", v.max_nav_speed);
  160. s << indent << "max_vel_theta: ";
  161. Printer<float>::stream(s, indent + " ", v.max_vel_theta);
  162. s << indent << "min_vel_theta: ";
  163. Printer<float>::stream(s, indent + " ", v.min_vel_theta);
  164. }
  165. };
  166. } // namespace message_operations
  167. } // namespace ros
  168. #endif // COMMON_MSGS_MESSAGE_SETPARAMETERREQUEST_H