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