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


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