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