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