PoseArray.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/PoseArray.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_POSEARRAY_H
6 #define GEOMETRY_MSGS_MESSAGE_POSEARRAY_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
16 #include <ros/message_operations.h>
17 
18 #include <std_msgs/Header.h>
19 #include <geometry_msgs/Pose.h>
20 
21 namespace geometry_msgs
22 {
23 template <class ContainerAllocator>
24 struct PoseArray_
25 {
27 
29  : header()
30  , poses() {
31  }
32  PoseArray_(const ContainerAllocator& _alloc)
33  : header(_alloc)
34  , poses(_alloc) {
35  (void)_alloc;
36  }
37 
38 
39 
40  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
41  _header_type header;
42 
43  typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > _poses_type;
44  _poses_type poses;
45 
46 
47 
48 
49  typedef std::shared_ptr< ::geometry_msgs::PoseArray_<ContainerAllocator> > Ptr;
50  typedef std::shared_ptr< ::geometry_msgs::PoseArray_<ContainerAllocator> const> ConstPtr;
51 
52 }; // struct PoseArray_
53 
54 typedef ::geometry_msgs::PoseArray_<std::allocator<void> > PoseArray;
55 
56 typedef std::shared_ptr< ::geometry_msgs::PoseArray > PoseArrayPtr;
57 typedef std::shared_ptr< ::geometry_msgs::PoseArray const> PoseArrayConstPtr;
58 
59 // constants requiring out of line definition
60 
61 
62 
63 template<typename ContainerAllocator>
64 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::PoseArray_<ContainerAllocator> & v)
65 {
67 return s;
68 }
69 
70 } // namespace geometry_msgs
71 
72 namespace rs2rosinternal
73 {
74 namespace message_traits
75 {
76 
77 
78 
79 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
80 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
81 
82 // !!!!!!!!!!! ['__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']
83 
84 
85 
86 
87 template <class ContainerAllocator>
88 struct IsFixedSize< ::geometry_msgs::PoseArray_<ContainerAllocator> >
89  : FalseType
90  { };
91 
92 template <class ContainerAllocator>
93 struct IsFixedSize< ::geometry_msgs::PoseArray_<ContainerAllocator> const>
94  : FalseType
95  { };
96 
97 template <class ContainerAllocator>
98 struct IsMessage< ::geometry_msgs::PoseArray_<ContainerAllocator> >
99  : TrueType
100  { };
101 
102 template <class ContainerAllocator>
103 struct IsMessage< ::geometry_msgs::PoseArray_<ContainerAllocator> const>
104  : TrueType
105  { };
106 
107 template <class ContainerAllocator>
108 struct HasHeader< ::geometry_msgs::PoseArray_<ContainerAllocator> >
109  : TrueType
110  { };
111 
112 template <class ContainerAllocator>
113 struct HasHeader< ::geometry_msgs::PoseArray_<ContainerAllocator> const>
114  : TrueType
115  { };
116 
117 
118 template<class ContainerAllocator>
119 struct MD5Sum< ::geometry_msgs::PoseArray_<ContainerAllocator> >
120 {
121  static const char* value()
122  {
123  return "916c28c5764443f268b296bb671b9d97";
124  }
125 
126  static const char* value(const ::geometry_msgs::PoseArray_<ContainerAllocator>&) { return value(); }
127  static const uint64_t static_value1 = 0x916c28c5764443f2ULL;
128  static const uint64_t static_value2 = 0x68b296bb671b9d97ULL;
129 };
130 
131 template<class ContainerAllocator>
132 struct DataType< ::geometry_msgs::PoseArray_<ContainerAllocator> >
133 {
134  static const char* value()
135  {
136  return "geometry_msgs/PoseArray";
137  }
138 
139  static const char* value(const ::geometry_msgs::PoseArray_<ContainerAllocator>&) { return value(); }
140 };
141 
142 template<class ContainerAllocator>
143 struct Definition< ::geometry_msgs::PoseArray_<ContainerAllocator> >
144 {
145  static const char* value()
146  {
147  return "# An array of poses with a header for global reference.\n\
148 \n\
149 Header header\n\
150 \n\
151 Pose[] poses\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 ::geometry_msgs::PoseArray_<ContainerAllocator>&) { return value(); }
196 };
197 
198 } // namespace message_traits
199 } // namespace rs2rosinternal
200 
201 namespace rs2rosinternal
202 {
203 namespace serialization
204 {
205 
206  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::PoseArray_<ContainerAllocator> >
207  {
208  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
209  {
210  stream.next(m.header);
211  stream.next(m.poses);
212  }
213 
215  }; // struct PoseArray_
216 
217 } // namespace serialization
218 } // namespace rs2rosinternal
219 
220 namespace rs2rosinternal
221 {
222 namespace message_operations
223 {
224 
225 template<class ContainerAllocator>
226 struct Printer< ::geometry_msgs::PoseArray_<ContainerAllocator> >
227 {
228  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::PoseArray_<ContainerAllocator>& v)
229  {
230  s << indent << "header: ";
231  s << std::endl;
233  s << indent << "poses[]" << std::endl;
234  for (size_t i = 0; i < v.poses.size(); ++i)
235  {
236  s << indent << " poses[" << i << "]: ";
237  s << std::endl;
238  s << indent;
240  }
241  }
242 };
243 
244 } // namespace message_operations
245 } // namespace rs2rosinternal
246 
247 #endif // GEOMETRY_MSGS_MESSAGE_POSEARRAY_H
std::shared_ptr< ::geometry_msgs::PoseArray_< ContainerAllocator > const > ConstPtr
Definition: PoseArray.h:50
static const char * value(const ::geometry_msgs::PoseArray_< ContainerAllocator > &)
Definition: PoseArray.h:139
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
PoseArray_(const ContainerAllocator &_alloc)
Definition: PoseArray.h:32
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
::geometry_msgs::PoseArray_< std::allocator< void > > PoseArray
Definition: PoseArray.h:54
std::shared_ptr< ::geometry_msgs::PoseArray_< ContainerAllocator > > Ptr
Definition: PoseArray.h:49
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
GLuint GLuint stream
Definition: glext.h:1790
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
PoseArray_< ContainerAllocator > Type
Definition: PoseArray.h:26
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::PoseArray_< ContainerAllocator > &v)
Definition: PoseArray.h:228
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::geometry_msgs::PoseArray > PoseArrayPtr
Definition: PoseArray.h:56
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: PoseArray.h:40
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
std::shared_ptr< ::geometry_msgs::PoseArray const > PoseArrayConstPtr
Definition: PoseArray.h:57
unsigned __int64 uint64_t
Definition: stdint.h:90
Specialize to provide the definition for a message.
static const char * value(const ::geometry_msgs::PoseArray_< ContainerAllocator > &)
Definition: PoseArray.h:126
static const char * value(const ::geometry_msgs::PoseArray_< ContainerAllocator > &)
Definition: PoseArray.h:195
int i
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::vector< ::geometry_msgs::Pose_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_< ContainerAllocator > >::other > _poses_type
Definition: PoseArray.h:43
GLdouble v


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:39