Go to the documentation of this file.00001
00002 #ifndef HECTOR_WORLDMODEL_MSGS_SERVICE_SETOBJECTNAME_H
00003 #define HECTOR_WORLDMODEL_MSGS_SERVICE_SETOBJECTNAME_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "ros/service_traits.h"
00018
00019
00020
00021
00022 namespace hector_worldmodel_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct SetObjectNameRequest_ {
00026 typedef SetObjectNameRequest_<ContainerAllocator> Type;
00027
00028 SetObjectNameRequest_()
00029 : object_id()
00030 , name()
00031 {
00032 }
00033
00034 SetObjectNameRequest_(const ContainerAllocator& _alloc)
00035 : object_id(_alloc)
00036 , name(_alloc)
00037 {
00038 }
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _object_id_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > object_id;
00042
00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00045
00046
00047 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> > Ptr;
00048 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> const> ConstPtr;
00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 };
00051 typedef ::hector_worldmodel_msgs::SetObjectNameRequest_<std::allocator<void> > SetObjectNameRequest;
00052
00053 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectNameRequest> SetObjectNameRequestPtr;
00054 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectNameRequest const> SetObjectNameRequestConstPtr;
00055
00056
00057
00058 template <class ContainerAllocator>
00059 struct SetObjectNameResponse_ {
00060 typedef SetObjectNameResponse_<ContainerAllocator> Type;
00061
00062 SetObjectNameResponse_()
00063 {
00064 }
00065
00066 SetObjectNameResponse_(const ContainerAllocator& _alloc)
00067 {
00068 }
00069
00070
00071 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::hector_worldmodel_msgs::SetObjectNameResponse_<std::allocator<void> > SetObjectNameResponse;
00076
00077 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectNameResponse> SetObjectNameResponsePtr;
00078 typedef boost::shared_ptr< ::hector_worldmodel_msgs::SetObjectNameResponse const> SetObjectNameResponseConstPtr;
00079
00080
00081 struct SetObjectName
00082 {
00083
00084 typedef SetObjectNameRequest Request;
00085 typedef SetObjectNameResponse Response;
00086 Request request;
00087 Response response;
00088
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 };
00092 }
00093
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "c42e7737953fcb0f6da23160b2771456";
00105 }
00106
00107 static const char* value(const ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> &) { return value(); }
00108 static const uint64_t static_value1 = 0xc42e7737953fcb0fULL;
00109 static const uint64_t static_value2 = 0x6da23160b2771456ULL;
00110 };
00111
00112 template<class ContainerAllocator>
00113 struct DataType< ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "hector_worldmodel_msgs/SetObjectNameRequest";
00117 }
00118
00119 static const char* value(const ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct Definition< ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "\n\
00127 \n\
00128 string object_id\n\
00129 string name\n\
00130 \n\
00131 ";
00132 }
00133
00134 static const char* value(const ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 }
00138 }
00139
00140
00141 namespace ros
00142 {
00143 namespace message_traits
00144 {
00145 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> > : public TrueType {};
00146 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> const> : public TrueType {};
00147 template<class ContainerAllocator>
00148 struct MD5Sum< ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> > {
00149 static const char* value()
00150 {
00151 return "d41d8cd98f00b204e9800998ecf8427e";
00152 }
00153
00154 static const char* value(const ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> &) { return value(); }
00155 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00156 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00157 };
00158
00159 template<class ContainerAllocator>
00160 struct DataType< ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> > {
00161 static const char* value()
00162 {
00163 return "hector_worldmodel_msgs/SetObjectNameResponse";
00164 }
00165
00166 static const char* value(const ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> &) { return value(); }
00167 };
00168
00169 template<class ContainerAllocator>
00170 struct Definition< ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> > {
00171 static const char* value()
00172 {
00173 return "\n\
00174 \n\
00175 ";
00176 }
00177
00178 static const char* value(const ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> &) { return value(); }
00179 };
00180
00181 template<class ContainerAllocator> struct IsFixedSize< ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> > : public TrueType {};
00182 }
00183 }
00184
00185 namespace ros
00186 {
00187 namespace serialization
00188 {
00189
00190 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> >
00191 {
00192 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00193 {
00194 stream.next(m.object_id);
00195 stream.next(m.name);
00196 }
00197
00198 ROS_DECLARE_ALLINONE_SERIALIZER;
00199 };
00200 }
00201 }
00202
00203
00204 namespace ros
00205 {
00206 namespace serialization
00207 {
00208
00209 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> >
00210 {
00211 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00212 {
00213 }
00214
00215 ROS_DECLARE_ALLINONE_SERIALIZER;
00216 };
00217 }
00218 }
00219
00220 namespace ros
00221 {
00222 namespace service_traits
00223 {
00224 template<>
00225 struct MD5Sum<hector_worldmodel_msgs::SetObjectName> {
00226 static const char* value()
00227 {
00228 return "c42e7737953fcb0f6da23160b2771456";
00229 }
00230
00231 static const char* value(const hector_worldmodel_msgs::SetObjectName&) { return value(); }
00232 };
00233
00234 template<>
00235 struct DataType<hector_worldmodel_msgs::SetObjectName> {
00236 static const char* value()
00237 {
00238 return "hector_worldmodel_msgs/SetObjectName";
00239 }
00240
00241 static const char* value(const hector_worldmodel_msgs::SetObjectName&) { return value(); }
00242 };
00243
00244 template<class ContainerAllocator>
00245 struct MD5Sum<hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> > {
00246 static const char* value()
00247 {
00248 return "c42e7737953fcb0f6da23160b2771456";
00249 }
00250
00251 static const char* value(const hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> &) { return value(); }
00252 };
00253
00254 template<class ContainerAllocator>
00255 struct DataType<hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> > {
00256 static const char* value()
00257 {
00258 return "hector_worldmodel_msgs/SetObjectName";
00259 }
00260
00261 static const char* value(const hector_worldmodel_msgs::SetObjectNameRequest_<ContainerAllocator> &) { return value(); }
00262 };
00263
00264 template<class ContainerAllocator>
00265 struct MD5Sum<hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> > {
00266 static const char* value()
00267 {
00268 return "c42e7737953fcb0f6da23160b2771456";
00269 }
00270
00271 static const char* value(const hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> &) { return value(); }
00272 };
00273
00274 template<class ContainerAllocator>
00275 struct DataType<hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> > {
00276 static const char* value()
00277 {
00278 return "hector_worldmodel_msgs/SetObjectName";
00279 }
00280
00281 static const char* value(const hector_worldmodel_msgs::SetObjectNameResponse_<ContainerAllocator> &) { return value(); }
00282 };
00283
00284 }
00285 }
00286
00287 #endif // HECTOR_WORLDMODEL_MSGS_SERVICE_SETOBJECTNAME_H
00288