motion_stream_info.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_legacy_msgs/motion_stream_info.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef realsense_legacy_msgs_MESSAGE_MOTION_STREAM_INFO_H
6 #define realsense_legacy_msgs_MESSAGE_MOTION_STREAM_INFO_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 
20 
21 namespace realsense_legacy_msgs
22 {
23 template <class ContainerAllocator>
25 {
27 
29  : motion_type()
30  , fps(0)
32  , stream_extrinsics() {
33  }
34  motion_stream_info_(const ContainerAllocator& _alloc)
35  : motion_type(_alloc)
36  , fps(0)
37  , stream_intrinsics(_alloc)
38  , stream_extrinsics(_alloc) {
39  (void)_alloc;
40  }
41 
42 
43 
44  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _motion_type_type;
45  _motion_type_type motion_type;
46 
48  _fps_type fps;
49 
50  typedef ::realsense_legacy_msgs::motion_intrinsics_<ContainerAllocator> _stream_intrinsics_type;
51  _stream_intrinsics_type stream_intrinsics;
52 
53  typedef ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator> _stream_extrinsics_type;
54  _stream_extrinsics_type stream_extrinsics;
55 
56 
57 
58 
59  typedef std::shared_ptr< ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator> > Ptr;
60  typedef std::shared_ptr< ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator> const> ConstPtr;
61 
62 }; // struct motion_stream_info_
63 
64 typedef ::realsense_legacy_msgs::motion_stream_info_<std::allocator<void> > motion_stream_info;
65 
66 typedef std::shared_ptr< ::realsense_legacy_msgs::motion_stream_info > motion_stream_infoPtr;
67 typedef std::shared_ptr< ::realsense_legacy_msgs::motion_stream_info const> motion_stream_infoConstPtr;
68 
69 // constants requiring out of line definition
70 
71 
72 
73 template<typename ContainerAllocator>
74 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator> & v)
75 {
77 return s;
78 }
79 
80 } // namespace realsense_legacy_msgs
81 
82 namespace rs2rosinternal
83 {
84 namespace message_traits
85 {
86 
87 
88 
89 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
90 // {'sensor_msgs': ['/opt/ros/kinetic/share/sensor_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'realsense_legacy_msgs': ['/home/administrator/ros/realsense_sdk_internal/sdk_internal/tools/realsense_legacy_msgs_generator/msg']}
91 
92 // !!!!!!!!!!! ['__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']
93 
94 
95 
96 
97 template <class ContainerAllocator>
99  : FalseType
100  { };
101 
102 template <class ContainerAllocator>
103 struct IsFixedSize< ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator> const>
104  : FalseType
105  { };
106 
107 template <class ContainerAllocator>
109  : TrueType
110  { };
111 
112 template <class ContainerAllocator>
113 struct IsMessage< ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator> const>
114  : TrueType
115  { };
116 
117 template <class ContainerAllocator>
119  : FalseType
120  { };
121 
122 template <class ContainerAllocator>
123 struct HasHeader< ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator> const>
124  : FalseType
125  { };
126 
127 
128 template<class ContainerAllocator>
129 struct MD5Sum< ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator> >
130 {
131  static const char* value()
132  {
133  return "02cc8b81050aeef9ff36df30d8eacb2d";
134  }
135 
136  static const char* value(const ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator>&) { return value(); }
137  static const uint64_t static_value1 = 0x02cc8b81050aeef9ULL;
138  static const uint64_t static_value2 = 0xff36df30d8eacb2dULL;
139 };
140 
141 template<class ContainerAllocator>
143 {
144  static const char* value()
145  {
146  return "realsense_legacy_msgs/motion_stream_info";
147  }
148 
149  static const char* value(const ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator>&) { return value(); }
150 };
151 
152 template<class ContainerAllocator>
154 {
155  static const char* value()
156  {
157  return "string motion_type\n\
158 uint32 fps\n\
159 realsense_legacy_msgs/motion_intrinsics stream_intrinsics\n\
160 realsense_legacy_msgs/stream_extrinsics stream_extrinsics\n\
161 \n\
162 \n\
163 ================================================================================\n\
164 MSG: realsense_legacy_msgs/motion_intrinsics\n\
165 float32[12] data\n\
166 float32[3] noise_variances\n\
167 float32[3] bias_variances\n\
168 \n\
169 ================================================================================\n\
170 MSG: realsense_legacy_msgs/stream_extrinsics\n\
171 realsense_legacy_msgs/extrinsics extrinsics\n\
172 uint64 reference_point_id\n\
173 \n\
174 ================================================================================\n\
175 MSG: realsense_legacy_msgs/extrinsics\n\
176 float32[9] rotation # column-major 3x3 rotation matrix \n\
177 float32[3] translation # 3 element translation vector, in meters \n\
178 ";
179  }
180 
181  static const char* value(const ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator>&) { return value(); }
182 };
183 
184 } // namespace message_traits
185 } // namespace rs2rosinternal
186 
187 namespace rs2rosinternal
188 {
189 namespace serialization
190 {
191 
192  template<class ContainerAllocator> struct Serializer< ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator> >
193  {
194  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
195  {
196  stream.next(m.motion_type);
197  stream.next(m.fps);
198  stream.next(m.stream_intrinsics);
199  stream.next(m.stream_extrinsics);
200  }
201 
203  }; // struct motion_stream_info_
204 
205 } // namespace serialization
206 } // namespace rs2rosinternal
207 
208 namespace rs2rosinternal
209 {
210 namespace message_operations
211 {
212 
213 template<class ContainerAllocator>
215 {
216  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::motion_stream_info_<ContainerAllocator>& v)
217  {
218  s << indent << "motion_type: ";
219  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.motion_type);
220  s << indent << "fps: ";
221  Printer<uint32_t>::stream(s, indent + " ", v.fps);
222  s << indent << "stream_intrinsics: ";
223  s << std::endl;
225  s << indent << "stream_extrinsics: ";
226  s << std::endl;
228  }
229 };
230 
231 } // namespace message_operations
232 } // namespace rs2rosinternal
233 
234 #endif // realsense_legacy_msgs_MESSAGE_MOTION_STREAM_INFO_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::shared_ptr< ::realsense_legacy_msgs::motion_stream_info_< ContainerAllocator > const > ConstPtr
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static const char * value(const ::realsense_legacy_msgs::motion_stream_info_< ContainerAllocator > &)
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
::realsense_legacy_msgs::motion_stream_info_< std::allocator< void > > motion_stream_info
static const char * value(const ::realsense_legacy_msgs::motion_stream_info_< ContainerAllocator > &)
std::shared_ptr< ::realsense_legacy_msgs::motion_stream_info const > motion_stream_infoConstPtr
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
::realsense_legacy_msgs::stream_extrinsics_< ContainerAllocator > _stream_extrinsics_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _motion_type_type
Stream base-class, provides common functionality for IStream and OStream.
motion_stream_info_< ContainerAllocator > Type
unsigned int uint32_t
Definition: stdint.h:80
#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.
::realsense_legacy_msgs::motion_intrinsics_< ContainerAllocator > _stream_intrinsics_type
static const char * value(const ::realsense_legacy_msgs::motion_stream_info_< ContainerAllocator > &)
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::motion_stream_info_< ContainerAllocator > &v)
std::shared_ptr< ::realsense_legacy_msgs::motion_stream_info_< ContainerAllocator > > Ptr
motion_stream_info_(const ContainerAllocator &_alloc)
std::shared_ptr< ::realsense_legacy_msgs::motion_stream_info > motion_stream_infoPtr
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLdouble v


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