LoadMapRequest.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/LoadMapRequest.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef NAV_MSGS_MESSAGE_LOADMAPREQUEST_H
7 #define NAV_MSGS_MESSAGE_LOADMAPREQUEST_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 
20 namespace nav_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : map_url() {
29  }
30  LoadMapRequest_(const ContainerAllocator& _alloc)
31  : map_url(_alloc) {
32  (void)_alloc;
33  }
34 
35 
36 
37  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _map_url_type;
39 
40 
41 
42 
43 
44  typedef std::shared_ptr< ::nav_msgs::LoadMapRequest_<ContainerAllocator> > Ptr;
45  typedef std::shared_ptr< ::nav_msgs::LoadMapRequest_<ContainerAllocator> const> ConstPtr;
46 
47 }; // struct LoadMapRequest_
48 
49 typedef ::nav_msgs::LoadMapRequest_<std::allocator<void> > LoadMapRequest;
50 
51 typedef std::shared_ptr< ::nav_msgs::LoadMapRequest > LoadMapRequestPtr;
52 typedef std::shared_ptr< ::nav_msgs::LoadMapRequest const> LoadMapRequestConstPtr;
53 
54 // constants requiring out of line definition
55 
56 
57 
58 template<typename ContainerAllocator>
59 std::ostream& operator<<(std::ostream& s, const ::nav_msgs::LoadMapRequest_<ContainerAllocator> & v)
60 {
62 return s;
63 }
64 
65 
66 template<typename ContainerAllocator1, typename ContainerAllocator2>
67 bool operator==(const ::nav_msgs::LoadMapRequest_<ContainerAllocator1> & lhs, const ::nav_msgs::LoadMapRequest_<ContainerAllocator2> & rhs)
68 {
69  return lhs.map_url == rhs.map_url;
70 }
71 
72 template<typename ContainerAllocator1, typename ContainerAllocator2>
73 bool operator!=(const ::nav_msgs::LoadMapRequest_<ContainerAllocator1> & lhs, const ::nav_msgs::LoadMapRequest_<ContainerAllocator2> & rhs)
74 {
75  return !(lhs == rhs);
76 }
77 
78 
79 } // namespace nav_msgs
80 
81 namespace roswrap
82 {
83 namespace message_traits
84 {
85 
86 
87 
88 
89 
90 template <class ContainerAllocator>
91 struct IsFixedSize< ::nav_msgs::LoadMapRequest_<ContainerAllocator> >
92  : FalseType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsFixedSize< ::nav_msgs::LoadMapRequest_<ContainerAllocator> const>
97  : FalseType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsMessage< ::nav_msgs::LoadMapRequest_<ContainerAllocator> >
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsMessage< ::nav_msgs::LoadMapRequest_<ContainerAllocator> const>
107  : TrueType
108  { };
109 
110 template <class ContainerAllocator>
111 struct HasHeader< ::nav_msgs::LoadMapRequest_<ContainerAllocator> >
112  : FalseType
113  { };
114 
115 template <class ContainerAllocator>
116 struct HasHeader< ::nav_msgs::LoadMapRequest_<ContainerAllocator> const>
117  : FalseType
118  { };
119 
120 
121 template<class ContainerAllocator>
122 struct MD5Sum< ::nav_msgs::LoadMapRequest_<ContainerAllocator> >
123 {
124  static const char* value()
125  {
126  return "3813ba1ae85fbcd4dc88c90f1426b90b";
127  }
128 
129  static const char* value(const ::nav_msgs::LoadMapRequest_<ContainerAllocator>&) { return value(); }
130  static const uint64_t static_value1 = 0x3813ba1ae85fbcd4ULL;
131  static const uint64_t static_value2 = 0xdc88c90f1426b90bULL;
132 };
133 
134 template<class ContainerAllocator>
135 struct DataType< ::nav_msgs::LoadMapRequest_<ContainerAllocator> >
136 {
137  static const char* value()
138  {
139  return "nav_msgs/LoadMapRequest";
140  }
141 
142  static const char* value(const ::nav_msgs::LoadMapRequest_<ContainerAllocator>&) { return value(); }
143 };
144 
145 template<class ContainerAllocator>
146 struct Definition< ::nav_msgs::LoadMapRequest_<ContainerAllocator> >
147 {
148  static const char* value()
149  {
150  return "# URL of map resource\n"
151 "# Can be an absolute path to a file: file:///path/to/maps/floor1.yaml\n"
152 "# Or, relative to a ROS package: package://my_ros_package/maps/floor2.yaml\n"
153 "string map_url\n"
154 ;
155  }
156 
157  static const char* value(const ::nav_msgs::LoadMapRequest_<ContainerAllocator>&) { return value(); }
158 };
159 
160 } // namespace message_traits
161 } // namespace roswrap
162 
163 namespace roswrap
164 {
165 namespace serialization
166 {
167 
168  template<class ContainerAllocator> struct Serializer< ::nav_msgs::LoadMapRequest_<ContainerAllocator> >
169  {
170  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
171  {
172  stream.next(m.map_url);
173  }
174 
176  }; // struct LoadMapRequest_
177 
178 } // namespace serialization
179 } // namespace roswrap
180 
181 namespace roswrap
182 {
183 namespace message_operations
184 {
185 
186 template<class ContainerAllocator>
187 struct Printer< ::nav_msgs::LoadMapRequest_<ContainerAllocator> >
188 {
189  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::nav_msgs::LoadMapRequest_<ContainerAllocator>& v)
190  {
191  s << indent << "map_url: ";
192  Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.map_url);
193  }
194 };
195 
196 } // namespace message_operations
197 } // namespace roswrap
198 
199 #endif // NAV_MSGS_MESSAGE_LOADMAPREQUEST_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
nav_msgs::LoadMapRequest_::_map_url_type
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _map_url_type
Definition: LoadMapRequest.h:37
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
nav_msgs::LoadMapRequest_::LoadMapRequest_
LoadMapRequest_()
Definition: LoadMapRequest.h:27
nav_msgs::LoadMapRequest_::Type
LoadMapRequest_< ContainerAllocator > Type
Definition: LoadMapRequest.h:25
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
roswrap::serialization::Serializer< ::nav_msgs::LoadMapRequest_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: LoadMapRequest.h:170
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::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
nav_msgs::LoadMapRequest_::ConstPtr
std::shared_ptr< ::nav_msgs::LoadMapRequest_< ContainerAllocator > const > ConstPtr
Definition: LoadMapRequest.h:45
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
nav_msgs::LoadMapRequest_::LoadMapRequest_
LoadMapRequest_(const ContainerAllocator &_alloc)
Definition: LoadMapRequest.h:30
roswrap::message_traits::Definition< ::nav_msgs::LoadMapRequest_< ContainerAllocator > >::value
static const char * value()
Definition: LoadMapRequest.h:148
nav_msgs::LoadMapRequestConstPtr
std::shared_ptr< ::nav_msgs::LoadMapRequest const > LoadMapRequestConstPtr
Definition: LoadMapRequest.h:52
roswrap::message_traits::DataType< ::nav_msgs::LoadMapRequest_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::LoadMapRequest_< ContainerAllocator > &)
Definition: LoadMapRequest.h:142
nav_msgs::LoadMapRequest
::nav_msgs::LoadMapRequest_< std::allocator< void > > LoadMapRequest
Definition: LoadMapRequest.h:49
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
roswrap::message_traits::MD5Sum< ::nav_msgs::LoadMapRequest_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::LoadMapRequest_< ContainerAllocator > &)
Definition: LoadMapRequest.h:129
nav_msgs::LoadMapRequest_::Ptr
std::shared_ptr< ::nav_msgs::LoadMapRequest_< ContainerAllocator > > Ptr
Definition: LoadMapRequest.h:44
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::LoadMapRequest_::map_url
_map_url_type map_url
Definition: LoadMapRequest.h:38
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
roswrap::message_traits::Definition< ::nav_msgs::LoadMapRequest_< ContainerAllocator > >::value
static const char * value(const ::nav_msgs::LoadMapRequest_< ContainerAllocator > &)
Definition: LoadMapRequest.h:157
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::LoadMapRequestPtr
std::shared_ptr< ::nav_msgs::LoadMapRequest > LoadMapRequestPtr
Definition: LoadMapRequest.h:51
roswrap::message_traits::MD5Sum< ::nav_msgs::LoadMapRequest_< ContainerAllocator > >::value
static const char * value()
Definition: LoadMapRequest.h:124
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::LoadMapRequest_< ContainerAllocator > >::value
static const char * value()
Definition: LoadMapRequest.h:137
roswrap::message_operations::Printer< ::nav_msgs::LoadMapRequest_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::nav_msgs::LoadMapRequest_< ContainerAllocator > &v)
Definition: LoadMapRequest.h:189
nav_msgs::LoadMapRequest_
Definition: LoadMapRequest.h:23


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