AutoCar  v1.0.0
AprilTagDetectionArray.h
1 // Generated by gencpp from file apriltags_ros/AprilTagDetectionArray.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef APRILTAGS_ROS_MESSAGE_APRILTAGDETECTIONARRAY_H
6 #define APRILTAGS_ROS_MESSAGE_APRILTAGDETECTIONARRAY_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
15 #include <ros/builtin_message_traits.h>
16 #include <ros/message_operations.h>
17 
18 #include <apriltags_ros/AprilTagDetection.h>
19 
20 namespace apriltags_ros
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : detections() {
29  }
30  AprilTagDetectionArray_(const ContainerAllocator& _alloc)
31  : detections(_alloc) {
32  (void)_alloc;
33  }
34 
35 
36 
37  typedef std::vector< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >::other > _detections_type;
38  _detections_type detections;
39 
40 
41 
42 
43  typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> > Ptr;
44  typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> const> ConstPtr;
45 
46 }; // struct AprilTagDetectionArray_
47 
48 typedef ::apriltags_ros::AprilTagDetectionArray_<std::allocator<void> > AprilTagDetectionArray;
49 
50 typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetectionArray > AprilTagDetectionArrayPtr;
51 typedef boost::shared_ptr< ::apriltags_ros::AprilTagDetectionArray const> AprilTagDetectionArrayConstPtr;
52 
53 // constants requiring out of line definition
54 
55 
56 
57 template<typename ContainerAllocator>
58 std::ostream& operator<<(std::ostream& s, const ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> & v)
59 {
60 ros::message_operations::Printer< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> >::stream(s, "", v);
61 return s;
62 }
63 
64 } // namespace apriltags_ros
65 
66 namespace ros
67 {
68 namespace message_traits
69 {
70 
71 
72 
73 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
74 // {'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'apriltags_ros': ['/home/ubuntu/auto_car/src/apriltags_ros/apriltags_ros/msg']}
75 
76 // !!!!!!!!!!! ['__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']
77 
78 
79 
80 
81 template <class ContainerAllocator>
82 struct IsFixedSize< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> >
83  : FalseType
84  { };
85 
86 template <class ContainerAllocator>
87 struct IsFixedSize< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> const>
88  : FalseType
89  { };
90 
91 template <class ContainerAllocator>
92 struct IsMessage< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> >
93  : TrueType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsMessage< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> const>
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
102 struct HasHeader< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> >
103  : FalseType
104  { };
105 
106 template <class ContainerAllocator>
107 struct HasHeader< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> const>
108  : FalseType
109  { };
110 
111 
112 template<class ContainerAllocator>
113 struct MD5Sum< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> >
114 {
115  static const char* value()
116  {
117  return "93c0a301ed9e6633dc34b8117d49ebd4";
118  }
119 
120  static const char* value(const ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator>&) { return value(); }
121  static const uint64_t static_value1 = 0x93c0a301ed9e6633ULL;
122  static const uint64_t static_value2 = 0xdc34b8117d49ebd4ULL;
123 };
124 
125 template<class ContainerAllocator>
126 struct DataType< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> >
127 {
128  static const char* value()
129  {
130  return "apriltags_ros/AprilTagDetectionArray";
131  }
132 
133  static const char* value(const ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator>&) { return value(); }
134 };
135 
136 template<class ContainerAllocator>
137 struct Definition< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> >
138 {
139  static const char* value()
140  {
141  return "AprilTagDetection[] detections\n\
142 ================================================================================\n\
143 MSG: apriltags_ros/AprilTagDetection\n\
144 int32 id\n\
145 float64 size\n\
146 geometry_msgs/PoseStamped pose\n\
147 ================================================================================\n\
148 MSG: geometry_msgs/PoseStamped\n\
149 # A Pose with reference coordinate frame and timestamp\n\
150 Header header\n\
151 Pose pose\n\
152 \n\
153 ================================================================================\n\
154 MSG: std_msgs/Header\n\
155 # Standard metadata for higher-level stamped data types.\n\
156 # This is generally used to communicate timestamped data \n\
157 # in a particular coordinate frame.\n\
158 # \n\
159 # sequence ID: consecutively increasing ID \n\
160 uint32 seq\n\
161 #Two-integer timestamp that is expressed as:\n\
162 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
163 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
164 # time-handling sugar is provided by the client library\n\
165 time stamp\n\
166 #Frame this data is associated with\n\
167 # 0: no frame\n\
168 # 1: global frame\n\
169 string frame_id\n\
170 \n\
171 ================================================================================\n\
172 MSG: geometry_msgs/Pose\n\
173 # A representation of pose in free space, composed of position and orientation. \n\
174 Point position\n\
175 Quaternion orientation\n\
176 \n\
177 ================================================================================\n\
178 MSG: geometry_msgs/Point\n\
179 # This contains the position of a point in free space\n\
180 float64 x\n\
181 float64 y\n\
182 float64 z\n\
183 \n\
184 ================================================================================\n\
185 MSG: geometry_msgs/Quaternion\n\
186 # This represents an orientation in free space in quaternion form.\n\
187 \n\
188 float64 x\n\
189 float64 y\n\
190 float64 z\n\
191 float64 w\n\
192 ";
193  }
194 
195  static const char* value(const ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator>&) { return value(); }
196 };
197 
198 } // namespace message_traits
199 } // namespace ros
200 
201 namespace ros
202 {
203 namespace serialization
204 {
205 
206  template<class ContainerAllocator> struct Serializer< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> >
207  {
208  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
209  {
210  stream.next(m.detections);
211  }
212 
213  ROS_DECLARE_ALLINONE_SERIALIZER;
214  }; // struct AprilTagDetectionArray_
215 
216 } // namespace serialization
217 } // namespace ros
218 
219 namespace ros
220 {
221 namespace message_operations
222 {
223 
224 template<class ContainerAllocator>
225 struct Printer< ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator> >
226 {
227  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::apriltags_ros::AprilTagDetectionArray_<ContainerAllocator>& v)
228  {
229  s << indent << "detections[]" << std::endl;
230  for (size_t i = 0; i < v.detections.size(); ++i)
231  {
232  s << indent << " detections[" << i << "]: ";
233  s << std::endl;
234  s << indent;
235  Printer< ::apriltags_ros::AprilTagDetection_<ContainerAllocator> >::stream(s, indent + " ", v.detections[i]);
236  }
237  }
238 };
239 
240 } // namespace message_operations
241 } // namespace ros
242 
243 #endif // APRILTAGS_ROS_MESSAGE_APRILTAGDETECTIONARRAY_H
Definition: AprilTagDetection.h:20
Definition: AprilTagDetection.h:76
Definition: AprilTagDetectionArray.h:23