WriteStateResponse.h 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. // Generated by gencpp from file cartographer_ros_msgs/WriteStateResponse.msg
  2. // DO NOT EDIT!
  3. #ifndef CARTOGRAPHER_ROS_MSGS_MESSAGE_WRITESTATERESPONSE_H
  4. #define CARTOGRAPHER_ROS_MSGS_MESSAGE_WRITESTATERESPONSE_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 WriteStateResponse_
  17. {
  18. typedef WriteStateResponse_<ContainerAllocator> Type;
  19. WriteStateResponse_()
  20. : status() {
  21. }
  22. WriteStateResponse_(const ContainerAllocator& _alloc)
  23. : status(_alloc) {
  24. (void)_alloc;
  25. }
  26. typedef ::cartographer_ros_msgs::StatusResponse_<ContainerAllocator> _status_type;
  27. _status_type status;
  28. typedef boost::shared_ptr< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> > Ptr;
  29. typedef boost::shared_ptr< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> const> ConstPtr;
  30. }; // struct WriteStateResponse_
  31. typedef ::cartographer_ros_msgs::WriteStateResponse_<std::allocator<void> > WriteStateResponse;
  32. typedef boost::shared_ptr< ::cartographer_ros_msgs::WriteStateResponse > WriteStateResponsePtr;
  33. typedef boost::shared_ptr< ::cartographer_ros_msgs::WriteStateResponse const> WriteStateResponseConstPtr;
  34. // constants requiring out of line definition
  35. template<typename ContainerAllocator>
  36. std::ostream& operator<<(std::ostream& s, const ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> & v)
  37. {
  38. ros::message_operations::Printer< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> >::stream(s, "", v);
  39. return s;
  40. }
  41. } // namespace cartographer_ros_msgs
  42. namespace ros
  43. {
  44. namespace message_traits
  45. {
  46. // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
  47. // {'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']}
  48. // !!!!!!!!!!! ['__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']
  49. template <class ContainerAllocator>
  50. struct IsFixedSize< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> >
  51. : FalseType
  52. { };
  53. template <class ContainerAllocator>
  54. struct IsFixedSize< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> const>
  55. : FalseType
  56. { };
  57. template <class ContainerAllocator>
  58. struct IsMessage< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> >
  59. : TrueType
  60. { };
  61. template <class ContainerAllocator>
  62. struct IsMessage< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> const>
  63. : TrueType
  64. { };
  65. template <class ContainerAllocator>
  66. struct HasHeader< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> >
  67. : FalseType
  68. { };
  69. template <class ContainerAllocator>
  70. struct HasHeader< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> const>
  71. : FalseType
  72. { };
  73. template<class ContainerAllocator>
  74. struct MD5Sum< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> >
  75. {
  76. static const char* value()
  77. {
  78. return "4e6ca4e44081fa06b258fa12804ea7cb";
  79. }
  80. static const char* value(const ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator>&) { return value(); }
  81. static const uint64_t static_value1 = 0x4e6ca4e44081fa06ULL;
  82. static const uint64_t static_value2 = 0xb258fa12804ea7cbULL;
  83. };
  84. template<class ContainerAllocator>
  85. struct DataType< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> >
  86. {
  87. static const char* value()
  88. {
  89. return "cartographer_ros_msgs/WriteStateResponse";
  90. }
  91. static const char* value(const ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator>&) { return value(); }
  92. };
  93. template<class ContainerAllocator>
  94. struct Definition< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> >
  95. {
  96. static const char* value()
  97. {
  98. return "cartographer_ros_msgs/StatusResponse status\n\
  99. \n\
  100. \n\
  101. ================================================================================\n\
  102. MSG: cartographer_ros_msgs/StatusResponse\n\
  103. # Copyright 2018 The Cartographer Authors\n\
  104. #\n\
  105. # Licensed under the Apache License, Version 2.0 (the \"License\");\n\
  106. # you may not use this file except in compliance with the License.\n\
  107. # You may obtain a copy of the License at\n\
  108. #\n\
  109. # http://www.apache.org/licenses/LICENSE-2.0\n\
  110. #\n\
  111. # Unless required by applicable law or agreed to in writing, software\n\
  112. # distributed under the License is distributed on an \"AS IS\" BASIS,\n\
  113. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
  114. # See the License for the specific language governing permissions and\n\
  115. # limitations under the License.\n\
  116. \n\
  117. # A common message type to indicate the outcome of a service call.\n\
  118. uint8 code\n\
  119. string message\n\
  120. ";
  121. }
  122. static const char* value(const ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator>&) { return value(); }
  123. };
  124. } // namespace message_traits
  125. } // namespace ros
  126. namespace ros
  127. {
  128. namespace serialization
  129. {
  130. template<class ContainerAllocator> struct Serializer< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> >
  131. {
  132. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  133. {
  134. stream.next(m.status);
  135. }
  136. ROS_DECLARE_ALLINONE_SERIALIZER
  137. }; // struct WriteStateResponse_
  138. } // namespace serialization
  139. } // namespace ros
  140. namespace ros
  141. {
  142. namespace message_operations
  143. {
  144. template<class ContainerAllocator>
  145. struct Printer< ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator> >
  146. {
  147. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cartographer_ros_msgs::WriteStateResponse_<ContainerAllocator>& v)
  148. {
  149. s << indent << "status: ";
  150. s << std::endl;
  151. Printer< ::cartographer_ros_msgs::StatusResponse_<ContainerAllocator> >::stream(s, indent + " ", v.status);
  152. }
  153. };
  154. } // namespace message_operations
  155. } // namespace ros
  156. #endif // CARTOGRAPHER_ROS_MSGS_MESSAGE_WRITESTATERESPONSE_H