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


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