StartTrajectoryResponse.h 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. // Generated by gencpp from file cartographer_ros_msgs/StartTrajectoryResponse.msg
  2. // DO NOT EDIT!
  3. #ifndef CARTOGRAPHER_ROS_MSGS_MESSAGE_STARTTRAJECTORYRESPONSE_H
  4. #define CARTOGRAPHER_ROS_MSGS_MESSAGE_STARTTRAJECTORYRESPONSE_H
  5. #include <string>
  6. #include <vector>
  7. #include <map>
  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 <cartographer_ros_msgs/StatusResponse.h>
  13. namespace cartographer_ros_msgs
  14. {
  15. template <class ContainerAllocator>
  16. struct StartTrajectoryResponse_
  17. {
  18. typedef StartTrajectoryResponse_<ContainerAllocator> Type;
  19. StartTrajectoryResponse_()
  20. : status()
  21. , trajectory_id(0) {
  22. }
  23. StartTrajectoryResponse_(const ContainerAllocator& _alloc)
  24. : status(_alloc)
  25. , trajectory_id(0) {
  26. (void)_alloc;
  27. }
  28. typedef ::cartographer_ros_msgs::StatusResponse_<ContainerAllocator> _status_type;
  29. _status_type status;
  30. typedef int32_t _trajectory_id_type;
  31. _trajectory_id_type trajectory_id;
  32. typedef boost::shared_ptr< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> > Ptr;
  33. typedef boost::shared_ptr< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> const> ConstPtr;
  34. }; // struct StartTrajectoryResponse_
  35. typedef ::cartographer_ros_msgs::StartTrajectoryResponse_<std::allocator<void> > StartTrajectoryResponse;
  36. typedef boost::shared_ptr< ::cartographer_ros_msgs::StartTrajectoryResponse > StartTrajectoryResponsePtr;
  37. typedef boost::shared_ptr< ::cartographer_ros_msgs::StartTrajectoryResponse const> StartTrajectoryResponseConstPtr;
  38. // constants requiring out of line definition
  39. template<typename ContainerAllocator>
  40. std::ostream& operator<<(std::ostream& s, const ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> & v)
  41. {
  42. ros::message_operations::Printer< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> >::stream(s, "", v);
  43. return s;
  44. }
  45. } // namespace cartographer_ros_msgs
  46. namespace ros
  47. {
  48. namespace message_traits
  49. {
  50. // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
  51. // {'std_msgs': ['/opt/ros/melodic/share/std_msgs/cmake/../msg'], 'cartographer_ros_msgs': ['/home/youchen/Documents/catkin_ws/src/cartographer_ros/cartographer_ros_msgs/msg'], 'geometry_msgs': ['/opt/ros/melodic/share/geometry_msgs/cmake/../msg']}
  52. // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
  53. template <class ContainerAllocator>
  54. struct IsFixedSize< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> >
  55. : FalseType
  56. { };
  57. template <class ContainerAllocator>
  58. struct IsFixedSize< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> const>
  59. : FalseType
  60. { };
  61. template <class ContainerAllocator>
  62. struct IsMessage< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> >
  63. : TrueType
  64. { };
  65. template <class ContainerAllocator>
  66. struct IsMessage< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> const>
  67. : TrueType
  68. { };
  69. template <class ContainerAllocator>
  70. struct HasHeader< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> >
  71. : FalseType
  72. { };
  73. template <class ContainerAllocator>
  74. struct HasHeader< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> const>
  75. : FalseType
  76. { };
  77. template<class ContainerAllocator>
  78. struct MD5Sum< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> >
  79. {
  80. static const char* value()
  81. {
  82. return "a14602d76d9b734b374a25be319cdbe9";
  83. }
  84. static const char* value(const ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator>&) { return value(); }
  85. static const uint64_t static_value1 = 0xa14602d76d9b734bULL;
  86. static const uint64_t static_value2 = 0x374a25be319cdbe9ULL;
  87. };
  88. template<class ContainerAllocator>
  89. struct DataType< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> >
  90. {
  91. static const char* value()
  92. {
  93. return "cartographer_ros_msgs/StartTrajectoryResponse";
  94. }
  95. static const char* value(const ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator>&) { return value(); }
  96. };
  97. template<class ContainerAllocator>
  98. struct Definition< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> >
  99. {
  100. static const char* value()
  101. {
  102. return "cartographer_ros_msgs/StatusResponse status\n\
  103. int32 trajectory_id\n\
  104. \n\
  105. \n\
  106. ================================================================================\n\
  107. MSG: cartographer_ros_msgs/StatusResponse\n\
  108. # Copyright 2018 The Cartographer Authors\n\
  109. #\n\
  110. # Licensed under the Apache License, Version 2.0 (the \"License\");\n\
  111. # you may not use this file except in compliance with the License.\n\
  112. # You may obtain a copy of the License at\n\
  113. #\n\
  114. # http://www.apache.org/licenses/LICENSE-2.0\n\
  115. #\n\
  116. # Unless required by applicable law or agreed to in writing, software\n\
  117. # distributed under the License is distributed on an \"AS IS\" BASIS,\n\
  118. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
  119. # See the License for the specific language governing permissions and\n\
  120. # limitations under the License.\n\
  121. \n\
  122. # A common message type to indicate the outcome of a service call.\n\
  123. uint8 code\n\
  124. string message\n\
  125. ";
  126. }
  127. static const char* value(const ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator>&) { return value(); }
  128. };
  129. } // namespace message_traits
  130. } // namespace ros
  131. namespace ros
  132. {
  133. namespace serialization
  134. {
  135. template<class ContainerAllocator> struct Serializer< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> >
  136. {
  137. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  138. {
  139. stream.next(m.status);
  140. stream.next(m.trajectory_id);
  141. }
  142. ROS_DECLARE_ALLINONE_SERIALIZER
  143. }; // struct StartTrajectoryResponse_
  144. } // namespace serialization
  145. } // namespace ros
  146. namespace ros
  147. {
  148. namespace message_operations
  149. {
  150. template<class ContainerAllocator>
  151. struct Printer< ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator> >
  152. {
  153. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cartographer_ros_msgs::StartTrajectoryResponse_<ContainerAllocator>& v)
  154. {
  155. s << indent << "status: ";
  156. s << std::endl;
  157. Printer< ::cartographer_ros_msgs::StatusResponse_<ContainerAllocator> >::stream(s, indent + " ", v.status);
  158. s << indent << "trajectory_id: ";
  159. Printer<int32_t>::stream(s, indent + " ", v.trajectory_id);
  160. }
  161. };
  162. } // namespace message_operations
  163. } // namespace ros
  164. #endif // CARTOGRAPHER_ROS_MSGS_MESSAGE_STARTTRAJECTORYRESPONSE_H