00001
00002 #ifndef DYNAMIXEL_CONTROLLERS_SERVICE_SETCOMPLIANCESLOPE_H
00003 #define DYNAMIXEL_CONTROLLERS_SERVICE_SETCOMPLIANCESLOPE_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace dynamixel_controllers
00019 {
00020 template <class ContainerAllocator>
00021 struct SetComplianceSlopeRequest_ : public ros::Message
00022 {
00023 typedef SetComplianceSlopeRequest_<ContainerAllocator> Type;
00024
00025 SetComplianceSlopeRequest_()
00026 : slope(0)
00027 {
00028 }
00029
00030 SetComplianceSlopeRequest_(const ContainerAllocator& _alloc)
00031 : slope(0)
00032 {
00033 }
00034
00035 typedef uint8_t _slope_type;
00036 uint8_t slope;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "dynamixel_controllers/SetComplianceSlopeRequest"; }
00041 public:
00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00043
00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00045
00046 private:
00047 static const char* __s_getMD5Sum_() { return "0b655cbe1b74daf357824dcc427c1004"; }
00048 public:
00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00050
00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00052
00053 private:
00054 static const char* __s_getServerMD5Sum_() { return "0b655cbe1b74daf357824dcc427c1004"; }
00055 public:
00056 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00057
00058 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00059
00060 private:
00061 static const char* __s_getMessageDefinition_() { return "\n\
00062 \n\
00063 uint8 slope\n\
00064 \n\
00065 "; }
00066 public:
00067 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00068
00069 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00070
00071 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00072 {
00073 ros::serialization::OStream stream(write_ptr, 1000000000);
00074 ros::serialization::serialize(stream, slope);
00075 return stream.getData();
00076 }
00077
00078 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00079 {
00080 ros::serialization::IStream stream(read_ptr, 1000000000);
00081 ros::serialization::deserialize(stream, slope);
00082 return stream.getData();
00083 }
00084
00085 ROS_DEPRECATED virtual uint32_t serializationLength() const
00086 {
00087 uint32_t size = 0;
00088 size += ros::serialization::serializationLength(slope);
00089 return size;
00090 }
00091
00092 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > Ptr;
00093 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> const> ConstPtr;
00094 };
00095 typedef ::dynamixel_controllers::SetComplianceSlopeRequest_<std::allocator<void> > SetComplianceSlopeRequest;
00096
00097 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeRequest> SetComplianceSlopeRequestPtr;
00098 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeRequest const> SetComplianceSlopeRequestConstPtr;
00099
00100
00101 template <class ContainerAllocator>
00102 struct SetComplianceSlopeResponse_ : public ros::Message
00103 {
00104 typedef SetComplianceSlopeResponse_<ContainerAllocator> Type;
00105
00106 SetComplianceSlopeResponse_()
00107 {
00108 }
00109
00110 SetComplianceSlopeResponse_(const ContainerAllocator& _alloc)
00111 {
00112 }
00113
00114
00115 private:
00116 static const char* __s_getDataType_() { return "dynamixel_controllers/SetComplianceSlopeResponse"; }
00117 public:
00118 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00119
00120 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00121
00122 private:
00123 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00124 public:
00125 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00126
00127 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00128
00129 private:
00130 static const char* __s_getServerMD5Sum_() { return "0b655cbe1b74daf357824dcc427c1004"; }
00131 public:
00132 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00133
00134 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00135
00136 private:
00137 static const char* __s_getMessageDefinition_() { return "\n\
00138 \n\
00139 "; }
00140 public:
00141 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00142
00143 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00144
00145 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00146 {
00147 ros::serialization::OStream stream(write_ptr, 1000000000);
00148 return stream.getData();
00149 }
00150
00151 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00152 {
00153 ros::serialization::IStream stream(read_ptr, 1000000000);
00154 return stream.getData();
00155 }
00156
00157 ROS_DEPRECATED virtual uint32_t serializationLength() const
00158 {
00159 uint32_t size = 0;
00160 return size;
00161 }
00162
00163 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > Ptr;
00164 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> const> ConstPtr;
00165 };
00166 typedef ::dynamixel_controllers::SetComplianceSlopeResponse_<std::allocator<void> > SetComplianceSlopeResponse;
00167
00168 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeResponse> SetComplianceSlopeResponsePtr;
00169 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeResponse const> SetComplianceSlopeResponseConstPtr;
00170
00171 struct SetComplianceSlope
00172 {
00173
00174 typedef SetComplianceSlopeRequest Request;
00175 typedef SetComplianceSlopeResponse Response;
00176 Request request;
00177 Response response;
00178
00179 typedef Request RequestType;
00180 typedef Response ResponseType;
00181 };
00182 }
00183
00184 namespace ros
00185 {
00186 namespace message_traits
00187 {
00188 template<class ContainerAllocator>
00189 struct MD5Sum< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > {
00190 static const char* value()
00191 {
00192 return "0b655cbe1b74daf357824dcc427c1004";
00193 }
00194
00195 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> &) { return value(); }
00196 static const uint64_t static_value1 = 0x0b655cbe1b74daf3ULL;
00197 static const uint64_t static_value2 = 0x57824dcc427c1004ULL;
00198 };
00199
00200 template<class ContainerAllocator>
00201 struct DataType< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > {
00202 static const char* value()
00203 {
00204 return "dynamixel_controllers/SetComplianceSlopeRequest";
00205 }
00206
00207 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> &) { return value(); }
00208 };
00209
00210 template<class ContainerAllocator>
00211 struct Definition< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > {
00212 static const char* value()
00213 {
00214 return "\n\
00215 \n\
00216 uint8 slope\n\
00217 \n\
00218 ";
00219 }
00220
00221 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> &) { return value(); }
00222 };
00223
00224 template<class ContainerAllocator> struct IsFixedSize< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > : public TrueType {};
00225 }
00226 }
00227
00228
00229 namespace ros
00230 {
00231 namespace message_traits
00232 {
00233 template<class ContainerAllocator>
00234 struct MD5Sum< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > {
00235 static const char* value()
00236 {
00237 return "d41d8cd98f00b204e9800998ecf8427e";
00238 }
00239
00240 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> &) { return value(); }
00241 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00242 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00243 };
00244
00245 template<class ContainerAllocator>
00246 struct DataType< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > {
00247 static const char* value()
00248 {
00249 return "dynamixel_controllers/SetComplianceSlopeResponse";
00250 }
00251
00252 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> &) { return value(); }
00253 };
00254
00255 template<class ContainerAllocator>
00256 struct Definition< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > {
00257 static const char* value()
00258 {
00259 return "\n\
00260 \n\
00261 ";
00262 }
00263
00264 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> &) { return value(); }
00265 };
00266
00267 template<class ContainerAllocator> struct IsFixedSize< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > : public TrueType {};
00268 }
00269 }
00270
00271 namespace ros
00272 {
00273 namespace serialization
00274 {
00275
00276 template<class ContainerAllocator> struct Serializer< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> >
00277 {
00278 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00279 {
00280 stream.next(m.slope);
00281 }
00282
00283 ROS_DECLARE_ALLINONE_SERIALIZER;
00284 };
00285 }
00286 }
00287
00288
00289 namespace ros
00290 {
00291 namespace serialization
00292 {
00293
00294 template<class ContainerAllocator> struct Serializer< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> >
00295 {
00296 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00297 {
00298 }
00299
00300 ROS_DECLARE_ALLINONE_SERIALIZER;
00301 };
00302 }
00303 }
00304
00305 namespace ros
00306 {
00307 namespace service_traits
00308 {
00309 template<>
00310 struct MD5Sum<dynamixel_controllers::SetComplianceSlope> {
00311 static const char* value()
00312 {
00313 return "0b655cbe1b74daf357824dcc427c1004";
00314 }
00315
00316 static const char* value(const dynamixel_controllers::SetComplianceSlope&) { return value(); }
00317 };
00318
00319 template<>
00320 struct DataType<dynamixel_controllers::SetComplianceSlope> {
00321 static const char* value()
00322 {
00323 return "dynamixel_controllers/SetComplianceSlope";
00324 }
00325
00326 static const char* value(const dynamixel_controllers::SetComplianceSlope&) { return value(); }
00327 };
00328
00329 template<class ContainerAllocator>
00330 struct MD5Sum<dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > {
00331 static const char* value()
00332 {
00333 return "0b655cbe1b74daf357824dcc427c1004";
00334 }
00335
00336 static const char* value(const dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> &) { return value(); }
00337 };
00338
00339 template<class ContainerAllocator>
00340 struct DataType<dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > {
00341 static const char* value()
00342 {
00343 return "dynamixel_controllers/SetComplianceSlope";
00344 }
00345
00346 static const char* value(const dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> &) { return value(); }
00347 };
00348
00349 template<class ContainerAllocator>
00350 struct MD5Sum<dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > {
00351 static const char* value()
00352 {
00353 return "0b655cbe1b74daf357824dcc427c1004";
00354 }
00355
00356 static const char* value(const dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> &) { return value(); }
00357 };
00358
00359 template<class ContainerAllocator>
00360 struct DataType<dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > {
00361 static const char* value()
00362 {
00363 return "dynamixel_controllers/SetComplianceSlope";
00364 }
00365
00366 static const char* value(const dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> &) { return value(); }
00367 };
00368
00369 }
00370 }
00371
00372 #endif // DYNAMIXEL_CONTROLLERS_SERVICE_SETCOMPLIANCESLOPE_H
00373