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


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