kinetic/include/geometry_msgs/Quaternion.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Generated by gencpp from file geometry_msgs/Quaternion.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef GEOMETRY_MSGS_MESSAGE_QUATERNION_H
7 #define GEOMETRY_MSGS_MESSAGE_QUATERNION_H
8 
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
18 
19 
20 namespace geometry_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : x(0.0)
29  , y(0.0)
30  , z(0.0)
31  , w(0.0) {
32  }
33  Quaternion_(const ContainerAllocator& _alloc)
34  : x(0.0)
35  , y(0.0)
36  , z(0.0)
37  , w(0.0) {
38  (void)_alloc;
39  }
40 
41 
42 
43  typedef double _x_type;
45 
46  typedef double _y_type;
48 
49  typedef double _z_type;
51 
52  typedef double _w_type;
54 
55 
56 
57 
58  typedef std::shared_ptr< ::geometry_msgs::Quaternion_<ContainerAllocator> > Ptr;
59  typedef std::shared_ptr< ::geometry_msgs::Quaternion_<ContainerAllocator> const> ConstPtr;
60 
61 }; // struct Quaternion_
62 
63 typedef ::geometry_msgs::Quaternion_<std::allocator<void> > Quaternion;
64 
65 typedef std::shared_ptr< ::geometry_msgs::Quaternion > QuaternionPtr;
66 typedef std::shared_ptr< ::geometry_msgs::Quaternion const> QuaternionConstPtr;
67 
68 // constants requiring out of line definition
69 
70 
71 
72 template<typename ContainerAllocator>
73 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::Quaternion_<ContainerAllocator> & v)
74 {
76 return s;
77 }
78 
79 } // namespace geometry_msgs
80 
81 namespace roswrap
82 {
83 namespace message_traits
84 {
85 
86 
87 
88 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
89 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
90 
91 // !!!!!!!!!!! ['__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']
92 
93 
94 
95 
96 template <class ContainerAllocator>
97 struct IsFixedSize< ::geometry_msgs::Quaternion_<ContainerAllocator> >
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsFixedSize< ::geometry_msgs::Quaternion_<ContainerAllocator> const>
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsMessage< ::geometry_msgs::Quaternion_<ContainerAllocator> >
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
112 struct IsMessage< ::geometry_msgs::Quaternion_<ContainerAllocator> const>
113  : TrueType
114  { };
115 
116 template <class ContainerAllocator>
117 struct HasHeader< ::geometry_msgs::Quaternion_<ContainerAllocator> >
118  : FalseType
119  { };
120 
121 template <class ContainerAllocator>
122 struct HasHeader< ::geometry_msgs::Quaternion_<ContainerAllocator> const>
123  : FalseType
124  { };
125 
126 
127 template<class ContainerAllocator>
128 struct MD5Sum< ::geometry_msgs::Quaternion_<ContainerAllocator> >
129 {
130  static const char* value()
131  {
132  return "a779879fadf0160734f906b8c19c7004";
133  }
134 
135  static const char* value(const ::geometry_msgs::Quaternion_<ContainerAllocator>&) { return value(); }
136  static const uint64_t static_value1 = 0xa779879fadf01607ULL;
137  static const uint64_t static_value2 = 0x34f906b8c19c7004ULL;
138 };
139 
140 template<class ContainerAllocator>
141 struct DataType< ::geometry_msgs::Quaternion_<ContainerAllocator> >
142 {
143  static const char* value()
144  {
145  return "geometry_msgs/Quaternion";
146  }
147 
148  static const char* value(const ::geometry_msgs::Quaternion_<ContainerAllocator>&) { return value(); }
149 };
150 
151 template<class ContainerAllocator>
152 struct Definition< ::geometry_msgs::Quaternion_<ContainerAllocator> >
153 {
154  static const char* value()
155  {
156  return "# This represents an orientation in free space in quaternion form.\n\
157 \n\
158 float64 x\n\
159 float64 y\n\
160 float64 z\n\
161 float64 w\n\
162 ";
163  }
164 
165  static const char* value(const ::geometry_msgs::Quaternion_<ContainerAllocator>&) { return value(); }
166 };
167 
168 } // namespace message_traits
169 } // namespace roswrap
170 
171 namespace roswrap
172 {
173 namespace serialization
174 {
175 
176  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::Quaternion_<ContainerAllocator> >
177  {
178  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
179  {
180  stream.next(m.x);
181  stream.next(m.y);
182  stream.next(m.z);
183  stream.next(m.w);
184  }
185 
187  }; // struct Quaternion_
188 
189 } // namespace serialization
190 } // namespace roswrap
191 
192 namespace roswrap
193 {
194 namespace message_operations
195 {
196 
197 template<class ContainerAllocator>
198 struct Printer< ::geometry_msgs::Quaternion_<ContainerAllocator> >
199 {
200  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Quaternion_<ContainerAllocator>& v)
201  {
202  s << indent << "x: ";
203  Printer<double>::stream(s, indent + " ", v.x);
204  s << indent << "y: ";
205  Printer<double>::stream(s, indent + " ", v.y);
206  s << indent << "z: ";
207  Printer<double>::stream(s, indent + " ", v.z);
208  s << indent << "w: ";
209  Printer<double>::stream(s, indent + " ", v.w);
210  }
211 };
212 
213 } // namespace message_operations
214 } // namespace roswrap
215 
216 #endif // GEOMETRY_MSGS_MESSAGE_QUATERNION_H
roswrap::message_traits::FalseType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:89
geometry_msgs::QuaternionConstPtr
std::shared_ptr< ::geometry_msgs::Quaternion const > QuaternionConstPtr
Definition: kinetic/include/geometry_msgs/Quaternion.h:66
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
roswrap::message_traits::DataType< ::geometry_msgs::Quaternion_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Quaternion_< ContainerAllocator > &)
Definition: kinetic/include/geometry_msgs/Quaternion.h:148
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
roswrap::message_traits::HasHeader
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
Definition: message_traits.h:107
geometry_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::geometry_msgs::Accel_< ContainerAllocator > &v)
Definition: Accel.h:65
geometry_msgs::Quaternion_::_y_type
double _y_type
Definition: kinetic/include/geometry_msgs/Quaternion.h:46
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
geometry_msgs::Quaternion_::Quaternion_
Quaternion_(const ContainerAllocator &_alloc)
Definition: kinetic/include/geometry_msgs/Quaternion.h:33
geometry_msgs
roswrap::message_operations::Printer< ::geometry_msgs::Quaternion_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::Quaternion_< ContainerAllocator > &v)
Definition: kinetic/include/geometry_msgs/Quaternion.h:200
roswrap::message_traits::Definition< ::geometry_msgs::Quaternion_< ContainerAllocator > >::value
static const char * value()
Definition: kinetic/include/geometry_msgs/Quaternion.h:154
geometry_msgs::Quaternion_::Ptr
std::shared_ptr< ::geometry_msgs::Quaternion_< ContainerAllocator > > Ptr
Definition: kinetic/include/geometry_msgs/Quaternion.h:58
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
roswrap::message_traits::IsFixedSize
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Definition: message_traits.h:103
ros::message_operations::Printer
ROS_DECLARE_ALLINONE_SERIALIZER
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: serialization.h:74
geometry_msgs::Quaternion_::Quaternion_
Quaternion_()
Definition: kinetic/include/geometry_msgs/Quaternion.h:27
geometry_msgs::Quaternion_::_w_type
double _w_type
Definition: kinetic/include/geometry_msgs/Quaternion.h:52
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
geometry_msgs::QuaternionPtr
std::shared_ptr< ::geometry_msgs::Quaternion > QuaternionPtr
Definition: kinetic/include/geometry_msgs/Quaternion.h:65
geometry_msgs::Quaternion_::y
_y_type y
Definition: kinetic/include/geometry_msgs/Quaternion.h:47
roswrap::serialization::Serializer< ::geometry_msgs::Quaternion_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: kinetic/include/geometry_msgs/Quaternion.h:178
roswrap::message_traits::MD5Sum< ::geometry_msgs::Quaternion_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Quaternion_< ContainerAllocator > &)
Definition: kinetic/include/geometry_msgs/Quaternion.h:135
geometry_msgs::Quaternion_::z
_z_type z
Definition: kinetic/include/geometry_msgs/Quaternion.h:50
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
geometry_msgs::Quaternion_::_x_type
double _x_type
Definition: kinetic/include/geometry_msgs/Quaternion.h:43
roswrap::message_traits::MD5Sum< ::geometry_msgs::Quaternion_< ContainerAllocator > >::value
static const char * value()
Definition: kinetic/include/geometry_msgs/Quaternion.h:130
roswrap::message_traits::TrueType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:79
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
roswrap::message_traits::DataType< ::geometry_msgs::Quaternion_< ContainerAllocator > >::value
static const char * value()
Definition: kinetic/include/geometry_msgs/Quaternion.h:143
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
geometry_msgs::Quaternion_
Definition: kinetic/include/geometry_msgs/Quaternion.h:23
geometry_msgs::Quaternion
::geometry_msgs::Quaternion_< std::allocator< void > > Quaternion
Definition: kinetic/include/geometry_msgs/Quaternion.h:63
geometry_msgs::Quaternion_::ConstPtr
std::shared_ptr< ::geometry_msgs::Quaternion_< ContainerAllocator > const > ConstPtr
Definition: kinetic/include/geometry_msgs/Quaternion.h:59
geometry_msgs::Quaternion_::x
_x_type x
Definition: kinetic/include/geometry_msgs/Quaternion.h:44
geometry_msgs::Quaternion_::Type
Quaternion_< ContainerAllocator > Type
Definition: kinetic/include/geometry_msgs/Quaternion.h:25
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
geometry_msgs::Quaternion_::_z_type
double _z_type
Definition: kinetic/include/geometry_msgs/Quaternion.h:49
geometry_msgs::Quaternion_::w
_w_type w
Definition: kinetic/include/geometry_msgs/Quaternion.h:53
roswrap::message_traits::Definition< ::geometry_msgs::Quaternion_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Quaternion_< ContainerAllocator > &)
Definition: kinetic/include/geometry_msgs/Quaternion.h:165


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:10