compressed_frame_info.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_legacy_msgs/compressed_frame_info.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef realsense_legacy_msgs_MESSAGE_COMPRESSED_FRAME_INFO_H
6 #define realsense_legacy_msgs_MESSAGE_COMPRESSED_FRAME_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 
19 
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : system_time(0)
29  , frame_metadata()
31  , width(0)
32  , height(0)
33  , encoding()
34  , step(0) {
35  }
36  compressed_frame_info_(const ContainerAllocator& _alloc)
37  : system_time(0)
38  , frame_metadata(_alloc)
40  , width(0)
41  , height(0)
42  , encoding(_alloc)
43  , step(0) {
44  (void)_alloc;
45  }
46 
47 
48 
50  _system_time_type system_time;
51 
52  typedef std::vector< ::realsense_legacy_msgs::metadata_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >::other > _frame_metadata_type;
53  _frame_metadata_type frame_metadata;
54 
56  _time_stamp_domain_type time_stamp_domain;
57 
59  _width_type width;
60 
62  _height_type height;
63 
64  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _encoding_type;
65  _encoding_type encoding;
66 
68  _step_type step;
69 
70 
71 
72 
73  typedef std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator> > Ptr;
74  typedef std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator> const> ConstPtr;
75 
76 }; // struct compressed_frame_info_
77 
78 typedef ::realsense_legacy_msgs::compressed_frame_info_<std::allocator<void> > compressed_frame_info;
79 
80 typedef std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info > compressed_frame_infoPtr;
81 typedef std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info const> compressed_frame_infoConstPtr;
82 
83 // constants requiring out of line definition
84 
85 
86 
87 template<typename ContainerAllocator>
88 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator> & v)
89 {
91 return s;
92 }
93 
94 } // namespace realsense_legacy_msgs
95 
96 namespace rs2rosinternal
97 {
98 namespace message_traits
99 {
100 
101 
102 
103 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
104 // {'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']}
105 
106 // !!!!!!!!!!! ['__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']
107 
108 
109 
110 
111 template <class ContainerAllocator>
113  : FalseType
114  { };
115 
116 template <class ContainerAllocator>
117 struct IsFixedSize< ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator> const>
118  : FalseType
119  { };
120 
121 template <class ContainerAllocator>
123  : TrueType
124  { };
125 
126 template <class ContainerAllocator>
127 struct IsMessage< ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator> const>
128  : TrueType
129  { };
130 
131 template <class ContainerAllocator>
133  : FalseType
134  { };
135 
136 template <class ContainerAllocator>
137 struct HasHeader< ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator> const>
138  : FalseType
139  { };
140 
141 
142 template<class ContainerAllocator>
144 {
145  static const char* value()
146  {
147  return "64a56816b5cc611196b9f32528adbddc";
148  }
149 
150  static const char* value(const ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator>&) { return value(); }
151  static const uint64_t static_value1 = 0x64a56816b5cc6111ULL;
152  static const uint64_t static_value2 = 0x96b9f32528adbddcULL;
153 };
154 
155 template<class ContainerAllocator>
157 {
158  static const char* value()
159  {
160  return "realsense_legacy_msgs/compressed_frame_info";
161  }
162 
163  static const char* value(const ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator>&) { return value(); }
164 };
165 
166 template<class ContainerAllocator>
168 {
169  static const char* value()
170  {
171  return "uint64 system_time\n\
172 realsense_legacy_msgs/metadata[] frame_metadata\n\
173 uint32 time_stamp_domain\n\
174 uint32 width\n\
175 uint32 height \n\
176 string encoding\n\
177 uint32 step\n\
178 \n\
179 ================================================================================\n\
180 MSG: realsense_legacy_msgs/metadata\n\
181 uint32 type\n\
182 uint8[] data\n\
183 ";
184  }
185 
186  static const char* value(const ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator>&) { return value(); }
187 };
188 
189 } // namespace message_traits
190 } // namespace rs2rosinternal
191 
192 namespace rs2rosinternal
193 {
194 namespace serialization
195 {
196 
197  template<class ContainerAllocator> struct Serializer< ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator> >
198  {
199  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
200  {
201  stream.next(m.system_time);
202  stream.next(m.frame_metadata);
203  stream.next(m.time_stamp_domain);
204  stream.next(m.width);
205  stream.next(m.height);
206  stream.next(m.encoding);
207  stream.next(m.step);
208  }
209 
211  }; // struct compressed_frame_info_
212 
213 } // namespace serialization
214 } // namespace rs2rosinternal
215 
216 namespace rs2rosinternal
217 {
218 namespace message_operations
219 {
220 
221 template<class ContainerAllocator>
223 {
224  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator>& v)
225  {
226  s << indent << "system_time: ";
227  Printer<uint64_t>::stream(s, indent + " ", v.system_time);
228  s << indent << "frame_metadata[]" << std::endl;
229  for (size_t i = 0; i < v.frame_metadata.size(); ++i)
230  {
231  s << indent << " frame_metadata[" << i << "]: ";
232  s << std::endl;
233  s << indent;
234  Printer< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >::stream(s, indent + " ", v.frame_metadata[i]);
235  }
236  s << indent << "time_stamp_domain: ";
237  Printer<uint32_t>::stream(s, indent + " ", v.time_stamp_domain);
238  s << indent << "width: ";
239  Printer<uint32_t>::stream(s, indent + " ", v.width);
240  s << indent << "height: ";
241  Printer<uint32_t>::stream(s, indent + " ", v.height);
242  s << indent << "encoding: ";
243  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.encoding);
244  s << indent << "step: ";
245  Printer<uint32_t>::stream(s, indent + " ", v.step);
246  }
247 };
248 
249 } // namespace message_operations
250 } // namespace rs2rosinternal
251 
252 #endif // realsense_legacy_msgs_MESSAGE_COMPRESSED_FRAME_INFO_H
compressed_frame_info_(const ContainerAllocator &_alloc)
static const char * value(const ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > &)
::realsense_legacy_msgs::compressed_frame_info_< std::allocator< void > > compressed_frame_info
std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info const > compressed_frame_infoConstPtr
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
Specialize to provide the md5sum for a message.
std::mutex m
def indent(str, line_prefix=' ')
Definition: log.py:88
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 ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > &v)
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...
std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info > compressed_frame_infoPtr
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.
std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > const > ConstPtr
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _encoding_type
unsigned int uint32_t
Definition: stdint.h:80
GLint GLsizei GLsizei height
#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 ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > &)
compressed_frame_info_< ContainerAllocator > Type
std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > > Ptr
int i
Templated serialization class. Default implementation provides backwards compatibility with old messa...
std::vector< ::realsense_legacy_msgs::metadata_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::realsense_legacy_msgs::metadata_< ContainerAllocator > >::other > _frame_metadata_type
static const char * value(const ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > &)
GLdouble v
GLint GLsizei width


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Thu Dec 22 2022 03:43:16