00001
00002 #ifndef VREP_COMMON_SERVICE_SIMROSSETOBJECTPOSITION_H
00003 #define VREP_COMMON_SERVICE_SIMROSSETOBJECTPOSITION_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/Point.h"
00020
00021
00022
00023 namespace vrep_common
00024 {
00025 template <class ContainerAllocator>
00026 struct simRosSetObjectPositionRequest_ {
00027 typedef simRosSetObjectPositionRequest_<ContainerAllocator> Type;
00028
00029 simRosSetObjectPositionRequest_()
00030 : handle(0)
00031 , relativeToObjectHandle(0)
00032 , position()
00033 {
00034 }
00035
00036 simRosSetObjectPositionRequest_(const ContainerAllocator& _alloc)
00037 : handle(0)
00038 , relativeToObjectHandle(0)
00039 , position(_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::Point_<ContainerAllocator> _position_type;
00050 ::geometry_msgs::Point_<ContainerAllocator> position;
00051
00052
00053 typedef boost::shared_ptr< ::vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::vrep_common::simRosSetObjectPositionRequest_<std::allocator<void> > simRosSetObjectPositionRequest;
00058
00059 typedef boost::shared_ptr< ::vrep_common::simRosSetObjectPositionRequest> simRosSetObjectPositionRequestPtr;
00060 typedef boost::shared_ptr< ::vrep_common::simRosSetObjectPositionRequest const> simRosSetObjectPositionRequestConstPtr;
00061
00062
00063 template <class ContainerAllocator>
00064 struct simRosSetObjectPositionResponse_ {
00065 typedef simRosSetObjectPositionResponse_<ContainerAllocator> Type;
00066
00067 simRosSetObjectPositionResponse_()
00068 : result(0)
00069 {
00070 }
00071
00072 simRosSetObjectPositionResponse_(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::simRosSetObjectPositionResponse_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> const> ConstPtr;
00083 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 };
00085 typedef ::vrep_common::simRosSetObjectPositionResponse_<std::allocator<void> > simRosSetObjectPositionResponse;
00086
00087 typedef boost::shared_ptr< ::vrep_common::simRosSetObjectPositionResponse> simRosSetObjectPositionResponsePtr;
00088 typedef boost::shared_ptr< ::vrep_common::simRosSetObjectPositionResponse const> simRosSetObjectPositionResponseConstPtr;
00089
00090 struct simRosSetObjectPosition
00091 {
00092
00093 typedef simRosSetObjectPositionRequest Request;
00094 typedef simRosSetObjectPositionResponse 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::simRosSetObjectPositionRequest_<ContainerAllocator> > : public TrueType {};
00108 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> const> : public TrueType {};
00109 template<class ContainerAllocator>
00110 struct MD5Sum< ::vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "5dc792cd46f351f94087b2840e1f4005";
00114 }
00115
00116 static const char* value(const ::vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> &) { return value(); }
00117 static const uint64_t static_value1 = 0x5dc792cd46f351f9ULL;
00118 static const uint64_t static_value2 = 0x4087b2840e1f4005ULL;
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct DataType< ::vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "vrep_common/simRosSetObjectPositionRequest";
00126 }
00127
00128 static const char* value(const ::vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> &) { return value(); }
00129 };
00130
00131 template<class ContainerAllocator>
00132 struct Definition< ::vrep_common::simRosSetObjectPositionRequest_<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/Point position\n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: geometry_msgs/Point\n\
00145 # This contains the position of a point in free space\n\
00146 float64 x\n\
00147 float64 y\n\
00148 float64 z\n\
00149 \n\
00150 ";
00151 }
00152
00153 static const char* value(const ::vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> &) { return value(); }
00154 };
00155
00156 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> > : public TrueType {};
00157 }
00158 }
00159
00160
00161 namespace ros
00162 {
00163 namespace message_traits
00164 {
00165 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> > : public TrueType {};
00166 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> const> : public TrueType {};
00167 template<class ContainerAllocator>
00168 struct MD5Sum< ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> > {
00169 static const char* value()
00170 {
00171 return "034a8e20d6a306665e3a5b340fab3f09";
00172 }
00173
00174 static const char* value(const ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> &) { return value(); }
00175 static const uint64_t static_value1 = 0x034a8e20d6a30666ULL;
00176 static const uint64_t static_value2 = 0x5e3a5b340fab3f09ULL;
00177 };
00178
00179 template<class ContainerAllocator>
00180 struct DataType< ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> > {
00181 static const char* value()
00182 {
00183 return "vrep_common/simRosSetObjectPositionResponse";
00184 }
00185
00186 static const char* value(const ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> &) { return value(); }
00187 };
00188
00189 template<class ContainerAllocator>
00190 struct Definition< ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> > {
00191 static const char* value()
00192 {
00193 return "int32 result\n\
00194 \n\
00195 \n\
00196 ";
00197 }
00198
00199 static const char* value(const ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> &) { return value(); }
00200 };
00201
00202 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> > : public TrueType {};
00203 }
00204 }
00205
00206 namespace ros
00207 {
00208 namespace serialization
00209 {
00210
00211 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> >
00212 {
00213 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00214 {
00215 stream.next(m.handle);
00216 stream.next(m.relativeToObjectHandle);
00217 stream.next(m.position);
00218 }
00219
00220 ROS_DECLARE_ALLINONE_SERIALIZER;
00221 };
00222 }
00223 }
00224
00225
00226 namespace ros
00227 {
00228 namespace serialization
00229 {
00230
00231 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> >
00232 {
00233 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00234 {
00235 stream.next(m.result);
00236 }
00237
00238 ROS_DECLARE_ALLINONE_SERIALIZER;
00239 };
00240 }
00241 }
00242
00243 namespace ros
00244 {
00245 namespace service_traits
00246 {
00247 template<>
00248 struct MD5Sum<vrep_common::simRosSetObjectPosition> {
00249 static const char* value()
00250 {
00251 return "6f49de0c0a94265fc772061f892cd142";
00252 }
00253
00254 static const char* value(const vrep_common::simRosSetObjectPosition&) { return value(); }
00255 };
00256
00257 template<>
00258 struct DataType<vrep_common::simRosSetObjectPosition> {
00259 static const char* value()
00260 {
00261 return "vrep_common/simRosSetObjectPosition";
00262 }
00263
00264 static const char* value(const vrep_common::simRosSetObjectPosition&) { return value(); }
00265 };
00266
00267 template<class ContainerAllocator>
00268 struct MD5Sum<vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> > {
00269 static const char* value()
00270 {
00271 return "6f49de0c0a94265fc772061f892cd142";
00272 }
00273
00274 static const char* value(const vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> &) { return value(); }
00275 };
00276
00277 template<class ContainerAllocator>
00278 struct DataType<vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> > {
00279 static const char* value()
00280 {
00281 return "vrep_common/simRosSetObjectPosition";
00282 }
00283
00284 static const char* value(const vrep_common::simRosSetObjectPositionRequest_<ContainerAllocator> &) { return value(); }
00285 };
00286
00287 template<class ContainerAllocator>
00288 struct MD5Sum<vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> > {
00289 static const char* value()
00290 {
00291 return "6f49de0c0a94265fc772061f892cd142";
00292 }
00293
00294 static const char* value(const vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> &) { return value(); }
00295 };
00296
00297 template<class ContainerAllocator>
00298 struct DataType<vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> > {
00299 static const char* value()
00300 {
00301 return "vrep_common/simRosSetObjectPosition";
00302 }
00303
00304 static const char* value(const vrep_common::simRosSetObjectPositionResponse_<ContainerAllocator> &) { return value(); }
00305 };
00306
00307 }
00308 }
00309
00310 #endif // VREP_COMMON_SERVICE_SIMROSSETOBJECTPOSITION_H
00311