TransformStamped.h
Go to the documentation of this file.
1 // Generated by gencpp from file geometry_msgs/TransformStamped.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef GEOMETRY_MSGS_MESSAGE_TRANSFORMSTAMPED_H
6 #define GEOMETRY_MSGS_MESSAGE_TRANSFORMSTAMPED_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>
20 
21 namespace geometry_msgs
22 {
23 template <class ContainerAllocator>
25 {
27 
29  : header()
30  , child_frame_id()
31  , transform() {
32  }
33  TransformStamped_(const ContainerAllocator& _alloc)
34  : header(_alloc)
35  , child_frame_id(_alloc)
36  , transform(_alloc) {
37  (void)_alloc;
38  }
39 
40 
41 
42  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
43  _header_type header;
44 
45  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _child_frame_id_type;
46  _child_frame_id_type child_frame_id;
47 
48  typedef ::geometry_msgs::Transform_<ContainerAllocator> _transform_type;
49  _transform_type transform;
50 
51 
52 
53 
54  typedef std::shared_ptr< ::geometry_msgs::TransformStamped_<ContainerAllocator> > Ptr;
55  typedef std::shared_ptr< ::geometry_msgs::TransformStamped_<ContainerAllocator> const> ConstPtr;
56 
57 }; // struct TransformStamped_
58 
59 typedef ::geometry_msgs::TransformStamped_<std::allocator<void> > TransformStamped;
60 
61 typedef std::shared_ptr< ::geometry_msgs::TransformStamped > TransformStampedPtr;
62 typedef std::shared_ptr< ::geometry_msgs::TransformStamped const> TransformStampedConstPtr;
63 
64 // constants requiring out of line definition
65 
66 
67 
68 template<typename ContainerAllocator>
69 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::TransformStamped_<ContainerAllocator> & v)
70 {
72 return s;
73 }
74 
75 } // namespace geometry_msgs
76 
77 namespace rs2rosinternal
78 {
79 namespace message_traits
80 {
81 
82 
83 
84 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
85 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/msg']}
86 
87 // !!!!!!!!!!! ['__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']
88 
89 
90 
91 
92 template <class ContainerAllocator>
93 struct IsFixedSize< ::geometry_msgs::TransformStamped_<ContainerAllocator> >
94  : FalseType
95  { };
96 
97 template <class ContainerAllocator>
98 struct IsFixedSize< ::geometry_msgs::TransformStamped_<ContainerAllocator> const>
99  : FalseType
100  { };
101 
102 template <class ContainerAllocator>
103 struct IsMessage< ::geometry_msgs::TransformStamped_<ContainerAllocator> >
104  : TrueType
105  { };
106 
107 template <class ContainerAllocator>
108 struct IsMessage< ::geometry_msgs::TransformStamped_<ContainerAllocator> const>
109  : TrueType
110  { };
111 
112 template <class ContainerAllocator>
113 struct HasHeader< ::geometry_msgs::TransformStamped_<ContainerAllocator> >
114  : TrueType
115  { };
116 
117 template <class ContainerAllocator>
118 struct HasHeader< ::geometry_msgs::TransformStamped_<ContainerAllocator> const>
119  : TrueType
120  { };
121 
122 
123 template<class ContainerAllocator>
124 struct MD5Sum< ::geometry_msgs::TransformStamped_<ContainerAllocator> >
125 {
126  static const char* value()
127  {
128  return "b5764a33bfeb3588febc2682852579b0";
129  }
130 
131  static const char* value(const ::geometry_msgs::TransformStamped_<ContainerAllocator>&) { return value(); }
132  static const uint64_t static_value1 = 0xb5764a33bfeb3588ULL;
133  static const uint64_t static_value2 = 0xfebc2682852579b0ULL;
134 };
135 
136 template<class ContainerAllocator>
137 struct DataType< ::geometry_msgs::TransformStamped_<ContainerAllocator> >
138 {
139  static const char* value()
140  {
141  return "geometry_msgs/TransformStamped";
142  }
143 
144  static const char* value(const ::geometry_msgs::TransformStamped_<ContainerAllocator>&) { return value(); }
145 };
146 
147 template<class ContainerAllocator>
148 struct Definition< ::geometry_msgs::TransformStamped_<ContainerAllocator> >
149 {
150  static const char* value()
151  {
152  return "# This expresses a transform from coordinate frame header.frame_id\n\
153 # to the coordinate frame child_frame_id\n\
154 #\n\
155 # This message is mostly used by the \n\
156 # <a href=\"http://wiki.ros.org/tf\">tf</a> package. \n\
157 # See its documentation for more information.\n\
158 \n\
159 Header header\n\
160 string child_frame_id # the frame id of the child frame\n\
161 Transform transform\n\
162 \n\
163 ================================================================================\n\
164 MSG: std_msgs/Header\n\
165 # Standard metadata for higher-level stamped data types.\n\
166 # This is generally used to communicate timestamped data \n\
167 # in a particular coordinate frame.\n\
168 # \n\
169 # sequence ID: consecutively increasing ID \n\
170 uint32 seq\n\
171 #Two-integer timestamp that is expressed as:\n\
172 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
173 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
174 # time-handling sugar is provided by the client library\n\
175 time stamp\n\
176 #Frame this data is associated with\n\
177 # 0: no frame\n\
178 # 1: global frame\n\
179 string frame_id\n\
180 \n\
181 ================================================================================\n\
182 MSG: geometry_msgs/Transform\n\
183 # This represents the transform between two coordinate frames in free space.\n\
184 \n\
185 Vector3 translation\n\
186 Quaternion rotation\n\
187 \n\
188 ================================================================================\n\
189 MSG: geometry_msgs/Vector3\n\
190 # This represents a vector in free space. \n\
191 # It is only meant to represent a direction. Therefore, it does not\n\
192 # make sense to apply a translation to it (e.g., when applying a \n\
193 # generic rigid transformation to a Vector3, tf2 will only apply the\n\
194 # rotation). If you want your data to be translatable too, use the\n\
195 # geometry_msgs/Point message instead.\n\
196 \n\
197 float64 x\n\
198 float64 y\n\
199 float64 z\n\
200 ================================================================================\n\
201 MSG: geometry_msgs/Quaternion\n\
202 # This represents an orientation in free space in quaternion form.\n\
203 \n\
204 float64 x\n\
205 float64 y\n\
206 float64 z\n\
207 float64 w\n\
208 ";
209  }
210 
211  static const char* value(const ::geometry_msgs::TransformStamped_<ContainerAllocator>&) { return value(); }
212 };
213 
214 } // namespace message_traits
215 } // namespace rs2rosinternal
216 
217 namespace rs2rosinternal
218 {
219 namespace serialization
220 {
221 
222  template<class ContainerAllocator> struct Serializer< ::geometry_msgs::TransformStamped_<ContainerAllocator> >
223  {
224  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
225  {
226  stream.next(m.header);
227  stream.next(m.child_frame_id);
228  stream.next(m.transform);
229  }
230 
232  }; // struct TransformStamped_
233 
234 } // namespace serialization
235 } // namespace rs2rosinternal
236 
237 namespace rs2rosinternal
238 {
239 namespace message_operations
240 {
241 
242 template<class ContainerAllocator>
243 struct Printer< ::geometry_msgs::TransformStamped_<ContainerAllocator> >
244 {
245  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::TransformStamped_<ContainerAllocator>& v)
246  {
247  s << indent << "header: ";
248  s << std::endl;
250  s << indent << "child_frame_id: ";
251  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.child_frame_id);
252  s << indent << "transform: ";
253  s << std::endl;
255  }
256 };
257 
258 } // namespace message_operations
259 } // namespace rs2rosinternal
260 
261 #endif // GEOMETRY_MSGS_MESSAGE_TRANSFORMSTAMPED_H
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _child_frame_id_type
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static void stream(Stream &s, const std::string &indent, const ::geometry_msgs::TransformStamped_< ContainerAllocator > &v)
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
static const char * value(const ::geometry_msgs::TransformStamped_< ContainerAllocator > &)
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...
Stream base-class, provides common functionality for IStream and OStream.
TransformStamped_(const ContainerAllocator &_alloc)
TransformStamped_< ContainerAllocator > Type
static const char * value(const ::geometry_msgs::TransformStamped_< ContainerAllocator > &)
::std_msgs::Header_< ContainerAllocator > _header_type
_child_frame_id_type child_frame_id
#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::TransformStamped_< std::allocator< void > > TransformStamped
std::shared_ptr< ::geometry_msgs::TransformStamped > TransformStampedPtr
std::shared_ptr< ::geometry_msgs::TransformStamped_< ContainerAllocator > > Ptr
std::shared_ptr< ::geometry_msgs::TransformStamped const > TransformStampedConstPtr
static const char * value(const ::geometry_msgs::TransformStamped_< ContainerAllocator > &)
::geometry_msgs::Transform_< ContainerAllocator > _transform_type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLuint GLenum GLenum transform
Definition: glext.h:11553
GLdouble v
std::shared_ptr< ::geometry_msgs::TransformStamped_< ContainerAllocator > const > ConstPtr


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