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