PoseStamped.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/PoseStamped.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_POSESTAMPED_H
6 #define GEOMETRY_MSGS_MESSAGE_POSESTAMPED_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>
25 {
27 
29  : header()
30  , pose() {
31  }
32  PoseStamped_(const ContainerAllocator& _alloc)
33  : header(_alloc)
34  , pose(_alloc) {
35  (void)_alloc;
36  }
37 
38 
39 
40  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
41  _header_type header;
42 
43  typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
44  _pose_type pose;
45 
46 
47 
48 
49  typedef std::shared_ptr< ::geometry_msgs::PoseStamped_<ContainerAllocator> > Ptr;
50  typedef std::shared_ptr< ::geometry_msgs::PoseStamped_<ContainerAllocator> const> ConstPtr;
51 
52 }; // struct PoseStamped_
53 
54 typedef ::geometry_msgs::PoseStamped_<std::allocator<void> > PoseStamped;
55 
56 typedef std::shared_ptr< ::geometry_msgs::PoseStamped > PoseStampedPtr;
57 typedef std::shared_ptr< ::geometry_msgs::PoseStamped const> PoseStampedConstPtr;
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::PoseStamped_<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::PoseStamped_<ContainerAllocator> >
89  : FalseType
90  { };
91 
92 template <class ContainerAllocator>
93 struct IsFixedSize< ::geometry_msgs::PoseStamped_<ContainerAllocator> const>
94  : FalseType
95  { };
96 
97 template <class ContainerAllocator>
98 struct IsMessage< ::geometry_msgs::PoseStamped_<ContainerAllocator> >
99  : TrueType
100  { };
101 
102 template <class ContainerAllocator>
103 struct IsMessage< ::geometry_msgs::PoseStamped_<ContainerAllocator> const>
104  : TrueType
105  { };
106 
107 template <class ContainerAllocator>
108 struct HasHeader< ::geometry_msgs::PoseStamped_<ContainerAllocator> >
109  : TrueType
110  { };
111 
112 template <class ContainerAllocator>
113 struct HasHeader< ::geometry_msgs::PoseStamped_<ContainerAllocator> const>
114  : TrueType
115  { };
116 
117 
118 template<class ContainerAllocator>
119 struct MD5Sum< ::geometry_msgs::PoseStamped_<ContainerAllocator> >
120 {
121  static const char* value()
122  {
123  return "d3812c3cbc69362b77dc0b19b345f8f5";
124  }
125 
126  static const char* value(const ::geometry_msgs::PoseStamped_<ContainerAllocator>&) { return value(); }
127  static const uint64_t static_value1 = 0xd3812c3cbc69362bULL;
128  static const uint64_t static_value2 = 0x77dc0b19b345f8f5ULL;
129 };
130 
131 template<class ContainerAllocator>
132 struct DataType< ::geometry_msgs::PoseStamped_<ContainerAllocator> >
133 {
134  static const char* value()
135  {
136  return "geometry_msgs/PoseStamped";
137  }
138 
139  static const char* value(const ::geometry_msgs::PoseStamped_<ContainerAllocator>&) { return value(); }
140 };
141 
142 template<class ContainerAllocator>
143 struct Definition< ::geometry_msgs::PoseStamped_<ContainerAllocator> >
144 {
145  static const char* value()
146  {
147  return "# A Pose with reference coordinate frame and timestamp\n\
148 Header header\n\
149 Pose pose\n\
150 \n\
151 ================================================================================\n\
152 MSG: std_msgs/Header\n\
153 # Standard metadata for higher-level stamped data types.\n\
154 # This is generally used to communicate timestamped data \n\
155 # in a particular coordinate frame.\n\
156 # \n\
157 # sequence ID: consecutively increasing ID \n\
158 uint32 seq\n\
159 #Two-integer timestamp that is expressed as:\n\
160 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
161 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
162 # time-handling sugar is provided by the client library\n\
163 time stamp\n\
164 #Frame this data is associated with\n\
165 # 0: no frame\n\
166 # 1: global frame\n\
167 string frame_id\n\
168 \n\
169 ================================================================================\n\
170 MSG: geometry_msgs/Pose\n\
171 # A representation of pose in free space, composed of position and orientation. \n\
172 Point position\n\
173 Quaternion orientation\n\
174 \n\
175 ================================================================================\n\
176 MSG: geometry_msgs/Point\n\
177 # This contains the position of a point in free space\n\
178 float64 x\n\
179 float64 y\n\
180 float64 z\n\
181 \n\
182 ================================================================================\n\
183 MSG: geometry_msgs/Quaternion\n\
184 # This represents an orientation in free space in quaternion form.\n\
185 \n\
186 float64 x\n\
187 float64 y\n\
188 float64 z\n\
189 float64 w\n\
190 ";
191  }
192 
193  static const char* value(const ::geometry_msgs::PoseStamped_<ContainerAllocator>&) { return value(); }
194 };
195 
196 } // namespace message_traits
197 } // namespace rs2rosinternal
198 
199 namespace rs2rosinternal
200 {
201 namespace serialization
202 {
203 
204  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >
205  {
206  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
207  {
208  stream.next(m.header);
209  stream.next(m.pose);
210  }
211 
213  }; // struct PoseStamped_
214 
215 } // namespace serialization
216 } // namespace rs2rosinternal
217 
218 namespace rs2rosinternal
219 {
220 namespace message_operations
221 {
222 
223 template<class ContainerAllocator>
224 struct Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >
225 {
226  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::PoseStamped_<ContainerAllocator>& v)
227  {
228  s << indent << "header: ";
229  s << std::endl;
231  s << indent << "pose: ";
232  s << std::endl;
234  }
235 };
236 
237 } // namespace message_operations
238 } // namespace rs2rosinternal
239 
240 #endif // GEOMETRY_MSGS_MESSAGE_POSESTAMPED_H
PoseStamped_(const ContainerAllocator &_alloc)
Definition: PoseStamped.h:32
std::shared_ptr< ::geometry_msgs::PoseStamped_< ContainerAllocator > const > ConstPtr
Definition: PoseStamped.h:50
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static const char * value(const ::geometry_msgs::PoseStamped_< ContainerAllocator > &)
Definition: PoseStamped.h:193
GLdouble s
static const char * value(const ::geometry_msgs::PoseStamped_< ContainerAllocator > &)
Definition: PoseStamped.h:126
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: PoseStamped.h:40
std::shared_ptr< ::geometry_msgs::PoseStamped const > PoseStampedConstPtr
Definition: PoseStamped.h:57
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::PoseStamped_< ContainerAllocator > &v)
Definition: PoseStamped.h:226
PoseStamped_< ContainerAllocator > Type
Definition: PoseStamped.h:26
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
::geometry_msgs::PoseStamped_< std::allocator< void > > PoseStamped
Definition: PoseStamped.h:54
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...
Stream base-class, provides common functionality for IStream and OStream.
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Definition: stdint.h:90
Specialize to provide the definition for a message.
::geometry_msgs::Pose_< ContainerAllocator > _pose_type
Definition: PoseStamped.h:43
std::shared_ptr< ::geometry_msgs::PoseStamped > PoseStampedPtr
Definition: PoseStamped.h:56
std::shared_ptr< ::geometry_msgs::PoseStamped_< ContainerAllocator > > Ptr
Definition: PoseStamped.h:49
static const char * value(const ::geometry_msgs::PoseStamped_< ContainerAllocator > &)
Definition: PoseStamped.h:139
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLdouble v


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