Pose2D.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/Pose2D.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_POSE2D_H
6 #define GEOMETRY_MSGS_MESSAGE_POSE2D_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 
19 namespace geometry_msgs
20 {
21 template <class ContainerAllocator>
22 struct Pose2D_
23 {
25 
27  : x(0.0)
28  , y(0.0)
29  , theta(0.0) {
30  }
31  Pose2D_(const ContainerAllocator& _alloc)
32  : x(0.0)
33  , y(0.0)
34  , theta(0.0) {
35  (void)_alloc;
36  }
37 
38 
39 
40  typedef double _x_type;
41  _x_type x;
42 
43  typedef double _y_type;
44  _y_type y;
45 
46  typedef double _theta_type;
47  _theta_type theta;
48 
49 
50 
51 
52  typedef std::shared_ptr< ::geometry_msgs::Pose2D_<ContainerAllocator> > Ptr;
53  typedef std::shared_ptr< ::geometry_msgs::Pose2D_<ContainerAllocator> const> ConstPtr;
54 
55 }; // struct Pose2D_
56 
57 typedef ::geometry_msgs::Pose2D_<std::allocator<void> > Pose2D;
58 
59 typedef std::shared_ptr< ::geometry_msgs::Pose2D > Pose2DPtr;
60 typedef std::shared_ptr< ::geometry_msgs::Pose2D const> Pose2DConstPtr;
61 
62 // constants requiring out of line definition
63 
64 
65 
66 template<typename ContainerAllocator>
67 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::Pose2D_<ContainerAllocator> & v)
68 {
70 return s;
71 }
72 
73 } // namespace geometry_msgs
74 
75 namespace rs2rosinternal
76 {
77 namespace message_traits
78 {
79 
80 
81 
82 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
83 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
84 
85 // !!!!!!!!!!! ['__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']
86 
87 
88 
89 
90 template <class ContainerAllocator>
91 struct IsFixedSize< ::geometry_msgs::Pose2D_<ContainerAllocator> >
92  : TrueType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsFixedSize< ::geometry_msgs::Pose2D_<ContainerAllocator> const>
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsMessage< ::geometry_msgs::Pose2D_<ContainerAllocator> >
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsMessage< ::geometry_msgs::Pose2D_<ContainerAllocator> const>
107  : TrueType
108  { };
109 
110 template <class ContainerAllocator>
111 struct HasHeader< ::geometry_msgs::Pose2D_<ContainerAllocator> >
112  : FalseType
113  { };
114 
115 template <class ContainerAllocator>
116 struct HasHeader< ::geometry_msgs::Pose2D_<ContainerAllocator> const>
117  : FalseType
118  { };
119 
120 
121 template<class ContainerAllocator>
122 struct MD5Sum< ::geometry_msgs::Pose2D_<ContainerAllocator> >
123 {
124  static const char* value()
125  {
126  return "938fa65709584ad8e77d238529be13b8";
127  }
128 
129  static const char* value(const ::geometry_msgs::Pose2D_<ContainerAllocator>&) { return value(); }
130  static const uint64_t static_value1 = 0x938fa65709584ad8ULL;
131  static const uint64_t static_value2 = 0xe77d238529be13b8ULL;
132 };
133 
134 template<class ContainerAllocator>
135 struct DataType< ::geometry_msgs::Pose2D_<ContainerAllocator> >
136 {
137  static const char* value()
138  {
139  return "geometry_msgs/Pose2D";
140  }
141 
142  static const char* value(const ::geometry_msgs::Pose2D_<ContainerAllocator>&) { return value(); }
143 };
144 
145 template<class ContainerAllocator>
146 struct Definition< ::geometry_msgs::Pose2D_<ContainerAllocator> >
147 {
148  static const char* value()
149  {
150  return "# This expresses a position and orientation on a 2D manifold.\n\
151 \n\
152 float64 x\n\
153 float64 y\n\
154 float64 theta\n\
155 ";
156  }
157 
158  static const char* value(const ::geometry_msgs::Pose2D_<ContainerAllocator>&) { return value(); }
159 };
160 
161 } // namespace message_traits
162 } // namespace rs2rosinternal
163 
164 namespace rs2rosinternal
165 {
166 namespace serialization
167 {
168 
169  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::Pose2D_<ContainerAllocator> >
170  {
171  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
172  {
173  stream.next(m.x);
174  stream.next(m.y);
175  stream.next(m.theta);
176  }
177 
179  }; // struct Pose2D_
180 
181 } // namespace serialization
182 } // namespace rs2rosinternal
183 
184 namespace rs2rosinternal
185 {
186 namespace message_operations
187 {
188 
189 template<class ContainerAllocator>
190 struct Printer< ::geometry_msgs::Pose2D_<ContainerAllocator> >
191 {
192  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Pose2D_<ContainerAllocator>& v)
193  {
194  s << indent << "x: ";
195  Printer<double>::stream(s, indent + " ", v.x);
196  s << indent << "y: ";
197  Printer<double>::stream(s, indent + " ", v.y);
198  s << indent << "theta: ";
199  Printer<double>::stream(s, indent + " ", v.theta);
200  }
201 };
202 
203 } // namespace message_operations
204 } // namespace rs2rosinternal
205 
206 #endif // GEOMETRY_MSGS_MESSAGE_POSE2D_H
GLint y
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::Pose2D_< ContainerAllocator > &v)
Definition: Pose2D.h:192
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 const char * value(const ::geometry_msgs::Pose2D_< ContainerAllocator > &)
Definition: Pose2D.h:158
_theta_type theta
Definition: Pose2D.h:47
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...
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::geometry_msgs::Pose2D > Pose2DPtr
Definition: Pose2D.h:59
GLdouble x
Pose2D_(const ContainerAllocator &_alloc)
Definition: Pose2D.h:31
std::shared_ptr< ::geometry_msgs::Pose2D_< ContainerAllocator > const > ConstPtr
Definition: Pose2D.h:53
#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.
Pose2D_< ContainerAllocator > Type
Definition: Pose2D.h:24
static const char * value(const ::geometry_msgs::Pose2D_< ContainerAllocator > &)
Definition: Pose2D.h:142
std::shared_ptr< ::geometry_msgs::Pose2D const > Pose2DConstPtr
Definition: Pose2D.h:60
std::shared_ptr< ::geometry_msgs::Pose2D_< ContainerAllocator > > Ptr
Definition: Pose2D.h:52
Templated serialization class. Default implementation provides backwards compatibility with old messa...
::geometry_msgs::Pose2D_< std::allocator< void > > Pose2D
Definition: Pose2D.h:57
GLdouble v
static const char * value(const ::geometry_msgs::Pose2D_< ContainerAllocator > &)
Definition: Pose2D.h:129


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