Point.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/Point.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_POINT_H
6 #define GEOMETRY_MSGS_MESSAGE_POINT_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 Point_
23 {
25 
27  : x(0.0)
28  , y(0.0)
29  , z(0.0) {
30  }
31  Point_(const ContainerAllocator& _alloc)
32  : x(0.0)
33  , y(0.0)
34  , z(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 _z_type;
47  _z_type z;
48 
49 
50 
51 
52  typedef std::shared_ptr< ::geometry_msgs::Point_<ContainerAllocator> > Ptr;
53  typedef std::shared_ptr< ::geometry_msgs::Point_<ContainerAllocator> const> ConstPtr;
54 
55 }; // struct Point_
56 
57 typedef ::geometry_msgs::Point_<std::allocator<void> > Point;
58 
59 typedef std::shared_ptr< ::geometry_msgs::Point > PointPtr;
60 typedef std::shared_ptr< ::geometry_msgs::Point const> PointConstPtr;
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::Point_<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::Point_<ContainerAllocator> >
92  : TrueType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsFixedSize< ::geometry_msgs::Point_<ContainerAllocator> const>
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsMessage< ::geometry_msgs::Point_<ContainerAllocator> >
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsMessage< ::geometry_msgs::Point_<ContainerAllocator> const>
107  : TrueType
108  { };
109 
110 template <class ContainerAllocator>
111 struct HasHeader< ::geometry_msgs::Point_<ContainerAllocator> >
112  : FalseType
113  { };
114 
115 template <class ContainerAllocator>
116 struct HasHeader< ::geometry_msgs::Point_<ContainerAllocator> const>
117  : FalseType
118  { };
119 
120 
121 template<class ContainerAllocator>
122 struct MD5Sum< ::geometry_msgs::Point_<ContainerAllocator> >
123 {
124  static const char* value()
125  {
126  return "4a842b65f413084dc2b10fb484ea7f17";
127  }
128 
129  static const char* value(const ::geometry_msgs::Point_<ContainerAllocator>&) { return value(); }
130  static const uint64_t static_value1 = 0x4a842b65f413084dULL;
131  static const uint64_t static_value2 = 0xc2b10fb484ea7f17ULL;
132 };
133 
134 template<class ContainerAllocator>
135 struct DataType< ::geometry_msgs::Point_<ContainerAllocator> >
136 {
137  static const char* value()
138  {
139  return "geometry_msgs/Point";
140  }
141 
142  static const char* value(const ::geometry_msgs::Point_<ContainerAllocator>&) { return value(); }
143 };
144 
145 template<class ContainerAllocator>
146 struct Definition< ::geometry_msgs::Point_<ContainerAllocator> >
147 {
148  static const char* value()
149  {
150  return "# This contains the position of a point in free space\n\
151 float64 x\n\
152 float64 y\n\
153 float64 z\n\
154 ";
155  }
156 
157  static const char* value(const ::geometry_msgs::Point_<ContainerAllocator>&) { return value(); }
158 };
159 
160 } // namespace message_traits
161 } // namespace rs2rosinternal
162 
163 namespace rs2rosinternal
164 {
165 namespace serialization
166 {
167 
168  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::Point_<ContainerAllocator> >
169  {
170  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
171  {
172  stream.next(m.x);
173  stream.next(m.y);
174  stream.next(m.z);
175  }
176 
178  }; // struct Point_
179 
180 } // namespace serialization
181 } // namespace rs2rosinternal
182 
183 namespace rs2rosinternal
184 {
185 namespace message_operations
186 {
187 
188 template<class ContainerAllocator>
189 struct Printer< ::geometry_msgs::Point_<ContainerAllocator> >
190 {
191  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Point_<ContainerAllocator>& v)
192  {
193  s << indent << "x: ";
194  Printer<double>::stream(s, indent + " ", v.x);
195  s << indent << "y: ";
196  Printer<double>::stream(s, indent + " ", v.y);
197  s << indent << "z: ";
198  Printer<double>::stream(s, indent + " ", v.z);
199  }
200 };
201 
202 } // namespace message_operations
203 } // namespace rs2rosinternal
204 
205 #endif // GEOMETRY_MSGS_MESSAGE_POINT_H
Point_(const ContainerAllocator &_alloc)
Definition: Point.h:31
static const char * value(const ::geometry_msgs::Point_< ContainerAllocator > &)
Definition: Point.h:142
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::Point_< ContainerAllocator > &v)
Definition: Point.h:191
GLint y
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Point_< ContainerAllocator > Type
Definition: Point.h:24
GLdouble s
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
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::Point_< ContainerAllocator > &)
Definition: Point.h:129
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...
unsigned __int64 uint64_t
Definition: stdint.h:90
Specialize to provide the definition for a message.
std::shared_ptr< ::geometry_msgs::Point_< ContainerAllocator > > Ptr
Definition: Point.h:52
static const char * value(const ::geometry_msgs::Point_< ContainerAllocator > &)
Definition: Point.h:157
std::shared_ptr< ::geometry_msgs::Point const > PointConstPtr
Definition: Point.h:60
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::shared_ptr< ::geometry_msgs::Point > PointPtr
Definition: Point.h:59
GLdouble v
::geometry_msgs::Point_< std::allocator< void > > Point
Definition: Point.h:57
std::shared_ptr< ::geometry_msgs::Point_< ContainerAllocator > const > ConstPtr
Definition: Point.h:53


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