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