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