vendor_data.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_legacy_msgs/vendor_data.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef realsense_legacy_msgs_MESSAGE_VENDOR_DATA_H
6 #define realsense_legacy_msgs_MESSAGE_VENDOR_DATA_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 
18 
19 namespace realsense_legacy_msgs
20 {
21 template <class ContainerAllocator>
23 {
25 
27  : name()
28  , value() {
29  }
30  vendor_data_(const ContainerAllocator& _alloc)
31  : name(_alloc)
32  , value(_alloc) {
33  (void)_alloc;
34  }
35 
36 
37 
38  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
39  _name_type name;
40 
41  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _value_type;
42  _value_type value;
43 
44 
45 
46 
47  typedef std::shared_ptr< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> > Ptr;
48  typedef std::shared_ptr< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> const> ConstPtr;
49 
50 }; // struct vendor_data_
51 
52 typedef ::realsense_legacy_msgs::vendor_data_<std::allocator<void> > vendor_data;
53 
54 typedef std::shared_ptr< ::realsense_legacy_msgs::vendor_data > vendor_dataPtr;
55 typedef std::shared_ptr< ::realsense_legacy_msgs::vendor_data const> vendor_dataConstPtr;
56 
57 // constants requiring out of line definition
58 
59 
60 
61 template<typename ContainerAllocator>
62 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> & v)
63 {
65 return s;
66 }
67 
68 } // namespace realsense_legacy_msgs
69 
70 namespace rs2rosinternal
71 {
72 namespace message_traits
73 {
74 
75 
76 
77 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
78 // {'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/realsense_ros_file/realsense_file/realsense_legacy_msgs/msg']}
79 
80 // !!!!!!!!!!! ['__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']
81 
82 
83 
84 
85 template <class ContainerAllocator>
86 struct IsFixedSize< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> >
87  : FalseType
88  { };
89 
90 template <class ContainerAllocator>
91 struct IsFixedSize< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> const>
92  : FalseType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsMessage< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> >
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsMessage< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> const>
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct HasHeader< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> >
107  : FalseType
108  { };
109 
110 template <class ContainerAllocator>
111 struct HasHeader< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> const>
112  : FalseType
113  { };
114 
115 
116 template<class ContainerAllocator>
117 struct MD5Sum< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> >
118 {
119  static const char* value()
120  {
121  return "bc6ccc4a57f61779c8eaae61e9f422e0";
122  }
123 
124  static const char* value(const ::realsense_legacy_msgs::vendor_data_<ContainerAllocator>&) { return value(); }
125  static const uint64_t static_value1 = 0xbc6ccc4a57f61779ULL;
126  static const uint64_t static_value2 = 0xc8eaae61e9f422e0ULL;
127 };
128 
129 template<class ContainerAllocator>
130 struct DataType< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> >
131 {
132  static const char* value()
133  {
134  return "realsense_legacy_msgs/vendor_data";
135  }
136 
137  static const char* value(const ::realsense_legacy_msgs::vendor_data_<ContainerAllocator>&) { return value(); }
138 };
139 
140 template<class ContainerAllocator>
141 struct Definition< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> >
142 {
143  static const char* value()
144  {
145  return "string name\n\
146 string value\n\
147 ";
148  }
149 
150  static const char* value(const ::realsense_legacy_msgs::vendor_data_<ContainerAllocator>&) { return value(); }
151 };
152 
153 } // namespace message_traits
154 } // namespace rs2rosinternal
155 
156 namespace rs2rosinternal
157 {
158 namespace serialization
159 {
160 
161  template<class ContainerAllocator> struct Serializer< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> >
162  {
163  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
164  {
165  stream.next(m.name);
166  stream.next(m.value);
167  }
168 
170  }; // struct vendor_data_
171 
172 } // namespace serialization
173 } // namespace rs2rosinternal
174 
175 namespace rs2rosinternal
176 {
177 namespace message_operations
178 {
179 
180 template<class ContainerAllocator>
181 struct Printer< ::realsense_legacy_msgs::vendor_data_<ContainerAllocator> >
182 {
183  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::vendor_data_<ContainerAllocator>& v)
184  {
185  s << indent << "name: ";
186  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
187  s << indent << "value: ";
188  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.value);
189  }
190 };
191 
192 } // namespace message_operations
193 } // namespace rs2rosinternal
194 
195 #endif // realsense_legacy_msgs_MESSAGE_VENDOR_DATA_H
std::shared_ptr< ::realsense_legacy_msgs::vendor_data_< ContainerAllocator > const > ConstPtr
Definition: vendor_data.h:48
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
GLuint const GLchar * name
std::shared_ptr< ::realsense_legacy_msgs::vendor_data_< ContainerAllocator > > Ptr
Definition: vendor_data.h:47
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.
GLfloat value
static const char * value(const ::realsense_legacy_msgs::vendor_data_< ContainerAllocator > &)
Definition: vendor_data.h:150
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
static const char * value(const ::realsense_legacy_msgs::vendor_data_< ContainerAllocator > &)
Definition: vendor_data.h:124
GLsizei const GLchar *const * string
std::shared_ptr< ::realsense_legacy_msgs::vendor_data > vendor_dataPtr
Definition: vendor_data.h:54
static const char * value(const ::realsense_legacy_msgs::vendor_data_< ContainerAllocator > &)
Definition: vendor_data.h:137
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 base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::realsense_legacy_msgs::vendor_data const > vendor_dataConstPtr
Definition: vendor_data.h:55
#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.
vendor_data_(const ContainerAllocator &_alloc)
Definition: vendor_data.h:30
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::vendor_data_< ContainerAllocator > &v)
Definition: vendor_data.h:183
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _value_type
Definition: vendor_data.h:41
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLdouble v
::realsense_legacy_msgs::vendor_data_< std::allocator< void > > vendor_data
Definition: vendor_data.h:52
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _name_type
Definition: vendor_data.h:38
vendor_data_< ContainerAllocator > Type
Definition: vendor_data.h:24


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