GetMapResponse.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/GetMapResponse.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef NAV_MSGS_MESSAGE_GETMAPRESPONSE_H
7 #define NAV_MSGS_MESSAGE_GETMAPRESPONSE_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  }
31  GetMapResponse_(const ContainerAllocator& _alloc)
32  : map(_alloc) {
33  (void)_alloc;
34  }
35 
36 
37 
38  typedef ::nav_msgs::OccupancyGrid_<ContainerAllocator> _map_type;
40 
41 
42 
43 
44 
45  typedef std::shared_ptr< ::nav_msgs::GetMapResponse_<ContainerAllocator> > Ptr;
46  typedef std::shared_ptr< ::nav_msgs::GetMapResponse_<ContainerAllocator> const> ConstPtr;
47 
48 }; // struct GetMapResponse_
49 
50 typedef ::nav_msgs::GetMapResponse_<std::allocator<void> > GetMapResponse;
51 
52 typedef std::shared_ptr< ::nav_msgs::GetMapResponse > GetMapResponsePtr;
53 typedef std::shared_ptr< ::nav_msgs::GetMapResponse const> GetMapResponseConstPtr;
54 
55 // constants requiring out of line definition
56 
57 
58 
59 template<typename ContainerAllocator>
60 std::ostream& operator<<(std::ostream& s, const ::nav_msgs::GetMapResponse_<ContainerAllocator> & v)
61 {
63 return s;
64 }
65 
66 
67 template<typename ContainerAllocator1, typename ContainerAllocator2>
68 bool operator==(const ::nav_msgs::GetMapResponse_<ContainerAllocator1> & lhs, const ::nav_msgs::GetMapResponse_<ContainerAllocator2> & rhs)
69 {
70  return lhs.map == rhs.map;
71 }
72 
73 template<typename ContainerAllocator1, typename ContainerAllocator2>
74 bool operator!=(const ::nav_msgs::GetMapResponse_<ContainerAllocator1> & lhs, const ::nav_msgs::GetMapResponse_<ContainerAllocator2> & rhs)
75 {
76  return !(lhs == rhs);
77 }
78 
79 
80 } // namespace nav_msgs
81 
82 namespace roswrap
83 {
84 namespace message_traits
85 {
86 
87 
88 
89 
90 
91 template <class ContainerAllocator>
92 struct IsFixedSize< ::nav_msgs::GetMapResponse_<ContainerAllocator> >
93  : FalseType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsFixedSize< ::nav_msgs::GetMapResponse_<ContainerAllocator> const>
98  : FalseType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsMessage< ::nav_msgs::GetMapResponse_<ContainerAllocator> >
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsMessage< ::nav_msgs::GetMapResponse_<ContainerAllocator> const>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
112 struct HasHeader< ::nav_msgs::GetMapResponse_<ContainerAllocator> >
113  : FalseType
114  { };
115 
116 template <class ContainerAllocator>
117 struct HasHeader< ::nav_msgs::GetMapResponse_<ContainerAllocator> const>
118  : FalseType
119  { };
120 
121 
122 template<class ContainerAllocator>
123 struct MD5Sum< ::nav_msgs::GetMapResponse_<ContainerAllocator> >
124 {
125  static const char* value()
126  {
127  return "6cdd0a18e0aff5b0a3ca2326a89b54ff";
128  }
129 
130  static const char* value(const ::nav_msgs::GetMapResponse_<ContainerAllocator>&) { return value(); }
131  static const uint64_t static_value1 = 0x6cdd0a18e0aff5b0ULL;
132  static const uint64_t static_value2 = 0xa3ca2326a89b54ffULL;
133 };
134 
135 template<class ContainerAllocator>
136 struct DataType< ::nav_msgs::GetMapResponse_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "nav_msgs/GetMapResponse";
141  }
142 
143  static const char* value(const ::nav_msgs::GetMapResponse_<ContainerAllocator>&) { return value(); }
144 };
145 
146 template<class ContainerAllocator>
147 struct Definition< ::nav_msgs::GetMapResponse_<ContainerAllocator> >
148 {
149  static const char* value()
150  {
151  return "nav_msgs/OccupancyGrid map\n"
152 "\n"
153 "\n"
154 "================================================================================\n"
155 "MSG: nav_msgs/OccupancyGrid\n"
156 "# This represents a 2-D grid map, in which each cell represents the probability of\n"
157 "# occupancy.\n"
158 "\n"
159 "Header header \n"
160 "\n"
161 "#MetaData for the map\n"
162 "MapMetaData info\n"
163 "\n"
164 "# The map data, in row-major order, starting with (0,0). Occupancy\n"
165 "# probabilities are in the range [0,100]. Unknown is -1.\n"
166 "int8[] data\n"
167 "\n"
168 "================================================================================\n"
169 "MSG: std_msgs/Header\n"
170 "# Standard metadata for higher-level stamped data types.\n"
171 "# This is generally used to communicate timestamped data \n"
172 "# in a particular coordinate frame.\n"
173 "# \n"
174 "# sequence ID: consecutively increasing ID \n"
175 "uint32 seq\n"
176 "#Two-integer timestamp that is expressed as:\n"
177 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
178 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
179 "# time-handling sugar is provided by the client library\n"
180 "time stamp\n"
181 "#Frame this data is associated with\n"
182 "string frame_id\n"
183 "\n"
184 "================================================================================\n"
185 "MSG: nav_msgs/MapMetaData\n"
186 "# This hold basic information about the characterists of the OccupancyGrid\n"
187 "\n"
188 "# The time at which the map was loaded\n"
189 "time map_load_time\n"
190 "# The map resolution [m/cell]\n"
191 "float32 resolution\n"
192 "# Map width [cells]\n"
193 "uint32 width\n"
194 "# Map height [cells]\n"
195 "uint32 height\n"
196 "# The origin of the map [m, m, rad]. This is the real-world pose of the\n"
197 "# cell (0,0) in the map.\n"
198 "geometry_msgs/Pose origin\n"
199 "================================================================================\n"
200 "MSG: geometry_msgs/Pose\n"
201 "# A representation of pose in free space, composed of position and orientation. \n"
202 "Point position\n"
203 "Quaternion orientation\n"
204 "\n"
205 "================================================================================\n"
206 "MSG: geometry_msgs/Point\n"
207 "# This contains the position of a point in free space\n"
208 "float64 x\n"
209 "float64 y\n"
210 "float64 z\n"
211 "\n"
212 "================================================================================\n"
213 "MSG: geometry_msgs/Quaternion\n"
214 "# This represents an orientation in free space in quaternion form.\n"
215 "\n"
216 "float64 x\n"
217 "float64 y\n"
218 "float64 z\n"
219 "float64 w\n"
220 ;
221  }
222 
223  static const char* value(const ::nav_msgs::GetMapResponse_<ContainerAllocator>&) { return value(); }
224 };
225 
226 } // namespace message_traits
227 } // namespace roswrap
228 
229 namespace roswrap
230 {
231 namespace serialization
232 {
233 
234  template<class ContainerAllocator> struct Serializer< ::nav_msgs::GetMapResponse_<ContainerAllocator> >
235  {
236  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
237  {
238  stream.next(m.map);
239  }
240 
242  }; // struct GetMapResponse_
243 
244 } // namespace serialization
245 } // namespace roswrap
246 
247 namespace roswrap
248 {
249 namespace message_operations
250 {
251 
252 template<class ContainerAllocator>
253 struct Printer< ::nav_msgs::GetMapResponse_<ContainerAllocator> >
254 {
255  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nav_msgs::GetMapResponse_<ContainerAllocator>& v)
256  {
257  s << indent << "map: ";
258  s << std::endl;
260  }
261 };
262 
263 } // namespace message_operations
264 } // namespace roswrap
265 
266 #endif // NAV_MSGS_MESSAGE_GETMAPRESPONSE_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::GetMapResponse_::GetMapResponse_
GetMapResponse_(const ContainerAllocator &_alloc)
Definition: GetMapResponse.h:31
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
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
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
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
nav_msgs::GetMapResponse_::ConstPtr
std::shared_ptr< ::nav_msgs::GetMapResponse_< ContainerAllocator > const > ConstPtr
Definition: GetMapResponse.h:46
roswrap::message_traits::MD5Sum< ::nav_msgs::GetMapResponse_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::GetMapResponse_< ContainerAllocator > &)
Definition: GetMapResponse.h:130
ros::message_operations::Printer
nav_msgs::GetMapResponse_::map
_map_type map
Definition: GetMapResponse.h:39
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_operations::Printer< ::nav_msgs::GetMapResponse_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::nav_msgs::GetMapResponse_< ContainerAllocator > &v)
Definition: GetMapResponse.h:255
nav_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::nav_msgs::GetMapAction_< ContainerAllocator > &v)
Definition: GetMapAction.h:72
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::serialization::Serializer< ::nav_msgs::GetMapResponse_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: GetMapResponse.h:236
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
nav_msgs::GetMapResponse_::_map_type
::nav_msgs::OccupancyGrid_< ContainerAllocator > _map_type
Definition: GetMapResponse.h:38
roswrap::message_traits::Definition< ::nav_msgs::GetMapResponse_< ContainerAllocator > >::value
static const char * value()
Definition: GetMapResponse.h:149
nav_msgs::GetMapResponse_
Definition: GetMapResponse.h:24
roswrap::message_traits::DataType< ::nav_msgs::GetMapResponse_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::GetMapResponse_< ContainerAllocator > &)
Definition: GetMapResponse.h:143
OccupancyGrid.h
roswrap::message_traits::Definition< ::nav_msgs::GetMapResponse_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::GetMapResponse_< ContainerAllocator > &)
Definition: GetMapResponse.h:223
roswrap::message_traits::DataType< ::nav_msgs::GetMapResponse_< ContainerAllocator > >::value
static const char * value()
Definition: GetMapResponse.h:138
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
nav_msgs::GetMapResponse
::nav_msgs::GetMapResponse_< std::allocator< void > > GetMapResponse
Definition: GetMapResponse.h:50
nav_msgs::GetMapResponse_::GetMapResponse_
GetMapResponse_()
Definition: GetMapResponse.h:28
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
nav_msgs::GetMapResponse_::Ptr
std::shared_ptr< ::nav_msgs::GetMapResponse_< ContainerAllocator > > Ptr
Definition: GetMapResponse.h:45
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
nav_msgs::GetMapResponse_::Type
GetMapResponse_< ContainerAllocator > Type
Definition: GetMapResponse.h:26
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
nav_msgs::GetMapResponsePtr
std::shared_ptr< ::nav_msgs::GetMapResponse > GetMapResponsePtr
Definition: GetMapResponse.h:52
nav_msgs::operator!=
bool operator!=(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
Definition: GetMapAction.h:88
nav_msgs::GetMapResponseConstPtr
std::shared_ptr< ::nav_msgs::GetMapResponse const > GetMapResponseConstPtr
Definition: GetMapResponse.h:53
roswrap::message_traits::MD5Sum< ::nav_msgs::GetMapResponse_< ContainerAllocator > >::value
static const char * value()
Definition: GetMapResponse.h:125


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