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_settransform.srv */ 00002 #ifndef OPENRAVEROS_SERVICE_BODY_SETTRANSFORM_H 00003 #define OPENRAVEROS_SERVICE_BODY_SETTRANSFORM_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 #include "openraveros/AffineTransformMatrix.h" 00020 00021 00022 00023 namespace openraveros 00024 { 00025 template <class ContainerAllocator> 00026 struct body_settransformRequest_ { 00027 typedef body_settransformRequest_<ContainerAllocator> Type; 00028 00029 body_settransformRequest_() 00030 : bodyid(0) 00031 , transform() 00032 { 00033 } 00034 00035 body_settransformRequest_(const ContainerAllocator& _alloc) 00036 : bodyid(0) 00037 , transform(_alloc) 00038 { 00039 } 00040 00041 typedef int32_t _bodyid_type; 00042 int32_t bodyid; 00043 00044 typedef ::openraveros::AffineTransformMatrix_<ContainerAllocator> _transform_type; 00045 ::openraveros::AffineTransformMatrix_<ContainerAllocator> transform; 00046 00047 00048 typedef boost::shared_ptr< ::openraveros::body_settransformRequest_<ContainerAllocator> > Ptr; 00049 typedef boost::shared_ptr< ::openraveros::body_settransformRequest_<ContainerAllocator> const> ConstPtr; 00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00051 }; // struct body_settransformRequest 00052 typedef ::openraveros::body_settransformRequest_<std::allocator<void> > body_settransformRequest; 00053 00054 typedef boost::shared_ptr< ::openraveros::body_settransformRequest> body_settransformRequestPtr; 00055 typedef boost::shared_ptr< ::openraveros::body_settransformRequest const> body_settransformRequestConstPtr; 00056 00057 00058 template <class ContainerAllocator> 00059 struct body_settransformResponse_ { 00060 typedef body_settransformResponse_<ContainerAllocator> Type; 00061 00062 body_settransformResponse_() 00063 { 00064 } 00065 00066 body_settransformResponse_(const ContainerAllocator& _alloc) 00067 { 00068 } 00069 00070 00071 typedef boost::shared_ptr< ::openraveros::body_settransformResponse_<ContainerAllocator> > Ptr; 00072 typedef boost::shared_ptr< ::openraveros::body_settransformResponse_<ContainerAllocator> const> ConstPtr; 00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00074 }; // struct body_settransformResponse 00075 typedef ::openraveros::body_settransformResponse_<std::allocator<void> > body_settransformResponse; 00076 00077 typedef boost::shared_ptr< ::openraveros::body_settransformResponse> body_settransformResponsePtr; 00078 typedef boost::shared_ptr< ::openraveros::body_settransformResponse const> body_settransformResponseConstPtr; 00079 00080 struct body_settransform 00081 { 00082 00083 typedef body_settransformRequest Request; 00084 typedef body_settransformResponse Response; 00085 Request request; 00086 Response response; 00087 00088 typedef Request RequestType; 00089 typedef Response ResponseType; 00090 }; // struct body_settransform 00091 } // namespace openraveros 00092 00093 namespace ros 00094 { 00095 namespace message_traits 00096 { 00097 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_settransformRequest_<ContainerAllocator> > : public TrueType {}; 00098 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_settransformRequest_<ContainerAllocator> const> : public TrueType {}; 00099 template<class ContainerAllocator> 00100 struct MD5Sum< ::openraveros::body_settransformRequest_<ContainerAllocator> > { 00101 static const char* value() 00102 { 00103 return "7df3ec89c7611f36e5d1adfc7bd9862b"; 00104 } 00105 00106 static const char* value(const ::openraveros::body_settransformRequest_<ContainerAllocator> &) { return value(); } 00107 static const uint64_t static_value1 = 0x7df3ec89c7611f36ULL; 00108 static const uint64_t static_value2 = 0xe5d1adfc7bd9862bULL; 00109 }; 00110 00111 template<class ContainerAllocator> 00112 struct DataType< ::openraveros::body_settransformRequest_<ContainerAllocator> > { 00113 static const char* value() 00114 { 00115 return "openraveros/body_settransformRequest"; 00116 } 00117 00118 static const char* value(const ::openraveros::body_settransformRequest_<ContainerAllocator> &) { return value(); } 00119 }; 00120 00121 template<class ContainerAllocator> 00122 struct Definition< ::openraveros::body_settransformRequest_<ContainerAllocator> > { 00123 static const char* value() 00124 { 00125 return "\n\ 00126 \n\ 00127 int32 bodyid\n\ 00128 AffineTransformMatrix transform\n\ 00129 \n\ 00130 ================================================================================\n\ 00131 MSG: openraveros/AffineTransformMatrix\n\ 00132 # column ordered 3x4 affine transformation, ie: the arrangement in memory is:\n\ 00133 # where the upper 3x3 matrix is orthonormal\n\ 00134 # [0] [3] [6] [9]\n\ 00135 # [1] [4] [7] [10]\n\ 00136 # [2] [5] [8] [11]\n\ 00137 float32[12] m\n\ 00138 \n\ 00139 "; 00140 } 00141 00142 static const char* value(const ::openraveros::body_settransformRequest_<ContainerAllocator> &) { return value(); } 00143 }; 00144 00145 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::body_settransformRequest_<ContainerAllocator> > : public TrueType {}; 00146 } // namespace message_traits 00147 } // namespace ros 00148 00149 00150 namespace ros 00151 { 00152 namespace message_traits 00153 { 00154 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_settransformResponse_<ContainerAllocator> > : public TrueType {}; 00155 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_settransformResponse_<ContainerAllocator> const> : public TrueType {}; 00156 template<class ContainerAllocator> 00157 struct MD5Sum< ::openraveros::body_settransformResponse_<ContainerAllocator> > { 00158 static const char* value() 00159 { 00160 return "d41d8cd98f00b204e9800998ecf8427e"; 00161 } 00162 00163 static const char* value(const ::openraveros::body_settransformResponse_<ContainerAllocator> &) { return value(); } 00164 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00165 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00166 }; 00167 00168 template<class ContainerAllocator> 00169 struct DataType< ::openraveros::body_settransformResponse_<ContainerAllocator> > { 00170 static const char* value() 00171 { 00172 return "openraveros/body_settransformResponse"; 00173 } 00174 00175 static const char* value(const ::openraveros::body_settransformResponse_<ContainerAllocator> &) { return value(); } 00176 }; 00177 00178 template<class ContainerAllocator> 00179 struct Definition< ::openraveros::body_settransformResponse_<ContainerAllocator> > { 00180 static const char* value() 00181 { 00182 return "\n\ 00183 \n\ 00184 "; 00185 } 00186 00187 static const char* value(const ::openraveros::body_settransformResponse_<ContainerAllocator> &) { return value(); } 00188 }; 00189 00190 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::body_settransformResponse_<ContainerAllocator> > : public TrueType {}; 00191 } // namespace message_traits 00192 } // namespace ros 00193 00194 namespace ros 00195 { 00196 namespace serialization 00197 { 00198 00199 template<class ContainerAllocator> struct Serializer< ::openraveros::body_settransformRequest_<ContainerAllocator> > 00200 { 00201 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00202 { 00203 stream.next(m.bodyid); 00204 stream.next(m.transform); 00205 } 00206 00207 ROS_DECLARE_ALLINONE_SERIALIZER; 00208 }; // struct body_settransformRequest_ 00209 } // namespace serialization 00210 } // namespace ros 00211 00212 00213 namespace ros 00214 { 00215 namespace serialization 00216 { 00217 00218 template<class ContainerAllocator> struct Serializer< ::openraveros::body_settransformResponse_<ContainerAllocator> > 00219 { 00220 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00221 { 00222 } 00223 00224 ROS_DECLARE_ALLINONE_SERIALIZER; 00225 }; // struct body_settransformResponse_ 00226 } // namespace serialization 00227 } // namespace ros 00228 00229 namespace ros 00230 { 00231 namespace service_traits 00232 { 00233 template<> 00234 struct MD5Sum<openraveros::body_settransform> { 00235 static const char* value() 00236 { 00237 return "7df3ec89c7611f36e5d1adfc7bd9862b"; 00238 } 00239 00240 static const char* value(const openraveros::body_settransform&) { return value(); } 00241 }; 00242 00243 template<> 00244 struct DataType<openraveros::body_settransform> { 00245 static const char* value() 00246 { 00247 return "openraveros/body_settransform"; 00248 } 00249 00250 static const char* value(const openraveros::body_settransform&) { return value(); } 00251 }; 00252 00253 template<class ContainerAllocator> 00254 struct MD5Sum<openraveros::body_settransformRequest_<ContainerAllocator> > { 00255 static const char* value() 00256 { 00257 return "7df3ec89c7611f36e5d1adfc7bd9862b"; 00258 } 00259 00260 static const char* value(const openraveros::body_settransformRequest_<ContainerAllocator> &) { return value(); } 00261 }; 00262 00263 template<class ContainerAllocator> 00264 struct DataType<openraveros::body_settransformRequest_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "openraveros/body_settransform"; 00268 } 00269 00270 static const char* value(const openraveros::body_settransformRequest_<ContainerAllocator> &) { return value(); } 00271 }; 00272 00273 template<class ContainerAllocator> 00274 struct MD5Sum<openraveros::body_settransformResponse_<ContainerAllocator> > { 00275 static const char* value() 00276 { 00277 return "7df3ec89c7611f36e5d1adfc7bd9862b"; 00278 } 00279 00280 static const char* value(const openraveros::body_settransformResponse_<ContainerAllocator> &) { return value(); } 00281 }; 00282 00283 template<class ContainerAllocator> 00284 struct DataType<openraveros::body_settransformResponse_<ContainerAllocator> > { 00285 static const char* value() 00286 { 00287 return "openraveros/body_settransform"; 00288 } 00289 00290 static const char* value(const openraveros::body_settransformResponse_<ContainerAllocator> &) { return value(); } 00291 }; 00292 00293 } // namespace service_traits 00294 } // namespace ros 00295 00296 #endif // OPENRAVEROS_SERVICE_BODY_SETTRANSFORM_H 00297