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