Go to the documentation of this file.00001
00002 #ifndef COB_FOOTPRINT_OBSERVER_SERVICE_GETFOOTPRINT_H
00003 #define COB_FOOTPRINT_OBSERVER_SERVICE_GETFOOTPRINT_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/PolygonStamped.h"
00022 #include "std_msgs/Bool.h"
00023
00024 namespace cob_footprint_observer
00025 {
00026 template <class ContainerAllocator>
00027 struct GetFootprintRequest_ {
00028 typedef GetFootprintRequest_<ContainerAllocator> Type;
00029
00030 GetFootprintRequest_()
00031 {
00032 }
00033
00034 GetFootprintRequest_(const ContainerAllocator& _alloc)
00035 {
00036 }
00037
00038
00039 typedef boost::shared_ptr< ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::cob_footprint_observer::GetFootprintRequest_<std::allocator<void> > GetFootprintRequest;
00044
00045 typedef boost::shared_ptr< ::cob_footprint_observer::GetFootprintRequest> GetFootprintRequestPtr;
00046 typedef boost::shared_ptr< ::cob_footprint_observer::GetFootprintRequest const> GetFootprintRequestConstPtr;
00047
00048
00049
00050 template <class ContainerAllocator>
00051 struct GetFootprintResponse_ {
00052 typedef GetFootprintResponse_<ContainerAllocator> Type;
00053
00054 GetFootprintResponse_()
00055 : footprint()
00056 , success()
00057 {
00058 }
00059
00060 GetFootprintResponse_(const ContainerAllocator& _alloc)
00061 : footprint(_alloc)
00062 , success(_alloc)
00063 {
00064 }
00065
00066 typedef ::geometry_msgs::PolygonStamped_<ContainerAllocator> _footprint_type;
00067 ::geometry_msgs::PolygonStamped_<ContainerAllocator> footprint;
00068
00069 typedef ::std_msgs::Bool_<ContainerAllocator> _success_type;
00070 ::std_msgs::Bool_<ContainerAllocator> success;
00071
00072
00073 typedef boost::shared_ptr< ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> > Ptr;
00074 typedef boost::shared_ptr< ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> const> ConstPtr;
00075 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00076 };
00077 typedef ::cob_footprint_observer::GetFootprintResponse_<std::allocator<void> > GetFootprintResponse;
00078
00079 typedef boost::shared_ptr< ::cob_footprint_observer::GetFootprintResponse> GetFootprintResponsePtr;
00080 typedef boost::shared_ptr< ::cob_footprint_observer::GetFootprintResponse const> GetFootprintResponseConstPtr;
00081
00082
00083 struct GetFootprint
00084 {
00085
00086 typedef GetFootprintRequest Request;
00087 typedef GetFootprintResponse 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< ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "d41d8cd98f00b204e9800998ecf8427e";
00107 }
00108
00109 static const char* value(const ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> &) { return value(); }
00110 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00111 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct DataType< ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "cob_footprint_observer/GetFootprintRequest";
00119 }
00120
00121 static const char* value(const ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct Definition< ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "\n\
00129 ";
00130 }
00131
00132 static const char* value(const ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator> struct IsFixedSize< ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> > : public TrueType {};
00136 }
00137 }
00138
00139
00140 namespace ros
00141 {
00142 namespace message_traits
00143 {
00144 template<class ContainerAllocator> struct IsMessage< ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> > : public TrueType {};
00145 template<class ContainerAllocator> struct IsMessage< ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> const> : public TrueType {};
00146 template<class ContainerAllocator>
00147 struct MD5Sum< ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> > {
00148 static const char* value()
00149 {
00150 return "f40d48f5ad16c4c6dbedafd967306675";
00151 }
00152
00153 static const char* value(const ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> &) { return value(); }
00154 static const uint64_t static_value1 = 0xf40d48f5ad16c4c6ULL;
00155 static const uint64_t static_value2 = 0xdbedafd967306675ULL;
00156 };
00157
00158 template<class ContainerAllocator>
00159 struct DataType< ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "cob_footprint_observer/GetFootprintResponse";
00163 }
00164
00165 static const char* value(const ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct Definition< ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "geometry_msgs/PolygonStamped footprint\n\
00173 std_msgs/Bool success\n\
00174 \n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: geometry_msgs/PolygonStamped\n\
00178 # This represents a Polygon with reference coordinate frame and timestamp\n\
00179 Header header\n\
00180 Polygon polygon\n\
00181 \n\
00182 ================================================================================\n\
00183 MSG: std_msgs/Header\n\
00184 # Standard metadata for higher-level stamped data types.\n\
00185 # This is generally used to communicate timestamped data \n\
00186 # in a particular coordinate frame.\n\
00187 # \n\
00188 # sequence ID: consecutively increasing ID \n\
00189 uint32 seq\n\
00190 #Two-integer timestamp that is expressed as:\n\
00191 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00192 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00193 # time-handling sugar is provided by the client library\n\
00194 time stamp\n\
00195 #Frame this data is associated with\n\
00196 # 0: no frame\n\
00197 # 1: global frame\n\
00198 string frame_id\n\
00199 \n\
00200 ================================================================================\n\
00201 MSG: geometry_msgs/Polygon\n\
00202 #A specification of a polygon where the first and last points are assumed to be connected\n\
00203 Point32[] points\n\
00204 \n\
00205 ================================================================================\n\
00206 MSG: geometry_msgs/Point32\n\
00207 # This contains the position of a point in free space(with 32 bits of precision).\n\
00208 # It is recommeded to use Point wherever possible instead of Point32. \n\
00209 # \n\
00210 # This recommendation is to promote interoperability. \n\
00211 #\n\
00212 # This message is designed to take up less space when sending\n\
00213 # lots of points at once, as in the case of a PointCloud. \n\
00214 \n\
00215 float32 x\n\
00216 float32 y\n\
00217 float32 z\n\
00218 ================================================================================\n\
00219 MSG: std_msgs/Bool\n\
00220 bool data\n\
00221 ";
00222 }
00223
00224 static const char* value(const ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> &) { return value(); }
00225 };
00226
00227 }
00228 }
00229
00230 namespace ros
00231 {
00232 namespace serialization
00233 {
00234
00235 template<class ContainerAllocator> struct Serializer< ::cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> >
00236 {
00237 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00238 {
00239 }
00240
00241 ROS_DECLARE_ALLINONE_SERIALIZER;
00242 };
00243 }
00244 }
00245
00246
00247 namespace ros
00248 {
00249 namespace serialization
00250 {
00251
00252 template<class ContainerAllocator> struct Serializer< ::cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> >
00253 {
00254 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00255 {
00256 stream.next(m.footprint);
00257 stream.next(m.success);
00258 }
00259
00260 ROS_DECLARE_ALLINONE_SERIALIZER;
00261 };
00262 }
00263 }
00264
00265 namespace ros
00266 {
00267 namespace service_traits
00268 {
00269 template<>
00270 struct MD5Sum<cob_footprint_observer::GetFootprint> {
00271 static const char* value()
00272 {
00273 return "f40d48f5ad16c4c6dbedafd967306675";
00274 }
00275
00276 static const char* value(const cob_footprint_observer::GetFootprint&) { return value(); }
00277 };
00278
00279 template<>
00280 struct DataType<cob_footprint_observer::GetFootprint> {
00281 static const char* value()
00282 {
00283 return "cob_footprint_observer/GetFootprint";
00284 }
00285
00286 static const char* value(const cob_footprint_observer::GetFootprint&) { return value(); }
00287 };
00288
00289 template<class ContainerAllocator>
00290 struct MD5Sum<cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> > {
00291 static const char* value()
00292 {
00293 return "f40d48f5ad16c4c6dbedafd967306675";
00294 }
00295
00296 static const char* value(const cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> &) { return value(); }
00297 };
00298
00299 template<class ContainerAllocator>
00300 struct DataType<cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> > {
00301 static const char* value()
00302 {
00303 return "cob_footprint_observer/GetFootprint";
00304 }
00305
00306 static const char* value(const cob_footprint_observer::GetFootprintRequest_<ContainerAllocator> &) { return value(); }
00307 };
00308
00309 template<class ContainerAllocator>
00310 struct MD5Sum<cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> > {
00311 static const char* value()
00312 {
00313 return "f40d48f5ad16c4c6dbedafd967306675";
00314 }
00315
00316 static const char* value(const cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> &) { return value(); }
00317 };
00318
00319 template<class ContainerAllocator>
00320 struct DataType<cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> > {
00321 static const char* value()
00322 {
00323 return "cob_footprint_observer/GetFootprint";
00324 }
00325
00326 static const char* value(const cob_footprint_observer::GetFootprintResponse_<ContainerAllocator> &) { return value(); }
00327 };
00328
00329 }
00330 }
00331
00332 #endif // COB_FOOTPRINT_OBSERVER_SERVICE_GETFOOTPRINT_H
00333