LoadMapResponse.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Generated by gencpp from file nav_msgs/LoadMapResponse.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef NAV_MSGS_MESSAGE_LOADMAPRESPONSE_H
7 #define NAV_MSGS_MESSAGE_LOADMAPRESPONSE_H
8 
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
18 
19 #include <nav_msgs/OccupancyGrid.h>
20 
21 namespace nav_msgs
22 {
23 template <class ContainerAllocator>
25 {
27 
29  : map()
30  , result(0) {
31  }
32  LoadMapResponse_(const ContainerAllocator& _alloc)
33  : map(_alloc)
34  , result(0) {
35  (void)_alloc;
36  }
37 
38 
39 
40  typedef ::nav_msgs::OccupancyGrid_<ContainerAllocator> _map_type;
42 
43  typedef uint8_t _result_type;
45 
46 
47 
48 // reducing the odds to have name collisions with Windows.h
49 #if defined(_WIN32) && defined(RESULT_SUCCESS)
50  #undef RESULT_SUCCESS
51 #endif
52 #if defined(_WIN32) && defined(RESULT_MAP_DOES_NOT_EXIST)
53  #undef RESULT_MAP_DOES_NOT_EXIST
54 #endif
55 #if defined(_WIN32) && defined(RESULT_INVALID_MAP_DATA)
56  #undef RESULT_INVALID_MAP_DATA
57 #endif
58 #if defined(_WIN32) && defined(RESULT_INVALID_MAP_METADATA)
59  #undef RESULT_INVALID_MAP_METADATA
60 #endif
61 #if defined(_WIN32) && defined(RESULT_UNDEFINED_FAILURE)
62  #undef RESULT_UNDEFINED_FAILURE
63 #endif
64 
65  enum {
71  };
72 
73 
74  typedef std::shared_ptr< ::nav_msgs::LoadMapResponse_<ContainerAllocator> > Ptr;
75  typedef std::shared_ptr< ::nav_msgs::LoadMapResponse_<ContainerAllocator> const> ConstPtr;
76 
77 }; // struct LoadMapResponse_
78 
79 typedef ::nav_msgs::LoadMapResponse_<std::allocator<void> > LoadMapResponse;
80 
81 typedef std::shared_ptr< ::nav_msgs::LoadMapResponse > LoadMapResponsePtr;
82 typedef std::shared_ptr< ::nav_msgs::LoadMapResponse const> LoadMapResponseConstPtr;
83 
84 // constants requiring out of line definition
85 
86 
87 
88 
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 template<typename ContainerAllocator>
99 std::ostream& operator<<(std::ostream& s, const ::nav_msgs::LoadMapResponse_<ContainerAllocator> & v)
100 {
102 return s;
103 }
104 
105 
106 template<typename ContainerAllocator1, typename ContainerAllocator2>
107 bool operator==(const ::nav_msgs::LoadMapResponse_<ContainerAllocator1> & lhs, const ::nav_msgs::LoadMapResponse_<ContainerAllocator2> & rhs)
108 {
109  return lhs.map == rhs.map &&
110  lhs.result == rhs.result;
111 }
112 
113 template<typename ContainerAllocator1, typename ContainerAllocator2>
114 bool operator!=(const ::nav_msgs::LoadMapResponse_<ContainerAllocator1> & lhs, const ::nav_msgs::LoadMapResponse_<ContainerAllocator2> & rhs)
115 {
116  return !(lhs == rhs);
117 }
118 
119 
120 } // namespace nav_msgs
121 
122 namespace roswrap
123 {
124 namespace message_traits
125 {
126 
127 
128 
129 
130 
131 template <class ContainerAllocator>
132 struct IsFixedSize< ::nav_msgs::LoadMapResponse_<ContainerAllocator> >
133  : FalseType
134  { };
135 
136 template <class ContainerAllocator>
137 struct IsFixedSize< ::nav_msgs::LoadMapResponse_<ContainerAllocator> const>
138  : FalseType
139  { };
140 
141 template <class ContainerAllocator>
142 struct IsMessage< ::nav_msgs::LoadMapResponse_<ContainerAllocator> >
143  : TrueType
144  { };
145 
146 template <class ContainerAllocator>
147 struct IsMessage< ::nav_msgs::LoadMapResponse_<ContainerAllocator> const>
148  : TrueType
149  { };
150 
151 template <class ContainerAllocator>
152 struct HasHeader< ::nav_msgs::LoadMapResponse_<ContainerAllocator> >
153  : FalseType
154  { };
155 
156 template <class ContainerAllocator>
157 struct HasHeader< ::nav_msgs::LoadMapResponse_<ContainerAllocator> const>
158  : FalseType
159  { };
160 
161 
162 template<class ContainerAllocator>
163 struct MD5Sum< ::nav_msgs::LoadMapResponse_<ContainerAllocator> >
164 {
165  static const char* value()
166  {
167  return "079b9c828e9f7c1918bf86932fd7267e";
168  }
169 
170  static const char* value(const ::nav_msgs::LoadMapResponse_<ContainerAllocator>&) { return value(); }
171  static const uint64_t static_value1 = 0x079b9c828e9f7c19ULL;
172  static const uint64_t static_value2 = 0x18bf86932fd7267eULL;
173 };
174 
175 template<class ContainerAllocator>
176 struct DataType< ::nav_msgs::LoadMapResponse_<ContainerAllocator> >
177 {
178  static const char* value()
179  {
180  return "nav_msgs/LoadMapResponse";
181  }
182 
183  static const char* value(const ::nav_msgs::LoadMapResponse_<ContainerAllocator>&) { return value(); }
184 };
185 
186 template<class ContainerAllocator>
187 struct Definition< ::nav_msgs::LoadMapResponse_<ContainerAllocator> >
188 {
189  static const char* value()
190  {
191  return "# Result code defintions\n"
192 "uint8 RESULT_SUCCESS=0\n"
193 "uint8 RESULT_MAP_DOES_NOT_EXIST=1\n"
194 "uint8 RESULT_INVALID_MAP_DATA=2\n"
195 "uint8 RESULT_INVALID_MAP_METADATA=3\n"
196 "uint8 RESULT_UNDEFINED_FAILURE=255\n"
197 "\n"
198 "# Returned map is only valid if result equals RESULT_SUCCESS\n"
199 "nav_msgs/OccupancyGrid map\n"
200 "uint8 result\n"
201 "\n"
202 "\n"
203 "================================================================================\n"
204 "MSG: nav_msgs/OccupancyGrid\n"
205 "# This represents a 2-D grid map, in which each cell represents the probability of\n"
206 "# occupancy.\n"
207 "\n"
208 "Header header \n"
209 "\n"
210 "#MetaData for the map\n"
211 "MapMetaData info\n"
212 "\n"
213 "# The map data, in row-major order, starting with (0,0). Occupancy\n"
214 "# probabilities are in the range [0,100]. Unknown is -1.\n"
215 "int8[] data\n"
216 "\n"
217 "================================================================================\n"
218 "MSG: std_msgs/Header\n"
219 "# Standard metadata for higher-level stamped data types.\n"
220 "# This is generally used to communicate timestamped data \n"
221 "# in a particular coordinate frame.\n"
222 "# \n"
223 "# sequence ID: consecutively increasing ID \n"
224 "uint32 seq\n"
225 "#Two-integer timestamp that is expressed as:\n"
226 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
227 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
228 "# time-handling sugar is provided by the client library\n"
229 "time stamp\n"
230 "#Frame this data is associated with\n"
231 "string frame_id\n"
232 "\n"
233 "================================================================================\n"
234 "MSG: nav_msgs/MapMetaData\n"
235 "# This hold basic information about the characterists of the OccupancyGrid\n"
236 "\n"
237 "# The time at which the map was loaded\n"
238 "time map_load_time\n"
239 "# The map resolution [m/cell]\n"
240 "float32 resolution\n"
241 "# Map width [cells]\n"
242 "uint32 width\n"
243 "# Map height [cells]\n"
244 "uint32 height\n"
245 "# The origin of the map [m, m, rad]. This is the real-world pose of the\n"
246 "# cell (0,0) in the map.\n"
247 "geometry_msgs/Pose origin\n"
248 "================================================================================\n"
249 "MSG: geometry_msgs/Pose\n"
250 "# A representation of pose in free space, composed of position and orientation. \n"
251 "Point position\n"
252 "Quaternion orientation\n"
253 "\n"
254 "================================================================================\n"
255 "MSG: geometry_msgs/Point\n"
256 "# This contains the position of a point in free space\n"
257 "float64 x\n"
258 "float64 y\n"
259 "float64 z\n"
260 "\n"
261 "================================================================================\n"
262 "MSG: geometry_msgs/Quaternion\n"
263 "# This represents an orientation in free space in quaternion form.\n"
264 "\n"
265 "float64 x\n"
266 "float64 y\n"
267 "float64 z\n"
268 "float64 w\n"
269 ;
270  }
271 
272  static const char* value(const ::nav_msgs::LoadMapResponse_<ContainerAllocator>&) { return value(); }
273 };
274 
275 } // namespace message_traits
276 } // namespace roswrap
277 
278 namespace roswrap
279 {
280 namespace serialization
281 {
282 
283  template<class ContainerAllocator> struct Serializer< ::nav_msgs::LoadMapResponse_<ContainerAllocator> >
284  {
285  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
286  {
287  stream.next(m.map);
288  stream.next(m.result);
289  }
290 
292  }; // struct LoadMapResponse_
293 
294 } // namespace serialization
295 } // namespace roswrap
296 
297 namespace roswrap
298 {
299 namespace message_operations
300 {
301 
302 template<class ContainerAllocator>
303 struct Printer< ::nav_msgs::LoadMapResponse_<ContainerAllocator> >
304 {
305  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nav_msgs::LoadMapResponse_<ContainerAllocator>& v)
306  {
307  s << indent << "map: ";
308  s << std::endl;
310  s << indent << "result: ";
311  Printer<uint8_t>::stream(s, indent + " ", v.result);
312  }
313 };
314 
315 } // namespace message_operations
316 } // namespace roswrap
317 
318 #endif // NAV_MSGS_MESSAGE_LOADMAPRESPONSE_H
roswrap::message_traits::FalseType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:89
nav_msgs::LoadMapResponse_::LoadMapResponse_
LoadMapResponse_(const ContainerAllocator &_alloc)
Definition: LoadMapResponse.h:32
roswrap::message_traits::MD5Sum< ::nav_msgs::LoadMapResponse_< ContainerAllocator > >::value
static const char * value()
Definition: LoadMapResponse.h:165
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
nav_msgs::LoadMapResponse_::RESULT_UNDEFINED_FAILURE
@ RESULT_UNDEFINED_FAILURE
Definition: LoadMapResponse.h:70
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
nav_msgs::LoadMapResponse_::RESULT_MAP_DOES_NOT_EXIST
@ RESULT_MAP_DOES_NOT_EXIST
Definition: LoadMapResponse.h:67
roswrap::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:107
nav_msgs::LoadMapResponse_
Definition: LoadMapResponse.h:24
const
#define const
Definition: getopt.c:38
nav_msgs::LoadMapResponse_::map
_map_type map
Definition: LoadMapResponse.h:41
nav_msgs::LoadMapResponse_::result
_result_type result
Definition: LoadMapResponse.h:44
s
XmlRpcServer s
nav_msgs::LoadMapResponse_::RESULT_INVALID_MAP_DATA
@ RESULT_INVALID_MAP_DATA
Definition: LoadMapResponse.h:68
nav_msgs::LoadMapResponse_::_map_type
::nav_msgs::OccupancyGrid_< ContainerAllocator > _map_type
Definition: LoadMapResponse.h:40
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
nav_msgs::LoadMapResponse_::Ptr
std::shared_ptr< ::nav_msgs::LoadMapResponse_< ContainerAllocator > > Ptr
Definition: LoadMapResponse.h:74
roswrap::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:103
ros::message_operations::Printer
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: serialization.h:74
roswrap::message_traits::Definition< ::nav_msgs::LoadMapResponse_< ContainerAllocator > >::value
static const char * value()
Definition: LoadMapResponse.h:189
nav_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::nav_msgs::GetMapAction_< ContainerAllocator > &v)
Definition: GetMapAction.h:72
nav_msgs::LoadMapResponsePtr
std::shared_ptr< ::nav_msgs::LoadMapResponse > LoadMapResponsePtr
Definition: LoadMapResponse.h:81
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
nav_msgs::LoadMapResponse_::ConstPtr
std::shared_ptr< ::nav_msgs::LoadMapResponse_< ContainerAllocator > const > ConstPtr
Definition: LoadMapResponse.h:75
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
roswrap::message_traits::DataType< ::nav_msgs::LoadMapResponse_< ContainerAllocator > >::value
static const char * value()
Definition: LoadMapResponse.h:178
nav_msgs::LoadMapResponse_::RESULT_INVALID_MAP_METADATA
@ RESULT_INVALID_MAP_METADATA
Definition: LoadMapResponse.h:69
roswrap::message_traits::DataType< ::nav_msgs::LoadMapResponse_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::LoadMapResponse_< ContainerAllocator > &)
Definition: LoadMapResponse.h:183
roswrap::message_operations::Printer< ::nav_msgs::LoadMapResponse_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::nav_msgs::LoadMapResponse_< ContainerAllocator > &v)
Definition: LoadMapResponse.h:305
nav_msgs::LoadMapResponse_::RESULT_SUCCESS
@ RESULT_SUCCESS
Definition: LoadMapResponse.h:66
nav_msgs::LoadMapResponse_::LoadMapResponse_
LoadMapResponse_()
Definition: LoadMapResponse.h:28
nav_msgs::LoadMapResponse
::nav_msgs::LoadMapResponse_< std::allocator< void > > LoadMapResponse
Definition: LoadMapResponse.h:79
OccupancyGrid.h
roswrap
Definition: param_modi.cpp:41
nav_msgs::LoadMapResponseConstPtr
std::shared_ptr< ::nav_msgs::LoadMapResponse const > LoadMapResponseConstPtr
Definition: LoadMapResponse.h:82
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::MD5Sum< ::nav_msgs::LoadMapResponse_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::LoadMapResponse_< ContainerAllocator > &)
Definition: LoadMapResponse.h:170
nav_msgs::LoadMapResponse_::_result_type
uint8_t _result_type
Definition: LoadMapResponse.h:43
roswrap::message_traits::TrueType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:79
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
nav_msgs
Definition: GetMap.h:16
roswrap::serialization::Serializer< ::nav_msgs::LoadMapResponse_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: LoadMapResponse.h:285
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
nav_msgs::OccupancyGrid_
Definition: OccupancyGrid.h:25
nav_msgs::operator==
bool operator==(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
Definition: GetMapAction.h:80
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
roswrap::message_traits::Definition< ::nav_msgs::LoadMapResponse_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::LoadMapResponse_< ContainerAllocator > &)
Definition: LoadMapResponse.h:272
nav_msgs::LoadMapResponse_::Type
LoadMapResponse_< ContainerAllocator > Type
Definition: LoadMapResponse.h:26
nav_msgs::operator!=
bool operator!=(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
Definition: GetMapAction.h:88


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:08