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