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