Wrench.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/Wrench.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef GEOMETRY_MSGS_MESSAGE_WRENCH_H
7 #define GEOMETRY_MSGS_MESSAGE_WRENCH_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 #include <geometry_msgs/Vector3.h>
20 #include <geometry_msgs/Vector3.h>
21 
22 namespace geometry_msgs
23 {
24 template <class ContainerAllocator>
25 struct Wrench_
26 {
28 
30  : force()
31  , torque() {
32  }
33  Wrench_(const ContainerAllocator& _alloc)
34  : force(_alloc)
35  , torque(_alloc) {
36  (void)_alloc;
37  }
38 
39 
40 
41  typedef ::geometry_msgs::Vector3_<ContainerAllocator> _force_type;
43 
44  typedef ::geometry_msgs::Vector3_<ContainerAllocator> _torque_type;
46 
47 
48 
49 
50  typedef std::shared_ptr< ::geometry_msgs::Wrench_<ContainerAllocator> > Ptr;
51  typedef std::shared_ptr< ::geometry_msgs::Wrench_<ContainerAllocator> const> ConstPtr;
52 
53 }; // struct Wrench_
54 
55 typedef ::geometry_msgs::Wrench_<std::allocator<void> > Wrench;
56 
57 typedef std::shared_ptr< ::geometry_msgs::Wrench > WrenchPtr;
58 typedef std::shared_ptr< ::geometry_msgs::Wrench const> WrenchConstPtr;
59 
60 // constants requiring out of line definition
61 
62 
63 
64 template<typename ContainerAllocator>
65 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::Wrench_<ContainerAllocator> & v)
66 {
68 return s;
69 }
70 
71 } // namespace geometry_msgs
72 
73 namespace roswrap
74 {
75 namespace message_traits
76 {
77 
78 
79 
80 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
81 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
82 
83 // !!!!!!!!!!! ['__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']
84 
85 
86 
87 
88 template <class ContainerAllocator>
89 struct IsFixedSize< ::geometry_msgs::Wrench_<ContainerAllocator> >
90  : TrueType
91  { };
92 
93 template <class ContainerAllocator>
94 struct IsFixedSize< ::geometry_msgs::Wrench_<ContainerAllocator> const>
95  : TrueType
96  { };
97 
98 template <class ContainerAllocator>
99 struct IsMessage< ::geometry_msgs::Wrench_<ContainerAllocator> >
100  : TrueType
101  { };
102 
103 template <class ContainerAllocator>
104 struct IsMessage< ::geometry_msgs::Wrench_<ContainerAllocator> const>
105  : TrueType
106  { };
107 
108 template <class ContainerAllocator>
109 struct HasHeader< ::geometry_msgs::Wrench_<ContainerAllocator> >
110  : FalseType
111  { };
112 
113 template <class ContainerAllocator>
114 struct HasHeader< ::geometry_msgs::Wrench_<ContainerAllocator> const>
115  : FalseType
116  { };
117 
118 
119 template<class ContainerAllocator>
120 struct MD5Sum< ::geometry_msgs::Wrench_<ContainerAllocator> >
121 {
122  static const char* value()
123  {
124  return "4f539cf138b23283b520fd271b567936";
125  }
126 
127  static const char* value(const ::geometry_msgs::Wrench_<ContainerAllocator>&) { return value(); }
128  static const uint64_t static_value1 = 0x4f539cf138b23283ULL;
129  static const uint64_t static_value2 = 0xb520fd271b567936ULL;
130 };
131 
132 template<class ContainerAllocator>
133 struct DataType< ::geometry_msgs::Wrench_<ContainerAllocator> >
134 {
135  static const char* value()
136  {
137  return "geometry_msgs/Wrench";
138  }
139 
140  static const char* value(const ::geometry_msgs::Wrench_<ContainerAllocator>&) { return value(); }
141 };
142 
143 template<class ContainerAllocator>
144 struct Definition< ::geometry_msgs::Wrench_<ContainerAllocator> >
145 {
146  static const char* value()
147  {
148  return "# This represents force in free space, separated into\n\
149 # its linear and angular parts.\n\
150 Vector3 force\n\
151 Vector3 torque\n\
152 \n\
153 ================================================================================\n\
154 MSG: geometry_msgs/Vector3\n\
155 # This represents a vector in free space. \n\
156 # It is only meant to represent a direction. Therefore, it does not\n\
157 # make sense to apply a translation to it (e.g., when applying a \n\
158 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
159 # rotation). If you want your data to be translatable too, use the\n\
160 # geometry_msgs/Point message instead.\n\
161 \n\
162 float64 x\n\
163 float64 y\n\
164 float64 z\n\
165 ";
166  }
167 
168  static const char* value(const ::geometry_msgs::Wrench_<ContainerAllocator>&) { return value(); }
169 };
170 
171 } // namespace message_traits
172 } // namespace roswrap
173 
174 namespace roswrap
175 {
176 namespace serialization
177 {
178 
179  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::Wrench_<ContainerAllocator> >
180  {
181  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
182  {
183  stream.next(m.force);
184  stream.next(m.torque);
185  }
186 
188  }; // struct Wrench_
189 
190 } // namespace serialization
191 } // namespace roswrap
192 
193 namespace roswrap
194 {
195 namespace message_operations
196 {
197 
198 template<class ContainerAllocator>
199 struct Printer< ::geometry_msgs::Wrench_<ContainerAllocator> >
200 {
201  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Wrench_<ContainerAllocator>& v)
202  {
203  s << indent << "force: ";
204  s << std::endl;
206  s << indent << "torque: ";
207  s << std::endl;
209  }
210 };
211 
212 } // namespace message_operations
213 } // namespace roswrap
214 
215 #endif // GEOMETRY_MSGS_MESSAGE_WRENCH_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
roswrap::message_traits::Definition< ::geometry_msgs::Wrench_< ContainerAllocator > >::value
static const char * value()
Definition: Wrench.h:146
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
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
roswrap::message_operations::Printer< ::geometry_msgs::Wrench_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::Wrench_< ContainerAllocator > &v)
Definition: Wrench.h:201
geometry_msgs::Wrench_::Type
Wrench_< ContainerAllocator > Type
Definition: Wrench.h:27
roswrap::message_traits::MD5Sum< ::geometry_msgs::Wrench_< ContainerAllocator > >::value
static const char * value()
Definition: Wrench.h:122
geometry_msgs
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
geometry_msgs::Wrench_::_torque_type
::geometry_msgs::Vector3_< ContainerAllocator > _torque_type
Definition: Wrench.h:44
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
geometry_msgs::Vector3_
Definition: kinetic/include/geometry_msgs/Vector3.h:23
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
roswrap::message_traits::MD5Sum< ::geometry_msgs::Wrench_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Wrench_< ContainerAllocator > &)
Definition: Wrench.h:127
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::Wrench_::torque
_torque_type torque
Definition: Wrench.h:45
roswrap::serialization::Serializer< ::geometry_msgs::Wrench_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: Wrench.h:181
geometry_msgs::WrenchConstPtr
std::shared_ptr< ::geometry_msgs::Wrench const > WrenchConstPtr
Definition: Wrench.h:58
geometry_msgs::Wrench_::_force_type
::geometry_msgs::Vector3_< ContainerAllocator > _force_type
Definition: Wrench.h:41
roswrap
Definition: param_modi.cpp:41
geometry_msgs::Wrench_::Wrench_
Wrench_()
Definition: Wrench.h:29
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::DataType< ::geometry_msgs::Wrench_< ContainerAllocator > >::value
static const char * value()
Definition: Wrench.h:135
geometry_msgs::WrenchPtr
std::shared_ptr< ::geometry_msgs::Wrench > WrenchPtr
Definition: Wrench.h:57
geometry_msgs::Wrench
::geometry_msgs::Wrench_< std::allocator< void > > Wrench
Definition: Wrench.h:55
Vector3.h
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
geometry_msgs::Wrench_::Wrench_
Wrench_(const ContainerAllocator &_alloc)
Definition: Wrench.h:33
roswrap::message_traits::Definition< ::geometry_msgs::Wrench_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Wrench_< ContainerAllocator > &)
Definition: Wrench.h:168
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
geometry_msgs::Wrench_::force
_force_type force
Definition: Wrench.h:42
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
geometry_msgs::Wrench_
Definition: Wrench.h:25
geometry_msgs::Wrench_::ConstPtr
std::shared_ptr< ::geometry_msgs::Wrench_< ContainerAllocator > const > ConstPtr
Definition: Wrench.h:51
geometry_msgs::Wrench_::Ptr
std::shared_ptr< ::geometry_msgs::Wrench_< ContainerAllocator > > Ptr
Definition: Wrench.h:50
roswrap::message_traits::DataType< ::geometry_msgs::Wrench_< ContainerAllocator > >::value
static const char * value(const ::geometry_msgs::Wrench_< ContainerAllocator > &)
Definition: Wrench.h:140


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