GridCells.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/GridCells.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef NAV_MSGS_MESSAGE_GRIDCELLS_H
7 #define NAV_MSGS_MESSAGE_GRIDCELLS_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 <std_msgs/Header.h>
20 #include <geometry_msgs/Point.h>
21 
22 namespace nav_msgs
23 {
24 template <class ContainerAllocator>
25 struct GridCells_
26 {
28 
30  : header()
31  , cell_width(0.0)
32  , cell_height(0.0)
33  , cells() {
34  }
35  GridCells_(const ContainerAllocator& _alloc)
36  : header(_alloc)
37  , cell_width(0.0)
38  , cell_height(0.0)
39  , cells(_alloc) {
40  (void)_alloc;
41  }
42 
43 
44 
45  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
47 
48  typedef float _cell_width_type;
50 
51  typedef float _cell_height_type;
53 
54  typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > _cells_type;
56 
57 
58 
59 
60 
61  typedef std::shared_ptr< ::nav_msgs::GridCells_<ContainerAllocator> > Ptr;
62  typedef std::shared_ptr< ::nav_msgs::GridCells_<ContainerAllocator> const> ConstPtr;
63 
64 }; // struct GridCells_
65 
66 typedef ::nav_msgs::GridCells_<std::allocator<void> > GridCells;
67 
68 typedef std::shared_ptr< ::nav_msgs::GridCells > GridCellsPtr;
69 typedef std::shared_ptr< ::nav_msgs::GridCells const> GridCellsConstPtr;
70 
71 // constants requiring out of line definition
72 
73 
74 
75 template<typename ContainerAllocator>
76 std::ostream& operator<<(std::ostream& s, const ::nav_msgs::GridCells_<ContainerAllocator> & v)
77 {
79 return s;
80 }
81 
82 
83 template<typename ContainerAllocator1, typename ContainerAllocator2>
84 bool operator==(const ::nav_msgs::GridCells_<ContainerAllocator1> & lhs, const ::nav_msgs::GridCells_<ContainerAllocator2> & rhs)
85 {
86  return lhs.header == rhs.header &&
87  lhs.cell_width == rhs.cell_width &&
88  lhs.cell_height == rhs.cell_height &&
89  lhs.cells == rhs.cells;
90 }
91 
92 template<typename ContainerAllocator1, typename ContainerAllocator2>
93 bool operator!=(const ::nav_msgs::GridCells_<ContainerAllocator1> & lhs, const ::nav_msgs::GridCells_<ContainerAllocator2> & rhs)
94 {
95  return !(lhs == rhs);
96 }
97 
98 
99 } // namespace nav_msgs
100 
101 namespace roswrap
102 {
103 namespace message_traits
104 {
105 
106 
107 
108 
109 
110 template <class ContainerAllocator>
111 struct IsFixedSize< ::nav_msgs::GridCells_<ContainerAllocator> >
112  : FalseType
113  { };
114 
115 template <class ContainerAllocator>
116 struct IsFixedSize< ::nav_msgs::GridCells_<ContainerAllocator> const>
117  : FalseType
118  { };
119 
120 template <class ContainerAllocator>
121 struct IsMessage< ::nav_msgs::GridCells_<ContainerAllocator> >
122  : TrueType
123  { };
124 
125 template <class ContainerAllocator>
126 struct IsMessage< ::nav_msgs::GridCells_<ContainerAllocator> const>
127  : TrueType
128  { };
129 
130 template <class ContainerAllocator>
131 struct HasHeader< ::nav_msgs::GridCells_<ContainerAllocator> >
132  : TrueType
133  { };
134 
135 template <class ContainerAllocator>
136 struct HasHeader< ::nav_msgs::GridCells_<ContainerAllocator> const>
137  : TrueType
138  { };
139 
140 
141 template<class ContainerAllocator>
142 struct MD5Sum< ::nav_msgs::GridCells_<ContainerAllocator> >
143 {
144  static const char* value()
145  {
146  return "b9e4f5df6d28e272ebde00a3994830f5";
147  }
148 
149  static const char* value(const ::nav_msgs::GridCells_<ContainerAllocator>&) { return value(); }
150  static const uint64_t static_value1 = 0xb9e4f5df6d28e272ULL;
151  static const uint64_t static_value2 = 0xebde00a3994830f5ULL;
152 };
153 
154 template<class ContainerAllocator>
155 struct DataType< ::nav_msgs::GridCells_<ContainerAllocator> >
156 {
157  static const char* value()
158  {
159  return "nav_msgs/GridCells";
160  }
161 
162  static const char* value(const ::nav_msgs::GridCells_<ContainerAllocator>&) { return value(); }
163 };
164 
165 template<class ContainerAllocator>
166 struct Definition< ::nav_msgs::GridCells_<ContainerAllocator> >
167 {
168  static const char* value()
169  {
170  return "#an array of cells in a 2D grid\n"
171 "Header header\n"
172 "float32 cell_width\n"
173 "float32 cell_height\n"
174 "geometry_msgs/Point[] cells\n"
175 "\n"
176 "================================================================================\n"
177 "MSG: std_msgs/Header\n"
178 "# Standard metadata for higher-level stamped data types.\n"
179 "# This is generally used to communicate timestamped data \n"
180 "# in a particular coordinate frame.\n"
181 "# \n"
182 "# sequence ID: consecutively increasing ID \n"
183 "uint32 seq\n"
184 "#Two-integer timestamp that is expressed as:\n"
185 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
186 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
187 "# time-handling sugar is provided by the client library\n"
188 "time stamp\n"
189 "#Frame this data is associated with\n"
190 "string frame_id\n"
191 "\n"
192 "================================================================================\n"
193 "MSG: geometry_msgs/Point\n"
194 "# This contains the position of a point in free space\n"
195 "float64 x\n"
196 "float64 y\n"
197 "float64 z\n"
198 ;
199  }
200 
201  static const char* value(const ::nav_msgs::GridCells_<ContainerAllocator>&) { return value(); }
202 };
203 
204 } // namespace message_traits
205 } // namespace roswrap
206 
207 namespace roswrap
208 {
209 namespace serialization
210 {
211 
212  template<class ContainerAllocator> struct Serializer< ::nav_msgs::GridCells_<ContainerAllocator> >
213  {
214  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
215  {
216  stream.next(m.header);
217  stream.next(m.cell_width);
218  stream.next(m.cell_height);
219  stream.next(m.cells);
220  }
221 
223  }; // struct GridCells_
224 
225 } // namespace serialization
226 } // namespace roswrap
227 
228 namespace roswrap
229 {
230 namespace message_operations
231 {
232 
233 template<class ContainerAllocator>
234 struct Printer< ::nav_msgs::GridCells_<ContainerAllocator> >
235 {
236  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nav_msgs::GridCells_<ContainerAllocator>& v)
237  {
238  s << indent << "header: ";
239  s << std::endl;
241  s << indent << "cell_width: ";
242  Printer<float>::stream(s, indent + " ", v.cell_width);
243  s << indent << "cell_height: ";
244  Printer<float>::stream(s, indent + " ", v.cell_height);
245  s << indent << "cells[]" << std::endl;
246  for (size_t i = 0; i < v.cells.size(); ++i)
247  {
248  s << indent << " cells[" << i << "]: ";
249  s << std::endl;
250  s << indent;
252  }
253  }
254 };
255 
256 } // namespace message_operations
257 } // namespace roswrap
258 
259 #endif // NAV_MSGS_MESSAGE_GRIDCELLS_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::GridCellsConstPtr
std::shared_ptr< ::nav_msgs::GridCells const > GridCellsConstPtr
Definition: GridCells.h:69
nav_msgs::GridCells
::nav_msgs::GridCells_< std::allocator< void > > GridCells
Definition: GridCells.h:66
roswrap::message_traits::MD5Sum< ::nav_msgs::GridCells_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::GridCells_< ContainerAllocator > &)
Definition: GridCells.h:149
nav_msgs::GridCells_
Definition: GridCells.h:25
Point.h
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
nav_msgs::GridCells_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: GridCells.h:45
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
nav_msgs::GridCells_::GridCells_
GridCells_(const ContainerAllocator &_alloc)
Definition: GridCells.h:35
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::GridCells_::_cell_height_type
float _cell_height_type
Definition: GridCells.h:51
nav_msgs::GridCells_::ConstPtr
std::shared_ptr< ::nav_msgs::GridCells_< ContainerAllocator > const > ConstPtr
Definition: GridCells.h:62
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
nav_msgs::GridCells_::header
_header_type header
Definition: GridCells.h:46
nav_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::nav_msgs::GetMapAction_< ContainerAllocator > &v)
Definition: GetMapAction.h:72
nav_msgs::GridCells_::_cell_width_type
float _cell_width_type
Definition: GridCells.h:48
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::serialization::Serializer< ::nav_msgs::GridCells_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: GridCells.h:214
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
roswrap::message_operations::Printer< ::nav_msgs::GridCells_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::nav_msgs::GridCells_< ContainerAllocator > &v)
Definition: GridCells.h:236
roswrap::message_traits::Definition< ::nav_msgs::GridCells_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::GridCells_< ContainerAllocator > &)
Definition: GridCells.h:201
roswrap::message_traits::DataType< ::nav_msgs::GridCells_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::GridCells_< ContainerAllocator > &)
Definition: GridCells.h:162
nav_msgs::GridCells_::Ptr
std::shared_ptr< ::nav_msgs::GridCells_< ContainerAllocator > > Ptr
Definition: GridCells.h:61
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::Header_
Definition: Header.h:23
nav_msgs::GridCells_::cell_width
_cell_width_type cell_width
Definition: GridCells.h:49
nav_msgs::GridCellsPtr
std::shared_ptr< ::nav_msgs::GridCells > GridCellsPtr
Definition: GridCells.h:68
roswrap::message_traits::MD5Sum< ::nav_msgs::GridCells_< ContainerAllocator > >::value
static const char * value()
Definition: GridCells.h:144
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::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
nav_msgs::operator==
bool operator==(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
Definition: GetMapAction.h:80
nav_msgs::GridCells_::_cells_type
std::vector< ::geometry_msgs::Point_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::geometry_msgs::Point_< ContainerAllocator > >::other > _cells_type
Definition: GridCells.h:54
nav_msgs::GridCells_::Type
GridCells_< ContainerAllocator > Type
Definition: GridCells.h:27
nav_msgs::GridCells_::cells
_cells_type cells
Definition: GridCells.h:55
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::GridCells_< ContainerAllocator > >::value
static const char * value()
Definition: GridCells.h:168
nav_msgs::GridCells_::GridCells_
GridCells_()
Definition: GridCells.h:29
nav_msgs::GridCells_::cell_height
_cell_height_type cell_height
Definition: GridCells.h:52
Header.h
nav_msgs::operator!=
bool operator!=(const ::nav_msgs::GetMapAction_< ContainerAllocator1 > &lhs, const ::nav_msgs::GetMapAction_< ContainerAllocator2 > &rhs)
Definition: GetMapAction.h:88
roswrap::message_traits::DataType< ::nav_msgs::GridCells_< ContainerAllocator > >::value
static const char * value()
Definition: GridCells.h:157


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