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