Go to the documentation of this file.00001
00002 #ifndef ROSAPI_SERVICE_SETPARAM_H
00003 #define ROSAPI_SERVICE_SETPARAM_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 rosapi
00023 {
00024 template <class ContainerAllocator>
00025 struct SetParamRequest_ {
00026 typedef SetParamRequest_<ContainerAllocator> Type;
00027
00028 SetParamRequest_()
00029 : name()
00030 , value()
00031 {
00032 }
00033
00034 SetParamRequest_(const ContainerAllocator& _alloc)
00035 : name(_alloc)
00036 , value(_alloc)
00037 {
00038 }
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00042
00043 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _value_type;
00044 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > value;
00045
00046
00047 typedef boost::shared_ptr< ::rosapi::SetParamRequest_<ContainerAllocator> > Ptr;
00048 typedef boost::shared_ptr< ::rosapi::SetParamRequest_<ContainerAllocator> const> ConstPtr;
00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 };
00051 typedef ::rosapi::SetParamRequest_<std::allocator<void> > SetParamRequest;
00052
00053 typedef boost::shared_ptr< ::rosapi::SetParamRequest> SetParamRequestPtr;
00054 typedef boost::shared_ptr< ::rosapi::SetParamRequest const> SetParamRequestConstPtr;
00055
00056
00057 template <class ContainerAllocator>
00058 struct SetParamResponse_ {
00059 typedef SetParamResponse_<ContainerAllocator> Type;
00060
00061 SetParamResponse_()
00062 {
00063 }
00064
00065 SetParamResponse_(const ContainerAllocator& _alloc)
00066 {
00067 }
00068
00069
00070 typedef boost::shared_ptr< ::rosapi::SetParamResponse_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr< ::rosapi::SetParamResponse_<ContainerAllocator> const> ConstPtr;
00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 };
00074 typedef ::rosapi::SetParamResponse_<std::allocator<void> > SetParamResponse;
00075
00076 typedef boost::shared_ptr< ::rosapi::SetParamResponse> SetParamResponsePtr;
00077 typedef boost::shared_ptr< ::rosapi::SetParamResponse const> SetParamResponseConstPtr;
00078
00079 struct SetParam
00080 {
00081
00082 typedef SetParamRequest Request;
00083 typedef SetParamResponse 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< ::rosapi::SetParamRequest_<ContainerAllocator> > : public TrueType {};
00097 template<class ContainerAllocator> struct IsMessage< ::rosapi::SetParamRequest_<ContainerAllocator> const> : public TrueType {};
00098 template<class ContainerAllocator>
00099 struct MD5Sum< ::rosapi::SetParamRequest_<ContainerAllocator> > {
00100 static const char* value()
00101 {
00102 return "bc6ccc4a57f61779c8eaae61e9f422e0";
00103 }
00104
00105 static const char* value(const ::rosapi::SetParamRequest_<ContainerAllocator> &) { return value(); }
00106 static const uint64_t static_value1 = 0xbc6ccc4a57f61779ULL;
00107 static const uint64_t static_value2 = 0xc8eaae61e9f422e0ULL;
00108 };
00109
00110 template<class ContainerAllocator>
00111 struct DataType< ::rosapi::SetParamRequest_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "rosapi/SetParamRequest";
00115 }
00116
00117 static const char* value(const ::rosapi::SetParamRequest_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct Definition< ::rosapi::SetParamRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "string name\n\
00125 string value\n\
00126 \n\
00127 ";
00128 }
00129
00130 static const char* value(const ::rosapi::SetParamRequest_<ContainerAllocator> &) { return value(); }
00131 };
00132
00133 }
00134 }
00135
00136
00137 namespace ros
00138 {
00139 namespace message_traits
00140 {
00141 template<class ContainerAllocator> struct IsMessage< ::rosapi::SetParamResponse_<ContainerAllocator> > : public TrueType {};
00142 template<class ContainerAllocator> struct IsMessage< ::rosapi::SetParamResponse_<ContainerAllocator> const> : public TrueType {};
00143 template<class ContainerAllocator>
00144 struct MD5Sum< ::rosapi::SetParamResponse_<ContainerAllocator> > {
00145 static const char* value()
00146 {
00147 return "d41d8cd98f00b204e9800998ecf8427e";
00148 }
00149
00150 static const char* value(const ::rosapi::SetParamResponse_<ContainerAllocator> &) { return value(); }
00151 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00152 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00153 };
00154
00155 template<class ContainerAllocator>
00156 struct DataType< ::rosapi::SetParamResponse_<ContainerAllocator> > {
00157 static const char* value()
00158 {
00159 return "rosapi/SetParamResponse";
00160 }
00161
00162 static const char* value(const ::rosapi::SetParamResponse_<ContainerAllocator> &) { return value(); }
00163 };
00164
00165 template<class ContainerAllocator>
00166 struct Definition< ::rosapi::SetParamResponse_<ContainerAllocator> > {
00167 static const char* value()
00168 {
00169 return "\n\
00170 ";
00171 }
00172
00173 static const char* value(const ::rosapi::SetParamResponse_<ContainerAllocator> &) { return value(); }
00174 };
00175
00176 template<class ContainerAllocator> struct IsFixedSize< ::rosapi::SetParamResponse_<ContainerAllocator> > : public TrueType {};
00177 }
00178 }
00179
00180 namespace ros
00181 {
00182 namespace serialization
00183 {
00184
00185 template<class ContainerAllocator> struct Serializer< ::rosapi::SetParamRequest_<ContainerAllocator> >
00186 {
00187 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00188 {
00189 stream.next(m.name);
00190 stream.next(m.value);
00191 }
00192
00193 ROS_DECLARE_ALLINONE_SERIALIZER;
00194 };
00195 }
00196 }
00197
00198
00199 namespace ros
00200 {
00201 namespace serialization
00202 {
00203
00204 template<class ContainerAllocator> struct Serializer< ::rosapi::SetParamResponse_<ContainerAllocator> >
00205 {
00206 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00207 {
00208 }
00209
00210 ROS_DECLARE_ALLINONE_SERIALIZER;
00211 };
00212 }
00213 }
00214
00215 namespace ros
00216 {
00217 namespace service_traits
00218 {
00219 template<>
00220 struct MD5Sum<rosapi::SetParam> {
00221 static const char* value()
00222 {
00223 return "bc6ccc4a57f61779c8eaae61e9f422e0";
00224 }
00225
00226 static const char* value(const rosapi::SetParam&) { return value(); }
00227 };
00228
00229 template<>
00230 struct DataType<rosapi::SetParam> {
00231 static const char* value()
00232 {
00233 return "rosapi/SetParam";
00234 }
00235
00236 static const char* value(const rosapi::SetParam&) { return value(); }
00237 };
00238
00239 template<class ContainerAllocator>
00240 struct MD5Sum<rosapi::SetParamRequest_<ContainerAllocator> > {
00241 static const char* value()
00242 {
00243 return "bc6ccc4a57f61779c8eaae61e9f422e0";
00244 }
00245
00246 static const char* value(const rosapi::SetParamRequest_<ContainerAllocator> &) { return value(); }
00247 };
00248
00249 template<class ContainerAllocator>
00250 struct DataType<rosapi::SetParamRequest_<ContainerAllocator> > {
00251 static const char* value()
00252 {
00253 return "rosapi/SetParam";
00254 }
00255
00256 static const char* value(const rosapi::SetParamRequest_<ContainerAllocator> &) { return value(); }
00257 };
00258
00259 template<class ContainerAllocator>
00260 struct MD5Sum<rosapi::SetParamResponse_<ContainerAllocator> > {
00261 static const char* value()
00262 {
00263 return "bc6ccc4a57f61779c8eaae61e9f422e0";
00264 }
00265
00266 static const char* value(const rosapi::SetParamResponse_<ContainerAllocator> &) { return value(); }
00267 };
00268
00269 template<class ContainerAllocator>
00270 struct DataType<rosapi::SetParamResponse_<ContainerAllocator> > {
00271 static const char* value()
00272 {
00273 return "rosapi/SetParam";
00274 }
00275
00276 static const char* value(const rosapi::SetParamResponse_<ContainerAllocator> &) { return value(); }
00277 };
00278
00279 }
00280 }
00281
00282 #endif // ROSAPI_SERVICE_SETPARAM_H
00283