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