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