occupancy_map.h
Go to the documentation of this file.
1 // Generated by gencpp from file realsense_legacy_msgs/occupancy_map.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef realsense_legacy_msgs_MESSAGE_OCCUPANCY_MAP_H
6 #define realsense_legacy_msgs_MESSAGE_OCCUPANCY_MAP_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  : accuracy(0)
28  , reserved(0)
29  , tile_count(0)
30  , tiles() {
31  }
32  occupancy_map_(const ContainerAllocator& _alloc)
33  : accuracy(0)
34  , reserved(0)
35  , tile_count(0)
36  , tiles(_alloc) {
37  (void)_alloc;
38  }
39 
40 
41 
43  _accuracy_type accuracy;
44 
46  _reserved_type reserved;
47 
49  _tile_count_type tile_count;
50 
51  typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _tiles_type;
52  _tiles_type tiles;
53 
54 
55 
56 
57  typedef std::shared_ptr< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> > Ptr;
58  typedef std::shared_ptr< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> const> ConstPtr;
59 
60 }; // struct occupancy_map_
61 
62 typedef ::realsense_legacy_msgs::occupancy_map_<std::allocator<void> > occupancy_map;
63 
64 typedef std::shared_ptr< ::realsense_legacy_msgs::occupancy_map > occupancy_mapPtr;
65 typedef std::shared_ptr< ::realsense_legacy_msgs::occupancy_map const> occupancy_mapConstPtr;
66 
67 // constants requiring out of line definition
68 
69 
70 
71 template<typename ContainerAllocator>
72 std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> & v)
73 {
75 return s;
76 }
77 
78 } // namespace realsense_legacy_msgs
79 
80 namespace rs2rosinternal
81 {
82 namespace message_traits
83 {
84 
85 
86 
87 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': False}
88 // {'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']}
89 
90 // !!!!!!!!!!! ['__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']
91 
92 
93 
94 
95 template <class ContainerAllocator>
96 struct IsFixedSize< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> >
97  : FalseType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsFixedSize< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> const>
102  : FalseType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsMessage< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> >
107  : TrueType
108  { };
109 
110 template <class ContainerAllocator>
111 struct IsMessage< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> const>
112  : TrueType
113  { };
114 
115 template <class ContainerAllocator>
116 struct HasHeader< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> >
117  : FalseType
118  { };
119 
120 template <class ContainerAllocator>
121 struct HasHeader< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> const>
122  : FalseType
123  { };
124 
125 
126 template<class ContainerAllocator>
127 struct MD5Sum< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> >
128 {
129  static const char* value()
130  {
131  return "e1b78aba30e7abd0605079857ac6fbc7";
132  }
133 
134  static const char* value(const ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator>&) { return value(); }
135  static const uint64_t static_value1 = 0xe1b78aba30e7abd0ULL;
136  static const uint64_t static_value2 = 0x605079857ac6fbc7ULL;
137 };
138 
139 template<class ContainerAllocator>
140 struct DataType< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> >
141 {
142  static const char* value()
143  {
144  return "realsense_legacy_msgs/occupancy_map";
145  }
146 
147  static const char* value(const ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator>&) { return value(); }
148 };
149 
150 template<class ContainerAllocator>
151 struct Definition< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> >
152 {
153  static const char* value()
154  {
155  return "uint8 accuracy\n\
156 byte reserved\n\
157 uint16 tile_count\n\
158 float32[] tiles\n\
159 ";
160  }
161 
162  static const char* value(const ::realsense_legacy_msgs::occupancy_map_<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::occupancy_map_<ContainerAllocator> >
174  {
175  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
176  {
177  stream.next(m.accuracy);
178  stream.next(m.reserved);
179  stream.next(m.tile_count);
180  stream.next(m.tiles);
181  }
182 
184  }; // struct occupancy_map_
185 
186 } // namespace serialization
187 } // namespace rs2rosinternal
188 
189 namespace rs2rosinternal
190 {
191 namespace message_operations
192 {
193 
194 template<class ContainerAllocator>
195 struct Printer< ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator> >
196 {
197  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::occupancy_map_<ContainerAllocator>& v)
198  {
199  s << indent << "accuracy: ";
200  Printer<uint8_t>::stream(s, indent + " ", v.accuracy);
201  s << indent << "reserved: ";
202  Printer<int8_t>::stream(s, indent + " ", v.reserved);
203  s << indent << "tile_count: ";
204  Printer<uint16_t>::stream(s, indent + " ", v.tile_count);
205  s << indent << "tiles[]" << std::endl;
206  for (size_t i = 0; i < v.tiles.size(); ++i)
207  {
208  s << indent << " tiles[" << i << "]: ";
209  Printer<float>::stream(s, indent + " ", v.tiles[i]);
210  }
211  }
212 };
213 
214 } // namespace message_operations
215 } // namespace rs2rosinternal
216 
217 #endif // realsense_legacy_msgs_MESSAGE_OCCUPANCY_MAP_H
occupancy_map_(const ContainerAllocator &_alloc)
Definition: occupancy_map.h:32
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
static void stream(Stream &s, const std::string &indent, const ::realsense_legacy_msgs::occupancy_map_< ContainerAllocator > &v)
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
::realsense_legacy_msgs::occupancy_map_< std::allocator< void > > occupancy_map
Definition: occupancy_map.h:62
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
static const char * value(const ::realsense_legacy_msgs::occupancy_map_< ContainerAllocator > &)
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
unsigned short uint16_t
Definition: stdint.h:79
GLsizei const GLchar *const * string
std::shared_ptr< ::realsense_legacy_msgs::occupancy_map_< ContainerAllocator > > Ptr
Definition: occupancy_map.h:57
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
unsigned char uint8_t
Definition: stdint.h:78
static const char * value(const ::realsense_legacy_msgs::occupancy_map_< ContainerAllocator > &)
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.
#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.
occupancy_map_< ContainerAllocator > Type
Definition: occupancy_map.h:24
signed char int8_t
Definition: stdint.h:75
std::vector< float, typename ContainerAllocator::template rebind< float >::other > _tiles_type
Definition: occupancy_map.h:51
std::shared_ptr< ::realsense_legacy_msgs::occupancy_map const > occupancy_mapConstPtr
Definition: occupancy_map.h:65
std::shared_ptr< ::realsense_legacy_msgs::occupancy_map_< ContainerAllocator > const > ConstPtr
Definition: occupancy_map.h:58
int i
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static const char * value(const ::realsense_legacy_msgs::occupancy_map_< ContainerAllocator > &)
GLdouble v
std::shared_ptr< ::realsense_legacy_msgs::occupancy_map > occupancy_mapPtr
Definition: occupancy_map.h:64


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