Point32.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/Point32.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_POINT32_H
6 #define GEOMETRY_MSGS_MESSAGE_POINT32_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 Point32_
23 {
25 
27  : x(0.0)
28  , y(0.0)
29  , z(0.0) {
30  }
31  Point32_(const ContainerAllocator& _alloc)
32  : x(0.0)
33  , y(0.0)
34  , z(0.0) {
35  (void)_alloc;
36  }
37 
38 
39 
40  typedef float _x_type;
41  _x_type x;
42 
43  typedef float _y_type;
44  _y_type y;
45 
46  typedef float _z_type;
47  _z_type z;
48 
49 
50 
51 
52  typedef std::shared_ptr< ::geometry_msgs::Point32_<ContainerAllocator> > Ptr;
53  typedef std::shared_ptr< ::geometry_msgs::Point32_<ContainerAllocator> const> ConstPtr;
54 
55 }; // struct Point32_
56 
57 typedef ::geometry_msgs::Point32_<std::allocator<void> > Point32;
58 
59 typedef std::shared_ptr< ::geometry_msgs::Point32 > Point32Ptr;
60 typedef std::shared_ptr< ::geometry_msgs::Point32 const> Point32ConstPtr;
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::Point32_<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::Point32_<ContainerAllocator> >
92  : TrueType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsFixedSize< ::geometry_msgs::Point32_<ContainerAllocator> const>
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsMessage< ::geometry_msgs::Point32_<ContainerAllocator> >
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsMessage< ::geometry_msgs::Point32_<ContainerAllocator> const>
107  : TrueType
108  { };
109 
110 template <class ContainerAllocator>
111 struct HasHeader< ::geometry_msgs::Point32_<ContainerAllocator> >
112  : FalseType
113  { };
114 
115 template <class ContainerAllocator>
116 struct HasHeader< ::geometry_msgs::Point32_<ContainerAllocator> const>
117  : FalseType
118  { };
119 
120 
121 template<class ContainerAllocator>
122 struct MD5Sum< ::geometry_msgs::Point32_<ContainerAllocator> >
123 {
124  static const char* value()
125  {
126  return "cc153912f1453b708d221682bc23d9ac";
127  }
128 
129  static const char* value(const ::geometry_msgs::Point32_<ContainerAllocator>&) { return value(); }
130  static const uint64_t static_value1 = 0xcc153912f1453b70ULL;
131  static const uint64_t static_value2 = 0x8d221682bc23d9acULL;
132 };
133 
134 template<class ContainerAllocator>
135 struct DataType< ::geometry_msgs::Point32_<ContainerAllocator> >
136 {
137  static const char* value()
138  {
139  return "geometry_msgs/Point32";
140  }
141 
142  static const char* value(const ::geometry_msgs::Point32_<ContainerAllocator>&) { return value(); }
143 };
144 
145 template<class ContainerAllocator>
146 struct Definition< ::geometry_msgs::Point32_<ContainerAllocator> >
147 {
148  static const char* value()
149  {
150  return "# This contains the position of a point in free space(with 32 bits of precision).\n\
151 # It is recommeded to use Point wherever possible instead of Point32. \n\
152 # \n\
153 # This recommendation is to promote interoperability. \n\
154 #\n\
155 # This message is designed to take up less space when sending\n\
156 # lots of points at once, as in the case of a PointCloud. \n\
157 \n\
158 float32 x\n\
159 float32 y\n\
160 float32 z\n\
161 ";
162  }
163 
164  static const char* value(const ::geometry_msgs::Point32_<ContainerAllocator>&) { return value(); }
165 };
166 
167 } // namespace message_traits
168 } // namespace rs2rosinternal
169 
170 namespace rs2rosinternal
171 {
172 namespace serialization
173 {
174 
175  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::Point32_<ContainerAllocator> >
176  {
177  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
178  {
179  stream.next(m.x);
180  stream.next(m.y);
181  stream.next(m.z);
182  }
183 
185  }; // struct Point32_
186 
187 } // namespace serialization
188 } // namespace rs2rosinternal
189 
190 namespace rs2rosinternal
191 {
192 namespace message_operations
193 {
194 
195 template<class ContainerAllocator>
196 struct Printer< ::geometry_msgs::Point32_<ContainerAllocator> >
197 {
198  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Point32_<ContainerAllocator>& v)
199  {
200  s << indent << "x: ";
201  Printer<float>::stream(s, indent + " ", v.x);
202  s << indent << "y: ";
203  Printer<float>::stream(s, indent + " ", v.y);
204  s << indent << "z: ";
205  Printer<float>::stream(s, indent + " ", v.z);
206  }
207 };
208 
209 } // namespace message_operations
210 } // namespace rs2rosinternal
211 
212 #endif // GEOMETRY_MSGS_MESSAGE_POINT32_H
GLint y
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
::geometry_msgs::Point32_< std::allocator< void > > Point32
Definition: Point32.h:57
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
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
GLdouble GLdouble z
static const char * value(const ::geometry_msgs::Point32_< ContainerAllocator > &)
Definition: Point32.h:129
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
static const char * value(const ::geometry_msgs::Point32_< ContainerAllocator > &)
Definition: Point32.h:142
Stream base-class, provides common functionality for IStream and OStream.
GLdouble x
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Point32_< ContainerAllocator > Type
Definition: Point32.h:24
unsigned __int64 uint64_t
Definition: stdint.h:90
Specialize to provide the definition for a message.
std::shared_ptr< ::geometry_msgs::Point32_< ContainerAllocator > const > ConstPtr
Definition: Point32.h:53
std::shared_ptr< ::geometry_msgs::Point32_< ContainerAllocator > > Ptr
Definition: Point32.h:52
Point32_(const ContainerAllocator &_alloc)
Definition: Point32.h:31
static const char * value(const ::geometry_msgs::Point32_< ContainerAllocator > &)
Definition: Point32.h:164
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::Point32_< ContainerAllocator > &v)
Definition: Point32.h:198
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::shared_ptr< ::geometry_msgs::Point32 const > Point32ConstPtr
Definition: Point32.h:60
std::shared_ptr< ::geometry_msgs::Point32 > Point32Ptr
Definition: Point32.h:59
GLdouble v


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