InertiaStamped.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/InertiaStamped.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_INERTIASTAMPED_H
6 #define GEOMETRY_MSGS_MESSAGE_INERTIASTAMPED_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 <std_msgs/Header.h>
19 #include <geometry_msgs/Inertia.h>
20 
21 namespace geometry_msgs
22 {
23 template <class ContainerAllocator>
25 {
27 
29  : header()
30  , inertia() {
31  }
32  InertiaStamped_(const ContainerAllocator& _alloc)
33  : header(_alloc)
34  , inertia(_alloc) {
35  (void)_alloc;
36  }
37 
38 
39 
40  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
41  _header_type header;
42 
43  typedef ::geometry_msgs::Inertia_<ContainerAllocator> _inertia_type;
44  _inertia_type inertia;
45 
46 
47 
48 
49  typedef std::shared_ptr< ::geometry_msgs::InertiaStamped_<ContainerAllocator> > Ptr;
50  typedef std::shared_ptr< ::geometry_msgs::InertiaStamped_<ContainerAllocator> const> ConstPtr;
51 
52 }; // struct InertiaStamped_
53 
54 typedef ::geometry_msgs::InertiaStamped_<std::allocator<void> > InertiaStamped;
55 
56 typedef std::shared_ptr< ::geometry_msgs::InertiaStamped > InertiaStampedPtr;
57 typedef std::shared_ptr< ::geometry_msgs::InertiaStamped const> InertiaStampedConstPtr;
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::InertiaStamped_<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': False, 'IsMessage': True, 'HasHeader': True}
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::InertiaStamped_<ContainerAllocator> >
89  : FalseType
90  { };
91 
92 template <class ContainerAllocator>
93 struct IsFixedSize< ::geometry_msgs::InertiaStamped_<ContainerAllocator> const>
94  : FalseType
95  { };
96 
97 template <class ContainerAllocator>
98 struct IsMessage< ::geometry_msgs::InertiaStamped_<ContainerAllocator> >
99  : TrueType
100  { };
101 
102 template <class ContainerAllocator>
103 struct IsMessage< ::geometry_msgs::InertiaStamped_<ContainerAllocator> const>
104  : TrueType
105  { };
106 
107 template <class ContainerAllocator>
108 struct HasHeader< ::geometry_msgs::InertiaStamped_<ContainerAllocator> >
109  : TrueType
110  { };
111 
112 template <class ContainerAllocator>
113 struct HasHeader< ::geometry_msgs::InertiaStamped_<ContainerAllocator> const>
114  : TrueType
115  { };
116 
117 
118 template<class ContainerAllocator>
119 struct MD5Sum< ::geometry_msgs::InertiaStamped_<ContainerAllocator> >
120 {
121  static const char* value()
122  {
123  return "ddee48caeab5a966c5e8d166654a9ac7";
124  }
125 
126  static const char* value(const ::geometry_msgs::InertiaStamped_<ContainerAllocator>&) { return value(); }
127  static const uint64_t static_value1 = 0xddee48caeab5a966ULL;
128  static const uint64_t static_value2 = 0xc5e8d166654a9ac7ULL;
129 };
130 
131 template<class ContainerAllocator>
132 struct DataType< ::geometry_msgs::InertiaStamped_<ContainerAllocator> >
133 {
134  static const char* value()
135  {
136  return "geometry_msgs/InertiaStamped";
137  }
138 
139  static const char* value(const ::geometry_msgs::InertiaStamped_<ContainerAllocator>&) { return value(); }
140 };
141 
142 template<class ContainerAllocator>
143 struct Definition< ::geometry_msgs::InertiaStamped_<ContainerAllocator> >
144 {
145  static const char* value()
146  {
147  return "Header header\n\
148 Inertia inertia\n\
149 \n\
150 ================================================================================\n\
151 MSG: std_msgs/Header\n\
152 # Standard metadata for higher-level stamped data types.\n\
153 # This is generally used to communicate timestamped data \n\
154 # in a particular coordinate frame.\n\
155 # \n\
156 # sequence ID: consecutively increasing ID \n\
157 uint32 seq\n\
158 #Two-integer timestamp that is expressed as:\n\
159 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
160 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
161 # time-handling sugar is provided by the client library\n\
162 time stamp\n\
163 #Frame this data is associated with\n\
164 # 0: no frame\n\
165 # 1: global frame\n\
166 string frame_id\n\
167 \n\
168 ================================================================================\n\
169 MSG: geometry_msgs/Inertia\n\
170 # Mass [kg]\n\
171 float64 m\n\
172 \n\
173 # Center of mass [m]\n\
174 geometry_msgs/Vector3 com\n\
175 \n\
176 # Inertia Tensor [kg-m^2]\n\
177 # | ixx ixy ixz |\n\
178 # I = | ixy iyy iyz |\n\
179 # | ixz iyz izz |\n\
180 float64 ixx\n\
181 float64 ixy\n\
182 float64 ixz\n\
183 float64 iyy\n\
184 float64 iyz\n\
185 float64 izz\n\
186 \n\
187 ================================================================================\n\
188 MSG: geometry_msgs/Vector3\n\
189 # This represents a vector in free space. \n\
190 # It is only meant to represent a direction. Therefore, it does not\n\
191 # make sense to apply a translation to it (e.g., when applying a \n\
192 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
193 # rotation). If you want your data to be translatable too, use the\n\
194 # geometry_msgs/Point message instead.\n\
195 \n\
196 float64 x\n\
197 float64 y\n\
198 float64 z\n\
199 ";
200  }
201 
202  static const char* value(const ::geometry_msgs::InertiaStamped_<ContainerAllocator>&) { return value(); }
203 };
204 
205 } // namespace message_traits
206 } // namespace rs2rosinternal
207 
208 namespace rs2rosinternal
209 {
210 namespace serialization
211 {
212 
213  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::InertiaStamped_<ContainerAllocator> >
214  {
215  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
216  {
217  stream.next(m.header);
218  stream.next(m.inertia);
219  }
220 
222  }; // struct InertiaStamped_
223 
224 } // namespace serialization
225 } // namespace rs2rosinternal
226 
227 namespace rs2rosinternal
228 {
229 namespace message_operations
230 {
231 
232 template<class ContainerAllocator>
233 struct Printer< ::geometry_msgs::InertiaStamped_<ContainerAllocator> >
234 {
235  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::InertiaStamped_<ContainerAllocator>& v)
236  {
237  s << indent << "header: ";
238  s << std::endl;
240  s << indent << "inertia: ";
241  s << std::endl;
243  }
244 };
245 
246 } // namespace message_operations
247 } // namespace rs2rosinternal
248 
249 #endif // GEOMETRY_MSGS_MESSAGE_INERTIASTAMPED_H
InertiaStamped_< ContainerAllocator > Type
static const char * value(const ::geometry_msgs::InertiaStamped_< ContainerAllocator > &)
std::shared_ptr< ::geometry_msgs::InertiaStamped const > InertiaStampedConstPtr
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
::std_msgs::Header_< ContainerAllocator > _header_type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
InertiaStamped_(const ContainerAllocator &_alloc)
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
std::shared_ptr< ::geometry_msgs::InertiaStamped > InertiaStampedPtr
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static const char * value(const ::geometry_msgs::InertiaStamped_< ContainerAllocator > &)
GLsizei const GLchar *const * string
::geometry_msgs::InertiaStamped_< std::allocator< void > > InertiaStamped
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...
static const char * value(const ::geometry_msgs::InertiaStamped_< ContainerAllocator > &)
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::geometry_msgs::InertiaStamped_< ContainerAllocator > > Ptr
#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.
::geometry_msgs::Inertia_< ContainerAllocator > _inertia_type
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::InertiaStamped_< ContainerAllocator > &v)
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::shared_ptr< ::geometry_msgs::InertiaStamped_< ContainerAllocator > const > ConstPtr
GLdouble v


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