Go to the documentation of this file.00001
00002 #ifndef RE_SRVS_SERVICE_SEARCHENVIRONMENTS_H
00003 #define RE_SRVS_SERVICE_SEARCHENVIRONMENTS_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 #include "re_msgs/StringArray.h"
00022 #include "re_msgs/StringArray.h"
00023
00024 namespace re_srvs
00025 {
00026 template <class ContainerAllocator>
00027 struct SearchEnvironmentsRequest_ {
00028 typedef SearchEnvironmentsRequest_<ContainerAllocator> Type;
00029
00030 SearchEnvironmentsRequest_()
00031 : searchID()
00032 {
00033 }
00034
00035 SearchEnvironmentsRequest_(const ContainerAllocator& _alloc)
00036 : searchID(_alloc)
00037 {
00038 }
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _searchID_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > searchID;
00042
00043
00044 typedef boost::shared_ptr< ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::re_srvs::SearchEnvironmentsRequest_<std::allocator<void> > SearchEnvironmentsRequest;
00049
00050 typedef boost::shared_ptr< ::re_srvs::SearchEnvironmentsRequest> SearchEnvironmentsRequestPtr;
00051 typedef boost::shared_ptr< ::re_srvs::SearchEnvironmentsRequest const> SearchEnvironmentsRequestConstPtr;
00052
00053
00054 template <class ContainerAllocator>
00055 struct SearchEnvironmentsResponse_ {
00056 typedef SearchEnvironmentsResponse_<ContainerAllocator> Type;
00057
00058 SearchEnvironmentsResponse_()
00059 : success(false)
00060 , uids()
00061 , environments()
00062 , filenames()
00063 , fileURLs()
00064 {
00065 }
00066
00067 SearchEnvironmentsResponse_(const ContainerAllocator& _alloc)
00068 : success(false)
00069 , uids(_alloc)
00070 , environments(_alloc)
00071 , filenames(_alloc)
00072 , fileURLs(_alloc)
00073 {
00074 }
00075
00076 typedef uint8_t _success_type;
00077 uint8_t success;
00078
00079 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;
00080 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;
00081
00082 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 > _environments_type;
00083 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 > environments;
00084
00085 typedef std::vector< ::re_msgs::StringArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::re_msgs::StringArray_<ContainerAllocator> >::other > _filenames_type;
00086 std::vector< ::re_msgs::StringArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::re_msgs::StringArray_<ContainerAllocator> >::other > filenames;
00087
00088 typedef std::vector< ::re_msgs::StringArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::re_msgs::StringArray_<ContainerAllocator> >::other > _fileURLs_type;
00089 std::vector< ::re_msgs::StringArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::re_msgs::StringArray_<ContainerAllocator> >::other > fileURLs;
00090
00091
00092 typedef boost::shared_ptr< ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> > Ptr;
00093 typedef boost::shared_ptr< ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> const> ConstPtr;
00094 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00095 };
00096 typedef ::re_srvs::SearchEnvironmentsResponse_<std::allocator<void> > SearchEnvironmentsResponse;
00097
00098 typedef boost::shared_ptr< ::re_srvs::SearchEnvironmentsResponse> SearchEnvironmentsResponsePtr;
00099 typedef boost::shared_ptr< ::re_srvs::SearchEnvironmentsResponse const> SearchEnvironmentsResponseConstPtr;
00100
00101 struct SearchEnvironments
00102 {
00103
00104 typedef SearchEnvironmentsRequest Request;
00105 typedef SearchEnvironmentsResponse Response;
00106 Request request;
00107 Response response;
00108
00109 typedef Request RequestType;
00110 typedef Response ResponseType;
00111 };
00112 }
00113
00114 namespace ros
00115 {
00116 namespace message_traits
00117 {
00118 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> > : public TrueType {};
00119 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> const> : public TrueType {};
00120 template<class ContainerAllocator>
00121 struct MD5Sum< ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "2d2d663456e9fa76707235a598ce31c7";
00125 }
00126
00127 static const char* value(const ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> &) { return value(); }
00128 static const uint64_t static_value1 = 0x2d2d663456e9fa76ULL;
00129 static const uint64_t static_value2 = 0x707235a598ce31c7ULL;
00130 };
00131
00132 template<class ContainerAllocator>
00133 struct DataType< ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> > {
00134 static const char* value()
00135 {
00136 return "re_srvs/SearchEnvironmentsRequest";
00137 }
00138
00139 static const char* value(const ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator>
00143 struct Definition< ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "string searchID\n\
00147 \n\
00148 \n\
00149 ";
00150 }
00151
00152 static const char* value(const ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> &) { return value(); }
00153 };
00154
00155 }
00156 }
00157
00158
00159 namespace ros
00160 {
00161 namespace message_traits
00162 {
00163 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> > : public TrueType {};
00164 template<class ContainerAllocator> struct IsMessage< ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> const> : public TrueType {};
00165 template<class ContainerAllocator>
00166 struct MD5Sum< ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> > {
00167 static const char* value()
00168 {
00169 return "8c1ff78116b11eaee25aa4692e43a723";
00170 }
00171
00172 static const char* value(const ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> &) { return value(); }
00173 static const uint64_t static_value1 = 0x8c1ff78116b11eaeULL;
00174 static const uint64_t static_value2 = 0xe25aa4692e43a723ULL;
00175 };
00176
00177 template<class ContainerAllocator>
00178 struct DataType< ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> > {
00179 static const char* value()
00180 {
00181 return "re_srvs/SearchEnvironmentsResponse";
00182 }
00183
00184 static const char* value(const ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> &) { return value(); }
00185 };
00186
00187 template<class ContainerAllocator>
00188 struct Definition< ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> > {
00189 static const char* value()
00190 {
00191 return "bool success\n\
00192 string[] uids\n\
00193 string[] environments\n\
00194 re_msgs/StringArray[] filenames\n\
00195 re_msgs/StringArray[] fileURLs\n\
00196 \n\
00197 \n\
00198 \n\
00199 ================================================================================\n\
00200 MSG: re_msgs/StringArray\n\
00201 # A StringArray message contains an array of strings. This is used by other \n\
00202 # message/service declarations in order to create 2-dimensional string \n\
00203 # arrays with different lengths for one dimension (StringArray[])\n\
00204 string[] list # array of strings\n\
00205 \n\
00206 ";
00207 }
00208
00209 static const char* value(const ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> &) { return value(); }
00210 };
00211
00212 }
00213 }
00214
00215 namespace ros
00216 {
00217 namespace serialization
00218 {
00219
00220 template<class ContainerAllocator> struct Serializer< ::re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> >
00221 {
00222 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00223 {
00224 stream.next(m.searchID);
00225 }
00226
00227 ROS_DECLARE_ALLINONE_SERIALIZER;
00228 };
00229 }
00230 }
00231
00232
00233 namespace ros
00234 {
00235 namespace serialization
00236 {
00237
00238 template<class ContainerAllocator> struct Serializer< ::re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> >
00239 {
00240 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00241 {
00242 stream.next(m.success);
00243 stream.next(m.uids);
00244 stream.next(m.environments);
00245 stream.next(m.filenames);
00246 stream.next(m.fileURLs);
00247 }
00248
00249 ROS_DECLARE_ALLINONE_SERIALIZER;
00250 };
00251 }
00252 }
00253
00254 namespace ros
00255 {
00256 namespace service_traits
00257 {
00258 template<>
00259 struct MD5Sum<re_srvs::SearchEnvironments> {
00260 static const char* value()
00261 {
00262 return "7f98e4a68dee037c28d22ad282fe1605";
00263 }
00264
00265 static const char* value(const re_srvs::SearchEnvironments&) { return value(); }
00266 };
00267
00268 template<>
00269 struct DataType<re_srvs::SearchEnvironments> {
00270 static const char* value()
00271 {
00272 return "re_srvs/SearchEnvironments";
00273 }
00274
00275 static const char* value(const re_srvs::SearchEnvironments&) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct MD5Sum<re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "7f98e4a68dee037c28d22ad282fe1605";
00283 }
00284
00285 static const char* value(const re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct DataType<re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "re_srvs/SearchEnvironments";
00293 }
00294
00295 static const char* value(const re_srvs::SearchEnvironmentsRequest_<ContainerAllocator> &) { return value(); }
00296 };
00297
00298 template<class ContainerAllocator>
00299 struct MD5Sum<re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> > {
00300 static const char* value()
00301 {
00302 return "7f98e4a68dee037c28d22ad282fe1605";
00303 }
00304
00305 static const char* value(const re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> &) { return value(); }
00306 };
00307
00308 template<class ContainerAllocator>
00309 struct DataType<re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> > {
00310 static const char* value()
00311 {
00312 return "re_srvs/SearchEnvironments";
00313 }
00314
00315 static const char* value(const re_srvs::SearchEnvironmentsResponse_<ContainerAllocator> &) { return value(); }
00316 };
00317
00318 }
00319 }
00320
00321 #endif // RE_SRVS_SERVICE_SEARCHENVIRONMENTS_H
00322