frame_info.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_legacy_msgs/frame_info.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef realsense_legacy_msgs_MESSAGE_FRAME_INFO_H
6 #define realsense_legacy_msgs_MESSAGE_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 
20 namespace realsense_legacy_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : system_time(0)
29  , frame_metadata()
30  , time_stamp_domain(0) {
31  }
32  frame_info_(const ContainerAllocator& _alloc)
33  : system_time(0)
34  , frame_metadata(_alloc)
35  , time_stamp_domain(0) {
36  (void)_alloc;
37  }
38 
39 
40 
42  _system_time_type system_time;
43 
44  typedef std::vector< ::realsense_legacy_msgs::metadata_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >::other > _frame_metadata_type;
45  _frame_metadata_type frame_metadata;
46 
48  _time_stamp_domain_type time_stamp_domain;
49 
50 
51 
52 
53  typedef std::shared_ptr< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> > Ptr;
54  typedef std::shared_ptr< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> const> ConstPtr;
55 
56 }; // struct frame_info_
57 
58 typedef ::realsense_legacy_msgs::frame_info_<std::allocator<void> > frame_info;
59 
60 typedef std::shared_ptr< ::realsense_legacy_msgs::frame_info > frame_infoPtr;
61 typedef std::shared_ptr< ::realsense_legacy_msgs::frame_info const> frame_infoConstPtr;
62 
63 // constants requiring out of line definition
64 
65 
66 
67 template<typename ContainerAllocator>
68 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::frame_info_<ContainerAllocator> & v)
69 {
71 return s;
72 }
73 
74 } // namespace realsense_legacy_msgs
75 
76 namespace rs2rosinternal
77 {
78 namespace message_traits
79 {
80 
81 
82 
83 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
84 // {'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']}
85 
86 // !!!!!!!!!!! ['__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']
87 
88 
89 
90 
91 template <class ContainerAllocator>
92 struct IsFixedSize< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> >
93  : FalseType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsFixedSize< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> const>
98  : FalseType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsMessage< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> >
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsMessage< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> const>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
112 struct HasHeader< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> >
113  : FalseType
114  { };
115 
116 template <class ContainerAllocator>
117 struct HasHeader< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> const>
118  : FalseType
119  { };
120 
121 
122 template<class ContainerAllocator>
123 struct MD5Sum< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> >
124 {
125  static const char* value()
126  {
127  return "6859690af0611d3a4c9b75ba3627900a";
128  }
129 
130  static const char* value(const ::realsense_legacy_msgs::frame_info_<ContainerAllocator>&) { return value(); }
131  static const uint64_t static_value1 = 0x6859690af0611d3aULL;
132  static const uint64_t static_value2 = 0x4c9b75ba3627900aULL;
133 };
134 
135 template<class ContainerAllocator>
136 struct DataType< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "realsense_legacy_msgs/frame_info";
141  }
142 
143  static const char* value(const ::realsense_legacy_msgs::frame_info_<ContainerAllocator>&) { return value(); }
144 };
145 
146 template<class ContainerAllocator>
147 struct Definition< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> >
148 {
149  static const char* value()
150  {
151  return "uint64 system_time\n\
152 realsense_legacy_msgs/metadata[] frame_metadata\n\
153 uint32 time_stamp_domain\n\
154 \n\
155 ================================================================================\n\
156 MSG: realsense_legacy_msgs/metadata\n\
157 uint32 type\n\
158 uint8[] data\n\
159 ";
160  }
161 
162  static const char* value(const ::realsense_legacy_msgs::frame_info_<ContainerAllocator>&) { return value(); }
163 };
164 
165 } // namespace message_traits
166 } // namespace rs2rosinternal
167 
168 namespace rs2rosinternal
169 {
170 namespace serialization
171 {
172 
173  template<class ContainerAllocator> struct Serializer< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> >
174  {
175  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
176  {
177  stream.next(m.system_time);
178  stream.next(m.frame_metadata);
179  stream.next(m.time_stamp_domain);
180  }
181 
183  }; // struct frame_info_
184 
185 } // namespace serialization
186 } // namespace rs2rosinternal
187 
188 namespace rs2rosinternal
189 {
190 namespace message_operations
191 {
192 
193 template<class ContainerAllocator>
194 struct Printer< ::realsense_legacy_msgs::frame_info_<ContainerAllocator> >
195 {
196  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::frame_info_<ContainerAllocator>& v)
197  {
198  s << indent << "system_time: ";
199  Printer<uint64_t>::stream(s, indent + " ", v.system_time);
200  s << indent << "frame_metadata[]" << std::endl;
201  for (size_t i = 0; i < v.frame_metadata.size(); ++i)
202  {
203  s << indent << " frame_metadata[" << i << "]: ";
204  s << std::endl;
205  s << indent;
206  Printer< ::realsense_legacy_msgs::metadata_<ContainerAllocator> >::stream(s, indent + " ", v.frame_metadata[i]);
207  }
208  s << indent << "time_stamp_domain: ";
209  Printer<uint32_t>::stream(s, indent + " ", v.time_stamp_domain);
210  }
211 };
212 
213 } // namespace message_operations
214 } // namespace rs2rosinternal
215 
216 #endif // realsense_legacy_msgs_MESSAGE_FRAME_INFO_H
std::shared_ptr< ::realsense_legacy_msgs::frame_info_< ContainerAllocator > const > ConstPtr
Definition: frame_info.h:54
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.
static const char * value(const ::realsense_legacy_msgs::frame_info_< ContainerAllocator > &)
Definition: frame_info.h:130
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
frame_info_< ContainerAllocator > Type
Definition: frame_info.h:25
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...
std::shared_ptr< ::realsense_legacy_msgs::frame_info const > frame_infoConstPtr
Definition: frame_info.h:61
Stream base-class, provides common functionality for IStream and OStream.
static const char * value(const ::realsense_legacy_msgs::frame_info_< ContainerAllocator > &)
Definition: frame_info.h:162
::realsense_legacy_msgs::frame_info_< std::allocator< void > > frame_info
Definition: frame_info.h:58
unsigned int uint32_t
Definition: stdint.h:80
std::vector< ::realsense_legacy_msgs::metadata_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::realsense_legacy_msgs::metadata_< ContainerAllocator > >::other > _frame_metadata_type
Definition: frame_info.h:44
#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.
_time_stamp_domain_type time_stamp_domain
Definition: frame_info.h:48
frame_info_(const ContainerAllocator &_alloc)
Definition: frame_info.h:32
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::frame_info_< ContainerAllocator > &v)
Definition: frame_info.h:196
std::shared_ptr< ::realsense_legacy_msgs::frame_info > frame_infoPtr
Definition: frame_info.h:60
static const char * value(const ::realsense_legacy_msgs::frame_info_< ContainerAllocator > &)
Definition: frame_info.h:143
int i
std::shared_ptr< ::realsense_legacy_msgs::frame_info_< ContainerAllocator > > Ptr
Definition: frame_info.h:53
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLdouble v
_frame_metadata_type frame_metadata
Definition: frame_info.h:45


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