Go to the documentation of this file.00001
00002 #ifndef RE_SRVS_SERVICE_SETACTIONRECIPE_H
00003 #define RE_SRVS_SERVICE_SETACTIONRECIPE_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 re_srvs
00023 {
00024 template <class ContainerAllocator>
00025 struct SetActionRecipeRequest_ {
00026 typedef SetActionRecipeRequest_<ContainerAllocator> Type;
00027
00028 SetActionRecipeRequest_()
00029 : cls()
00030 , id()
00031 , description()
00032 , recipe()
00033 , apiKey()
00034 {
00035 }
00036
00037 SetActionRecipeRequest_(const ContainerAllocator& _alloc)
00038 : cls(_alloc)
00039 , id(_alloc)
00040 , description(_alloc)
00041 , recipe(_alloc)
00042 , apiKey(_alloc)
00043 {
00044 }
00045
00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _cls_type;
00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > cls;
00048
00049 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _id_type;
00050 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > id;
00051
00052 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _description_type;
00053 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > description;
00054
00055 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _recipe_type;
00056 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > recipe;
00057
00058 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _apiKey_type;
00059 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > apiKey;
00060
00061
00062 typedef boost::shared_ptr< ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> > Ptr;
00063 typedef boost::shared_ptr< ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> const> ConstPtr;
00064 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00065 };
00066 typedef ::re_srvs::SetActionRecipeRequest_<std::allocator<void> > SetActionRecipeRequest;
00067
00068 typedef boost::shared_ptr< ::re_srvs::SetActionRecipeRequest> SetActionRecipeRequestPtr;
00069 typedef boost::shared_ptr< ::re_srvs::SetActionRecipeRequest const> SetActionRecipeRequestConstPtr;
00070
00071
00072 template <class ContainerAllocator>
00073 struct SetActionRecipeResponse_ {
00074 typedef SetActionRecipeResponse_<ContainerAllocator> Type;
00075
00076 SetActionRecipeResponse_()
00077 : success(false)
00078 {
00079 }
00080
00081 SetActionRecipeResponse_(const ContainerAllocator& _alloc)
00082 : success(false)
00083 {
00084 }
00085
00086 typedef uint8_t _success_type;
00087 uint8_t success;
00088
00089
00090 typedef boost::shared_ptr< ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> > Ptr;
00091 typedef boost::shared_ptr< ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> const> ConstPtr;
00092 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00093 };
00094 typedef ::re_srvs::SetActionRecipeResponse_<std::allocator<void> > SetActionRecipeResponse;
00095
00096 typedef boost::shared_ptr< ::re_srvs::SetActionRecipeResponse> SetActionRecipeResponsePtr;
00097 typedef boost::shared_ptr< ::re_srvs::SetActionRecipeResponse const> SetActionRecipeResponseConstPtr;
00098
00099 struct SetActionRecipe
00100 {
00101
00102 typedef SetActionRecipeRequest Request;
00103 typedef SetActionRecipeResponse Response;
00104 Request request;
00105 Response response;
00106
00107 typedef Request RequestType;
00108 typedef Response ResponseType;
00109 };
00110 }
00111
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> > {
00120 static const char* value()
00121 {
00122 return "9bef47262d31dfac5059d4b1d74a6089";
00123 }
00124
00125 static const char* value(const ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> &) { return value(); }
00126 static const uint64_t static_value1 = 0x9bef47262d31dfacULL;
00127 static const uint64_t static_value2 = 0x5059d4b1d74a6089ULL;
00128 };
00129
00130 template<class ContainerAllocator>
00131 struct DataType< ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "re_srvs/SetActionRecipeRequest";
00135 }
00136
00137 static const char* value(const ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> &) { return value(); }
00138 };
00139
00140 template<class ContainerAllocator>
00141 struct Definition< ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> > {
00142 static const char* value()
00143 {
00144 return "\n\
00145 string cls\n\
00146 string id\n\
00147 string description\n\
00148 string recipe\n\
00149 string apiKey\n\
00150 \n\
00151 \n\
00152 ";
00153 }
00154
00155 static const char* value(const ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> &) { return value(); }
00156 };
00157
00158 }
00159 }
00160
00161
00162 namespace ros
00163 {
00164 namespace message_traits
00165 {
00166 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> > : public TrueType {};
00167 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> const> : public TrueType {};
00168 template<class ContainerAllocator>
00169 struct MD5Sum< ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "358e233cde0c8a8bcfea4ce193f8fc15";
00173 }
00174
00175 static const char* value(const ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> &) { return value(); }
00176 static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00177 static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00178 };
00179
00180 template<class ContainerAllocator>
00181 struct DataType< ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> > {
00182 static const char* value()
00183 {
00184 return "re_srvs/SetActionRecipeResponse";
00185 }
00186
00187 static const char* value(const ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> &) { return value(); }
00188 };
00189
00190 template<class ContainerAllocator>
00191 struct Definition< ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> > {
00192 static const char* value()
00193 {
00194 return "bool success\n\
00195 \n\
00196 \n\
00197 ";
00198 }
00199
00200 static const char* value(const ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> &) { return value(); }
00201 };
00202
00203 template<class ContainerAllocator> struct IsFixedSize< ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> > : public TrueType {};
00204 }
00205 }
00206
00207 namespace ros
00208 {
00209 namespace serialization
00210 {
00211
00212 template<class ContainerAllocator> struct Serializer< ::re_srvs::SetActionRecipeRequest_<ContainerAllocator> >
00213 {
00214 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00215 {
00216 stream.next(m.cls);
00217 stream.next(m.id);
00218 stream.next(m.description);
00219 stream.next(m.recipe);
00220 stream.next(m.apiKey);
00221 }
00222
00223 ROS_DECLARE_ALLINONE_SERIALIZER;
00224 };
00225 }
00226 }
00227
00228
00229 namespace ros
00230 {
00231 namespace serialization
00232 {
00233
00234 template<class ContainerAllocator> struct Serializer< ::re_srvs::SetActionRecipeResponse_<ContainerAllocator> >
00235 {
00236 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00237 {
00238 stream.next(m.success);
00239 }
00240
00241 ROS_DECLARE_ALLINONE_SERIALIZER;
00242 };
00243 }
00244 }
00245
00246 namespace ros
00247 {
00248 namespace service_traits
00249 {
00250 template<>
00251 struct MD5Sum<re_srvs::SetActionRecipe> {
00252 static const char* value()
00253 {
00254 return "f36f93785e5f7f843ef366910639a201";
00255 }
00256
00257 static const char* value(const re_srvs::SetActionRecipe&) { return value(); }
00258 };
00259
00260 template<>
00261 struct DataType<re_srvs::SetActionRecipe> {
00262 static const char* value()
00263 {
00264 return "re_srvs/SetActionRecipe";
00265 }
00266
00267 static const char* value(const re_srvs::SetActionRecipe&) { return value(); }
00268 };
00269
00270 template<class ContainerAllocator>
00271 struct MD5Sum<re_srvs::SetActionRecipeRequest_<ContainerAllocator> > {
00272 static const char* value()
00273 {
00274 return "f36f93785e5f7f843ef366910639a201";
00275 }
00276
00277 static const char* value(const re_srvs::SetActionRecipeRequest_<ContainerAllocator> &) { return value(); }
00278 };
00279
00280 template<class ContainerAllocator>
00281 struct DataType<re_srvs::SetActionRecipeRequest_<ContainerAllocator> > {
00282 static const char* value()
00283 {
00284 return "re_srvs/SetActionRecipe";
00285 }
00286
00287 static const char* value(const re_srvs::SetActionRecipeRequest_<ContainerAllocator> &) { return value(); }
00288 };
00289
00290 template<class ContainerAllocator>
00291 struct MD5Sum<re_srvs::SetActionRecipeResponse_<ContainerAllocator> > {
00292 static const char* value()
00293 {
00294 return "f36f93785e5f7f843ef366910639a201";
00295 }
00296
00297 static const char* value(const re_srvs::SetActionRecipeResponse_<ContainerAllocator> &) { return value(); }
00298 };
00299
00300 template<class ContainerAllocator>
00301 struct DataType<re_srvs::SetActionRecipeResponse_<ContainerAllocator> > {
00302 static const char* value()
00303 {
00304 return "re_srvs/SetActionRecipe";
00305 }
00306
00307 static const char* value(const re_srvs::SetActionRecipeResponse_<ContainerAllocator> &) { return value(); }
00308 };
00309
00310 }
00311 }
00312
00313 #endif // RE_SRVS_SERVICE_SETACTIONRECIPE_H
00314