WriteStateRequest.h 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. // Generated by gencpp from file cartographer_ros_msgs/WriteStateRequest.msg
  2. // DO NOT EDIT!
  3. #ifndef CARTOGRAPHER_ROS_MSGS_MESSAGE_WRITESTATEREQUEST_H
  4. #define CARTOGRAPHER_ROS_MSGS_MESSAGE_WRITESTATEREQUEST_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. namespace cartographer_ros_msgs
  13. {
  14. template <class ContainerAllocator>
  15. struct WriteStateRequest_
  16. {
  17. typedef WriteStateRequest_<ContainerAllocator> Type;
  18. WriteStateRequest_()
  19. : filename()
  20. , include_unfinished_submaps(false) {
  21. }
  22. WriteStateRequest_(const ContainerAllocator& _alloc)
  23. : filename(_alloc)
  24. , include_unfinished_submaps(false) {
  25. (void)_alloc;
  26. }
  27. typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _filename_type;
  28. _filename_type filename;
  29. typedef uint8_t _include_unfinished_submaps_type;
  30. _include_unfinished_submaps_type include_unfinished_submaps;
  31. typedef boost::shared_ptr< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> > Ptr;
  32. typedef boost::shared_ptr< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> const> ConstPtr;
  33. }; // struct WriteStateRequest_
  34. typedef ::cartographer_ros_msgs::WriteStateRequest_<std::allocator<void> > WriteStateRequest;
  35. typedef boost::shared_ptr< ::cartographer_ros_msgs::WriteStateRequest > WriteStateRequestPtr;
  36. typedef boost::shared_ptr< ::cartographer_ros_msgs::WriteStateRequest const> WriteStateRequestConstPtr;
  37. // constants requiring out of line definition
  38. template<typename ContainerAllocator>
  39. std::ostream& operator<<(std::ostream& s, const ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> & v)
  40. {
  41. ros::message_operations::Printer< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> >::stream(s, "", v);
  42. return s;
  43. }
  44. } // namespace cartographer_ros_msgs
  45. namespace ros
  46. {
  47. namespace message_traits
  48. {
  49. // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
  50. // {'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']}
  51. // !!!!!!!!!!! ['__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']
  52. template <class ContainerAllocator>
  53. struct IsFixedSize< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> >
  54. : FalseType
  55. { };
  56. template <class ContainerAllocator>
  57. struct IsFixedSize< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> const>
  58. : FalseType
  59. { };
  60. template <class ContainerAllocator>
  61. struct IsMessage< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> >
  62. : TrueType
  63. { };
  64. template <class ContainerAllocator>
  65. struct IsMessage< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> const>
  66. : TrueType
  67. { };
  68. template <class ContainerAllocator>
  69. struct HasHeader< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> >
  70. : FalseType
  71. { };
  72. template <class ContainerAllocator>
  73. struct HasHeader< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> const>
  74. : FalseType
  75. { };
  76. template<class ContainerAllocator>
  77. struct MD5Sum< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> >
  78. {
  79. static const char* value()
  80. {
  81. return "bfd12117d83df4fe52e78631c0c6b702";
  82. }
  83. static const char* value(const ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator>&) { return value(); }
  84. static const uint64_t static_value1 = 0xbfd12117d83df4feULL;
  85. static const uint64_t static_value2 = 0x52e78631c0c6b702ULL;
  86. };
  87. template<class ContainerAllocator>
  88. struct DataType< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> >
  89. {
  90. static const char* value()
  91. {
  92. return "cartographer_ros_msgs/WriteStateRequest";
  93. }
  94. static const char* value(const ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator>&) { return value(); }
  95. };
  96. template<class ContainerAllocator>
  97. struct Definition< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> >
  98. {
  99. static const char* value()
  100. {
  101. return "\n\
  102. \n\
  103. \n\
  104. \n\
  105. \n\
  106. \n\
  107. \n\
  108. \n\
  109. \n\
  110. \n\
  111. \n\
  112. \n\
  113. \n\
  114. \n\
  115. string filename\n\
  116. bool include_unfinished_submaps\n\
  117. ";
  118. }
  119. static const char* value(const ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator>&) { return value(); }
  120. };
  121. } // namespace message_traits
  122. } // namespace ros
  123. namespace ros
  124. {
  125. namespace serialization
  126. {
  127. template<class ContainerAllocator> struct Serializer< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> >
  128. {
  129. template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  130. {
  131. stream.next(m.filename);
  132. stream.next(m.include_unfinished_submaps);
  133. }
  134. ROS_DECLARE_ALLINONE_SERIALIZER
  135. }; // struct WriteStateRequest_
  136. } // namespace serialization
  137. } // namespace ros
  138. namespace ros
  139. {
  140. namespace message_operations
  141. {
  142. template<class ContainerAllocator>
  143. struct Printer< ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator> >
  144. {
  145. template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cartographer_ros_msgs::WriteStateRequest_<ContainerAllocator>& v)
  146. {
  147. s << indent << "filename: ";
  148. Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.filename);
  149. s << indent << "include_unfinished_submaps: ";
  150. Printer<uint8_t>::stream(s, indent + " ", v.include_unfinished_submaps);
  151. }
  152. };
  153. } // namespace message_operations
  154. } // namespace ros
  155. #endif // CARTOGRAPHER_ROS_MSGS_MESSAGE_WRITESTATEREQUEST_H