Pose.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/Pose.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_POSE_H
6 #define GEOMETRY_MSGS_MESSAGE_POSE_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 <geometry_msgs/Point.h>
20 
21 namespace geometry_msgs
22 {
23 template <class ContainerAllocator>
24 struct Pose_
25 {
27 
29  : position()
30  , orientation() {
31  }
32  Pose_(const ContainerAllocator& _alloc)
33  : position(_alloc)
34  , orientation(_alloc) {
35  (void)_alloc;
36  }
37 
38 
39 
40  typedef ::geometry_msgs::Point_<ContainerAllocator> _position_type;
41  _position_type position;
42 
43  typedef ::geometry_msgs::Quaternion_<ContainerAllocator> _orientation_type;
44  _orientation_type orientation;
45 
46 
47 
48 
49  typedef std::shared_ptr< ::geometry_msgs::Pose_<ContainerAllocator> > Ptr;
50  typedef std::shared_ptr< ::geometry_msgs::Pose_<ContainerAllocator> const> ConstPtr;
51 
52 }; // struct Pose_
53 
54 typedef ::geometry_msgs::Pose_<std::allocator<void> > Pose;
55 
56 typedef std::shared_ptr< ::geometry_msgs::Pose > PosePtr;
57 typedef std::shared_ptr< ::geometry_msgs::Pose const> PoseConstPtr;
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::Pose_<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': True, 'IsMessage': True, 'HasHeader': False}
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::Pose_<ContainerAllocator> >
89  : TrueType
90  { };
91 
92 template <class ContainerAllocator>
93 struct IsFixedSize< ::geometry_msgs::Pose_<ContainerAllocator> const>
94  : TrueType
95  { };
96 
97 template <class ContainerAllocator>
98 struct IsMessage< ::geometry_msgs::Pose_<ContainerAllocator> >
99  : TrueType
100  { };
101 
102 template <class ContainerAllocator>
103 struct IsMessage< ::geometry_msgs::Pose_<ContainerAllocator> const>
104  : TrueType
105  { };
106 
107 template <class ContainerAllocator>
108 struct HasHeader< ::geometry_msgs::Pose_<ContainerAllocator> >
109  : FalseType
110  { };
111 
112 template <class ContainerAllocator>
113 struct HasHeader< ::geometry_msgs::Pose_<ContainerAllocator> const>
114  : FalseType
115  { };
116 
117 
118 template<class ContainerAllocator>
119 struct MD5Sum< ::geometry_msgs::Pose_<ContainerAllocator> >
120 {
121  static const char* value()
122  {
123  return "e45d45a5a1ce597b249e23fb30fc871f";
124  }
125 
126  static const char* value(const ::geometry_msgs::Pose_<ContainerAllocator>&) { return value(); }
127  static const uint64_t static_value1 = 0xe45d45a5a1ce597bULL;
128  static const uint64_t static_value2 = 0x249e23fb30fc871fULL;
129 };
130 
131 template<class ContainerAllocator>
132 struct DataType< ::geometry_msgs::Pose_<ContainerAllocator> >
133 {
134  static const char* value()
135  {
136  return "geometry_msgs/Pose";
137  }
138 
139  static const char* value(const ::geometry_msgs::Pose_<ContainerAllocator>&) { return value(); }
140 };
141 
142 template<class ContainerAllocator>
143 struct Definition< ::geometry_msgs::Pose_<ContainerAllocator> >
144 {
145  static const char* value()
146  {
147  return "# A representation of pose in free space, composed of position and orientation. \n\
148 Point position\n\
149 Quaternion orientation\n\
150 \n\
151 ================================================================================\n\
152 MSG: geometry_msgs/Point\n\
153 # This contains the position of a point in free space\n\
154 float64 x\n\
155 float64 y\n\
156 float64 z\n\
157 \n\
158 ================================================================================\n\
159 MSG: geometry_msgs/Quaternion\n\
160 # This represents an orientation in free space in quaternion form.\n\
161 \n\
162 float64 x\n\
163 float64 y\n\
164 float64 z\n\
165 float64 w\n\
166 ";
167  }
168 
169  static const char* value(const ::geometry_msgs::Pose_<ContainerAllocator>&) { return value(); }
170 };
171 
172 } // namespace message_traits
173 } // namespace rs2rosinternal
174 
175 namespace rs2rosinternal
176 {
177 namespace serialization
178 {
179 
180  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::Pose_<ContainerAllocator> >
181  {
182  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
183  {
184  stream.next(m.position);
185  stream.next(m.orientation);
186  }
187 
189  }; // struct Pose_
190 
191 } // namespace serialization
192 } // namespace rs2rosinternal
193 
194 namespace rs2rosinternal
195 {
196 namespace message_operations
197 {
198 
199 template<class ContainerAllocator>
200 struct Printer< ::geometry_msgs::Pose_<ContainerAllocator> >
201 {
202  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Pose_<ContainerAllocator>& v)
203  {
204  s << indent << "position: ";
205  s << std::endl;
207  s << indent << "orientation: ";
208  s << std::endl;
210  }
211 };
212 
213 } // namespace message_operations
214 } // namespace rs2rosinternal
215 
216 #endif // GEOMETRY_MSGS_MESSAGE_POSE_H
static const char * value(const ::geometry_msgs::Pose_< ContainerAllocator > &)
Definition: Pose.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
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::Pose_< ContainerAllocator > &v)
Definition: Pose.h:202
std::shared_ptr< ::geometry_msgs::Pose const > PoseConstPtr
Definition: Pose.h:57
std::shared_ptr< ::geometry_msgs::Pose_< ContainerAllocator > > Ptr
Definition: Pose.h:49
_orientation_type orientation
Definition: Pose.h:44
std::shared_ptr< ::geometry_msgs::Pose_< ContainerAllocator > const > ConstPtr
Definition: Pose.h:50
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
::geometry_msgs::Quaternion_< ContainerAllocator > _orientation_type
Definition: Pose.h:43
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
static const char * value(const ::geometry_msgs::Pose_< ContainerAllocator > &)
Definition: Pose.h:169
Pose_< ContainerAllocator > Type
Definition: Pose.h:26
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
_position_type position
Definition: Pose.h:41
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
std::shared_ptr< ::geometry_msgs::Pose > PosePtr
Definition: Pose.h:56
Specialize to provide the definition for a message.
::geometry_msgs::Pose_< std::allocator< void > > Pose
Definition: Pose.h:54
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value(const ::geometry_msgs::Pose_< ContainerAllocator > &)
Definition: Pose.h:126
GLdouble v
Pose_(const ContainerAllocator &_alloc)
Definition: Pose.h:32
::geometry_msgs::Point_< ContainerAllocator > _position_type
Definition: Pose.h:40


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