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