lslidar_controlResponse.h 5.1 KB

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