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 
51 
52  typedef std::vector< ::realsense_legacy_msgs::metadata_<ContainerAllocator> , typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< ::realsense_legacy_msgs::metadata_<ContainerAllocator> > > _frame_metadata_type;
54 
57 
60 
63 
64  typedef std::basic_string<char, std::char_traits<char>, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< char > > _encoding_type;
66 
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  : std::false_type
114  { };
115 
116 template <class ContainerAllocator>
117 struct IsFixedSize< ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator> const>
118  : std::false_type
119  { };
120 
121 template <class ContainerAllocator>
123  : std::true_type
124  { };
125 
126 template <class ContainerAllocator>
127 struct IsMessage< ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator> const>
128  : std::true_type
129  { };
130 
131 template <class ContainerAllocator>
133  : std::false_type
134  { };
135 
136 template <class ContainerAllocator>
137 struct HasHeader< ::realsense_legacy_msgs::compressed_frame_info_<ContainerAllocator> const>
138  : std::false_type
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;
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 std::allocator_traits< ContainerAllocator >::template rebind_alloc< char > > >::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
realsense_legacy_msgs::compressed_frame_info_::compressed_frame_info_
compressed_frame_info_(const ContainerAllocator &_alloc)
Definition: compressed_frame_info.h:36
realsense_legacy_msgs::compressed_frame_info_::ConstPtr
std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > const > ConstPtr
Definition: compressed_frame_info.h:74
realsense_legacy_msgs::compressed_frame_info_::_step_type
uint32_t _step_type
Definition: compressed_frame_info.h:67
realsense_legacy_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > &v)
Definition: compressed_frame_info.h:88
rs2rosinternal::message_traits::MD5Sum< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > >::value
static const char * value(const ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > &)
Definition: compressed_frame_info.h:150
realsense_legacy_msgs::compressed_frame_info_::encoding
_encoding_type encoding
Definition: compressed_frame_info.h:65
rs2rosinternal::message_operations::Printer< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > &v)
Definition: compressed_frame_info.h:224
v
GLdouble v
Definition: glad/glad/glad.h:2144
string
GLsizei const GLchar *const * string
Definition: glad/glad/glad.h:2861
realsense_legacy_msgs::compressed_frame_infoConstPtr
std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info const > compressed_frame_infoConstPtr
Definition: compressed_frame_info.h:81
void
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
rs2rosinternal::message_traits::DataType< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > >::value
static const char * value(const ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > &)
Definition: compressed_frame_info.h:163
rs2rosinternal::message_traits::IsFixedSize
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Definition: message_traits.h:81
rs2rosinternal
Definition: datatypes.h:39
width
GLint GLsizei width
Definition: glad/glad/glad.h:1397
serialization.h
realsense_legacy_msgs::compressed_frame_info_::_frame_metadata_type
std::vector< ::realsense_legacy_msgs::metadata_< ContainerAllocator >, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< ::realsense_legacy_msgs::metadata_< ContainerAllocator > > > _frame_metadata_type
Definition: compressed_frame_info.h:52
metadata.h
realsense_legacy_msgs::compressed_frame_info_::step
_step_type step
Definition: compressed_frame_info.h:68
rs2rosinternal::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:90
m
std::mutex m
Definition: test-waiting-on.cpp:126
frame_metadata
Definition: unit-tests-common.h:237
builtin_message_traits.h
realsense_legacy_msgs::compressed_frame_info_::height
_height_type height
Definition: compressed_frame_info.h:62
realsense_legacy_msgs::compressed_frame_info_::width
_width_type width
Definition: compressed_frame_info.h:59
realsense_legacy_msgs::compressed_frame_info_::compressed_frame_info_
compressed_frame_info_()
Definition: compressed_frame_info.h:27
uint32_t
unsigned int uint32_t
Definition: stdint.h:80
height
GLint GLsizei GLsizei height
Definition: glad/glad/glad.h:1397
uint64_t
unsigned __int64 uint64_t
Definition: stdint.h:90
i
int i
Definition: rs-pcl-color.cpp:54
realsense_legacy_msgs::compressed_frame_info_::Ptr
std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > > Ptr
Definition: compressed_frame_info.h:73
rs2rosinternal::serialization::Serializer< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: compressed_frame_info.h:199
rs2rosinternal::message_traits::Definition< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > >::value
static const char * value(const ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > &)
Definition: compressed_frame_info.h:186
realsense_legacy_msgs::compressed_frame_info_::_time_stamp_domain_type
uint32_t _time_stamp_domain_type
Definition: compressed_frame_info.h:55
rs2rosinternal::message_traits::MD5Sum< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > >::value
static const char * value()
Definition: compressed_frame_info.h:145
realsense_legacy_msgs::compressed_frame_info_::Type
compressed_frame_info_< ContainerAllocator > Type
Definition: compressed_frame_info.h:25
realsense_legacy_msgs::compressed_frame_info_::_width_type
uint32_t _width_type
Definition: compressed_frame_info.h:58
test-device-discovery.stream
stream
Definition: test-device-discovery.py:295
rspy.log.indent
def indent(str, line_prefix=' ')
Definition: log.py:122
rs2rosinternal::message_traits::Definition< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > >::value
static const char * value()
Definition: compressed_frame_info.h:169
rs2rosinternal::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:130
realsense_legacy_msgs::compressed_frame_info_::_system_time_type
uint64_t _system_time_type
Definition: compressed_frame_info.h:49
rs2rosinternal::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:96
realsense_legacy_msgs::compressed_frame_info_::frame_metadata
_frame_metadata_type frame_metadata
Definition: compressed_frame_info.h:53
realsense_legacy_msgs::compressed_frame_info_::_height_type
uint32_t _height_type
Definition: compressed_frame_info.h:61
realsense_legacy_msgs::compressed_frame_info_::system_time
_system_time_type system_time
Definition: compressed_frame_info.h:50
rs2rosinternal::message_traits::DataType< ::realsense_legacy_msgs::compressed_frame_info_< ContainerAllocator > >::value
static const char * value()
Definition: compressed_frame_info.h:158
realsense_legacy_msgs::compressed_frame_info_::time_stamp_domain
_time_stamp_domain_type time_stamp_domain
Definition: compressed_frame_info.h:56
rs2rosinternal::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:111
rs2rosinternal::message_traits::HasHeader
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
Definition: message_traits.h:85
ROS_DECLARE_ALLINONE_SERIALIZER
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:66
rs2rosinternal::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:42
rs2rosinternal::message_operations::Printer
Definition: message_operations.h:39
rs2rosinternal::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:113
realsense_legacy_msgs::compressed_frame_infoPtr
std::shared_ptr< ::realsense_legacy_msgs::compressed_frame_info > compressed_frame_infoPtr
Definition: compressed_frame_info.h:80
rs2rosinternal::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: third-party/realsense-file/rosbag/roscpp_serialization/include/ros/serialization.h:694
realsense_legacy_msgs
Definition: compressed_frame_info.h:20
realsense_legacy_msgs::compressed_frame_info
::realsense_legacy_msgs::compressed_frame_info_< std::allocator< void > > compressed_frame_info
Definition: compressed_frame_info.h:78
s
GLdouble s
Definition: glad/glad/glad.h:2441
realsense_legacy_msgs::compressed_frame_info_::_encoding_type
std::basic_string< char, std::char_traits< char >, typename std::allocator_traits< ContainerAllocator >::template rebind_alloc< char > > _encoding_type
Definition: compressed_frame_info.h:64
types.h
message_operations.h
realsense_legacy_msgs::compressed_frame_info_
Definition: compressed_frame_info.h:23


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Fri Aug 2 2024 08:30:01