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


srs_object_database_msgs
Author(s): Georg Arbeiter
autogenerated on Sun Jan 5 2014 11:36:25