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