stream_extrinsics.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_legacy_msgs/stream_extrinsics.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef realsense_legacy_msgs_MESSAGE_STREAM_EXTRINSICS_H
6 #define realsense_legacy_msgs_MESSAGE_STREAM_EXTRINSICS_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 
19 
20 namespace realsense_legacy_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : extrinsics()
29  , reference_point_id(0) {
30  }
31  stream_extrinsics_(const ContainerAllocator& _alloc)
32  : extrinsics(_alloc)
33  , reference_point_id(0) {
34  (void)_alloc;
35  }
36 
37 
38 
39  typedef ::realsense_legacy_msgs::extrinsics_<ContainerAllocator> _extrinsics_type;
40  _extrinsics_type extrinsics;
41 
43  _reference_point_id_type reference_point_id;
44 
45 
46 
47 
48  typedef std::shared_ptr< ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator> > Ptr;
49  typedef std::shared_ptr< ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator> const> ConstPtr;
50 
51 }; // struct stream_extrinsics_
52 
53 typedef ::realsense_legacy_msgs::stream_extrinsics_<std::allocator<void> > stream_extrinsics;
54 
55 typedef std::shared_ptr< ::realsense_legacy_msgs::stream_extrinsics > stream_extrinsicsPtr;
56 typedef std::shared_ptr< ::realsense_legacy_msgs::stream_extrinsics const> stream_extrinsicsConstPtr;
57 
58 // constants requiring out of line definition
59 
60 
61 
62 template<typename ContainerAllocator>
63 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator> & v)
64 {
66 return s;
67 }
68 
69 } // namespace realsense_legacy_msgs
70 
71 namespace rs2rosinternal
72 {
73 namespace message_traits
74 {
75 
76 
77 
78 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
79 // {'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']}
80 
81 // !!!!!!!!!!! ['__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']
82 
83 
84 
85 
86 template <class ContainerAllocator>
88  : TrueType
89  { };
90 
91 template <class ContainerAllocator>
92 struct IsFixedSize< ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator> const>
93  : TrueType
94  { };
95 
96 template <class ContainerAllocator>
98  : TrueType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsMessage< ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator> const>
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
108  : FalseType
109  { };
110 
111 template <class ContainerAllocator>
112 struct HasHeader< ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator> const>
113  : FalseType
114  { };
115 
116 
117 template<class ContainerAllocator>
118 struct MD5Sum< ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator> >
119 {
120  static const char* value()
121  {
122  return "442fca173ef45a4a4e680d953efd6523";
123  }
124 
125  static const char* value(const ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator>&) { return value(); }
126  static const uint64_t static_value1 = 0x442fca173ef45a4aULL;
127  static const uint64_t static_value2 = 0x4e680d953efd6523ULL;
128 };
129 
130 template<class ContainerAllocator>
132 {
133  static const char* value()
134  {
135  return "realsense_legacy_msgs/stream_extrinsics";
136  }
137 
138  static const char* value(const ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator>&) { return value(); }
139 };
140 
141 template<class ContainerAllocator>
143 {
144  static const char* value()
145  {
146  return "realsense_legacy_msgs/extrinsics extrinsics\n\
147 uint64 reference_point_id\n\
148 \n\
149 ================================================================================\n\
150 MSG: realsense_legacy_msgs/extrinsics\n\
151 float32[9] rotation # column-major 3x3 rotation matrix \n\
152 float32[3] translation # 3 element translation vector, in meters \n\
153 ";
154  }
155 
156  static const char* value(const ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator>&) { return value(); }
157 };
158 
159 } // namespace message_traits
160 } // namespace rs2rosinternal
161 
162 namespace rs2rosinternal
163 {
164 namespace serialization
165 {
166 
167  template<class ContainerAllocator> struct Serializer< ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator> >
168  {
169  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
170  {
171  stream.next(m.extrinsics);
172  stream.next(m.reference_point_id);
173  }
174 
176  }; // struct stream_extrinsics_
177 
178 } // namespace serialization
179 } // namespace rs2rosinternal
180 
181 namespace rs2rosinternal
182 {
183 namespace message_operations
184 {
185 
186 template<class ContainerAllocator>
187 struct Printer< ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator> >
188 {
189  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::stream_extrinsics_<ContainerAllocator>& v)
190  {
191  s << indent << "extrinsics: ";
192  s << std::endl;
194  s << indent << "reference_point_id: ";
195  Printer<uint64_t>::stream(s, indent + " ", v.reference_point_id);
196  }
197 };
198 
199 } // namespace message_operations
200 } // namespace rs2rosinternal
201 
202 #endif // realsense_legacy_msgs_MESSAGE_STREAM_EXTRINSICS_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
::realsense_legacy_msgs::extrinsics_< ContainerAllocator > _extrinsics_type
stream_extrinsics_< ContainerAllocator > Type
std::shared_ptr< ::realsense_legacy_msgs::stream_extrinsics > stream_extrinsicsPtr
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_extrinsics_(const ContainerAllocator &_alloc)
Stream base-class, provides common functionality for IStream and OStream.
::realsense_legacy_msgs::stream_extrinsics_< std::allocator< void > > stream_extrinsics
#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.
std::shared_ptr< ::realsense_legacy_msgs::stream_extrinsics_< ContainerAllocator > > Ptr
std::shared_ptr< ::realsense_legacy_msgs::stream_extrinsics_< ContainerAllocator > const > ConstPtr
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::stream_extrinsics_< ContainerAllocator > &v)
static const char * value(const ::realsense_legacy_msgs::stream_extrinsics_< ContainerAllocator > &)
std::shared_ptr< ::realsense_legacy_msgs::stream_extrinsics const > stream_extrinsicsConstPtr
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value(const ::realsense_legacy_msgs::stream_extrinsics_< ContainerAllocator > &)
GLdouble v
static const char * value(const ::realsense_legacy_msgs::stream_extrinsics_< ContainerAllocator > &)


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