controller_vendor_data.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_legacy_msgs/controller_vendor_data.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef realsense_legacy_msgs_MESSAGE_CONTROLLER_VENDOR_DATA_H
6 #define realsense_legacy_msgs_MESSAGE_CONTROLLER_VENDOR_DATA_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <array>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
17 #include <ros/message_operations.h>
18 
19 
20 namespace realsense_legacy_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : controller_id(0)
31  , data()
32  , timestamp() {
33  data.fill(0);
34  }
35  controller_vendor_data_(const ContainerAllocator& _alloc)
36  : controller_id(0)
39  , data()
40  , timestamp() {
41  (void)_alloc;
42  data.fill(0);
43  }
44 
45 
46 
49 
52 
55 
56  typedef std::array<uint8_t, 6> _data_type;
58 
61 
62 
63 
64 
65  typedef std::shared_ptr< ::realsense_legacy_msgs::controller_vendor_data_<ContainerAllocator> > Ptr;
66  typedef std::shared_ptr< ::realsense_legacy_msgs::controller_vendor_data_<ContainerAllocator> const> ConstPtr;
67 
68 }; // struct controller_vendor_data_
69 
70 typedef ::realsense_legacy_msgs::controller_vendor_data_<std::allocator<void> > controller_vendor_data;
71 
72 typedef std::shared_ptr< ::realsense_legacy_msgs::controller_vendor_data > controller_vendor_dataPtr;
73 typedef std::shared_ptr< ::realsense_legacy_msgs::controller_vendor_data const> controller_vendor_dataConstPtr;
74 
75 // constants requiring out of line definition
76 
77 
78 
79 template<typename ContainerAllocator>
80 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::controller_vendor_data_<ContainerAllocator> & v)
81 {
83 return s;
84 }
85 
86 } // namespace realsense_legacy_msgs
87 
88 namespace rs2rosinternal
89 {
90 namespace message_traits
91 {
92 
93 
94 
95 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
96 // {'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/intelrealsense/realsense_sdk_internal/sdk_internal/tools/realsense_legacy_msgs_generator/msg']}
97 
98 // !!!!!!!!!!! ['__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']
99 
100 
101 
102 
103 template <class ContainerAllocator>
105  : std::true_type
106  { };
107 
108 template <class ContainerAllocator>
110  : std::true_type
111  { };
112 
113 template <class ContainerAllocator>
115  : std::true_type
116  { };
117 
118 template <class ContainerAllocator>
119 struct IsMessage< ::realsense_legacy_msgs::controller_vendor_data_<ContainerAllocator> const>
120  : std::true_type
121  { };
122 
123 template <class ContainerAllocator>
125  : std::false_type
126  { };
127 
128 template <class ContainerAllocator>
129 struct HasHeader< ::realsense_legacy_msgs::controller_vendor_data_<ContainerAllocator> const>
130  : std::false_type
131  { };
132 
133 
134 template<class ContainerAllocator>
136 {
137  static const char* value()
138  {
139  return "fdbc8d91ea453b9330369b2123cc9304";
140  }
141 
142  static const char* value(const ::realsense_legacy_msgs::controller_vendor_data_<ContainerAllocator>&) { return value(); }
143  static const uint64_t static_value1 = 0xfdbc8d91ea453b93ULL;
144  static const uint64_t static_value2 = 0x30369b2123cc9304ULL;
145 };
146 
147 template<class ContainerAllocator>
149 {
150  static const char* value()
151  {
152  return "realsense_legacy_msgs/controller_vendor_data";
153  }
154 
155  static const char* value(const ::realsense_legacy_msgs::controller_vendor_data_<ContainerAllocator>&) { return value(); }
156 };
157 
158 template<class ContainerAllocator>
160 {
161  static const char* value()
162  {
163  return "uint8 controller_id\n\
164 uint8 vendor_data_source_type\n\
165 uint8 vendor_data_source_index\n\
166 uint8[6] data\n\
167 time timestamp\n\
168 ";
169  }
170 
171  static const char* value(const ::realsense_legacy_msgs::controller_vendor_data_<ContainerAllocator>&) { return value(); }
172 };
173 
174 } // namespace message_traits
175 } // namespace rs2rosinternal
176 
177 namespace rs2rosinternal
178 {
179 namespace serialization
180 {
181 
182  template<class ContainerAllocator> struct Serializer< ::realsense_legacy_msgs::controller_vendor_data_<ContainerAllocator> >
183  {
184  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
185  {
186  stream.next(m.controller_id);
187  stream.next(m.vendor_data_source_type);
188  stream.next(m.vendor_data_source_index);
189  stream.next(m.data);
190  stream.next(m.timestamp);
191  }
192 
194  }; // struct controller_vendor_data_
195 
196 } // namespace serialization
197 } // namespace rs2rosinternal
198 
199 namespace rs2rosinternal
200 {
201 namespace message_operations
202 {
203 
204 template<class ContainerAllocator>
206 {
207  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::controller_vendor_data_<ContainerAllocator>& v)
208  {
209  s << indent << "controller_id: ";
210  Printer<uint8_t>::stream(s, indent + " ", v.controller_id);
211  s << indent << "vendor_data_source_type: ";
212  Printer<uint8_t>::stream(s, indent + " ", v.vendor_data_source_type);
213  s << indent << "vendor_data_source_index: ";
214  Printer<uint8_t>::stream(s, indent + " ", v.vendor_data_source_index);
215  s << indent << "data[]" << std::endl;
216  for (size_t i = 0; i < v.data.size(); ++i)
217  {
218  s << indent << " data[" << i << "]: ";
219  Printer<uint8_t>::stream(s, indent + " ", v.data[i]);
220  }
221  s << indent << "timestamp: ";
222  Printer<rs2rosinternal::Time>::stream(s, indent + " ", v.timestamp);
223  }
224 };
225 
226 } // namespace message_operations
227 } // namespace rs2rosinternal
228 
229 #endif // realsense_legacy_msgs_MESSAGE_CONTROLLER_VENDOR_DATA_H
rs2rosinternal::message_traits::Definition< ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > >::value
static const char * value(const ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > &)
Definition: controller_vendor_data.h:171
uint8_t
unsigned char uint8_t
Definition: stdint.h:78
rs2rosinternal::Time
Time representation. May either represent wall clock time or ROS clock time.
Definition: time.h:206
realsense_legacy_msgs::controller_vendor_data_
Definition: controller_vendor_data.h:23
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
realsense_legacy_msgs::controller_vendor_data_::controller_id
_controller_id_type controller_id
Definition: controller_vendor_data.h:48
realsense_legacy_msgs::controller_vendor_data_::_vendor_data_source_type_type
uint8_t _vendor_data_source_type_type
Definition: controller_vendor_data.h:50
realsense_legacy_msgs::controller_vendor_data_::_data_type
std::array< uint8_t, 6 > _data_type
Definition: controller_vendor_data.h:56
data
Definition: parser.hpp:153
rs2rosinternal::message_traits::MD5Sum< ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > >::value
static const char * value()
Definition: controller_vendor_data.h:137
v
GLdouble v
Definition: glad/glad/glad.h:2144
string
GLsizei const GLchar *const * string
Definition: glad/glad/glad.h:2861
realsense_legacy_msgs::controller_vendor_data_::controller_vendor_data_
controller_vendor_data_(const ContainerAllocator &_alloc)
Definition: controller_vendor_data.h:35
realsense_legacy_msgs::controller_vendor_data_::_vendor_data_source_index_type
uint8_t _vendor_data_source_index_type
Definition: controller_vendor_data.h:53
void
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
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::message_operations::Printer< ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > &v)
Definition: controller_vendor_data.h:207
rs2rosinternal
Definition: datatypes.h:39
realsense_legacy_msgs::controller_vendor_dataPtr
std::shared_ptr< ::realsense_legacy_msgs::controller_vendor_data > controller_vendor_dataPtr
Definition: controller_vendor_data.h:72
realsense_legacy_msgs::controller_vendor_data_::controller_vendor_data_
controller_vendor_data_()
Definition: controller_vendor_data.h:27
serialization.h
realsense_legacy_msgs::controller_vendor_data_::ConstPtr
std::shared_ptr< ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > const > ConstPtr
Definition: controller_vendor_data.h:66
rs2rosinternal::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:90
m
std::mutex m
Definition: test-waiting-on.cpp:126
realsense_legacy_msgs::controller_vendor_data_::_timestamp_type
rs2rosinternal::Time _timestamp_type
Definition: controller_vendor_data.h:59
rs2rosinternal::message_traits::DataType< ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > >::value
static const char * value()
Definition: controller_vendor_data.h:150
builtin_message_traits.h
rs2rosinternal::serialization::Serializer< ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: controller_vendor_data.h:184
uint64_t
unsigned __int64 uint64_t
Definition: stdint.h:90
i
int i
Definition: rs-pcl-color.cpp:54
realsense_legacy_msgs::controller_vendor_data_::vendor_data_source_index
_vendor_data_source_index_type vendor_data_source_index
Definition: controller_vendor_data.h:54
realsense_legacy_msgs::controller_vendor_data_::data
_data_type data
Definition: controller_vendor_data.h:57
realsense_legacy_msgs::controller_vendor_data_::vendor_data_source_type
_vendor_data_source_type_type vendor_data_source_type
Definition: controller_vendor_data.h:51
rs2rosinternal::message_traits::MD5Sum< ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > >::value
static const char * value(const ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > &)
Definition: controller_vendor_data.h:142
realsense_legacy_msgs::controller_vendor_data
::realsense_legacy_msgs::controller_vendor_data_< std::allocator< void > > controller_vendor_data
Definition: controller_vendor_data.h:70
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::controller_vendor_data_< ContainerAllocator > >::value
static const char * value()
Definition: controller_vendor_data.h:161
rs2rosinternal::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:130
rs2rosinternal::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:96
realsense_legacy_msgs::controller_vendor_data_::Type
controller_vendor_data_< ContainerAllocator > Type
Definition: controller_vendor_data.h:25
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::controller_vendor_data_::timestamp
_timestamp_type timestamp
Definition: controller_vendor_data.h:60
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::controller_vendor_data_::_controller_id_type
uint8_t _controller_id_type
Definition: controller_vendor_data.h:47
s
GLdouble s
Definition: glad/glad/glad.h:2441
realsense_legacy_msgs::controller_vendor_dataConstPtr
std::shared_ptr< ::realsense_legacy_msgs::controller_vendor_data const > controller_vendor_dataConstPtr
Definition: controller_vendor_data.h:73
realsense_legacy_msgs::controller_vendor_data_::Ptr
std::shared_ptr< ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > > Ptr
Definition: controller_vendor_data.h:65
types.h
message_operations.h
rs2rosinternal::message_traits::DataType< ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > >::value
static const char * value(const ::realsense_legacy_msgs::controller_vendor_data_< ContainerAllocator > &)
Definition: controller_vendor_data.h:155


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