00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-dynamixel_motor/doc_stacks/2014-01-03_11-18-15.042751/dynamixel_motor/dynamixel_controllers/srv/SetComplianceSlope.srv */ 00002 #ifndef DYNAMIXEL_CONTROLLERS_SERVICE_SETCOMPLIANCESLOPE_H 00003 #define DYNAMIXEL_CONTROLLERS_SERVICE_SETCOMPLIANCESLOPE_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 00022 namespace dynamixel_controllers 00023 { 00024 template <class ContainerAllocator> 00025 struct SetComplianceSlopeRequest_ { 00026 typedef SetComplianceSlopeRequest_<ContainerAllocator> Type; 00027 00028 SetComplianceSlopeRequest_() 00029 : slope(0) 00030 { 00031 } 00032 00033 SetComplianceSlopeRequest_(const ContainerAllocator& _alloc) 00034 : slope(0) 00035 { 00036 } 00037 00038 typedef uint8_t _slope_type; 00039 uint8_t slope; 00040 00041 00042 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > Ptr; 00043 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> const> ConstPtr; 00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00045 }; // struct SetComplianceSlopeRequest 00046 typedef ::dynamixel_controllers::SetComplianceSlopeRequest_<std::allocator<void> > SetComplianceSlopeRequest; 00047 00048 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeRequest> SetComplianceSlopeRequestPtr; 00049 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeRequest const> SetComplianceSlopeRequestConstPtr; 00050 00051 00052 template <class ContainerAllocator> 00053 struct SetComplianceSlopeResponse_ { 00054 typedef SetComplianceSlopeResponse_<ContainerAllocator> Type; 00055 00056 SetComplianceSlopeResponse_() 00057 { 00058 } 00059 00060 SetComplianceSlopeResponse_(const ContainerAllocator& _alloc) 00061 { 00062 } 00063 00064 00065 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > Ptr; 00066 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> const> ConstPtr; 00067 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00068 }; // struct SetComplianceSlopeResponse 00069 typedef ::dynamixel_controllers::SetComplianceSlopeResponse_<std::allocator<void> > SetComplianceSlopeResponse; 00070 00071 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeResponse> SetComplianceSlopeResponsePtr; 00072 typedef boost::shared_ptr< ::dynamixel_controllers::SetComplianceSlopeResponse const> SetComplianceSlopeResponseConstPtr; 00073 00074 struct SetComplianceSlope 00075 { 00076 00077 typedef SetComplianceSlopeRequest Request; 00078 typedef SetComplianceSlopeResponse Response; 00079 Request request; 00080 Response response; 00081 00082 typedef Request RequestType; 00083 typedef Response ResponseType; 00084 }; // struct SetComplianceSlope 00085 } // namespace dynamixel_controllers 00086 00087 namespace ros 00088 { 00089 namespace message_traits 00090 { 00091 template<class ContainerAllocator> struct IsMessage< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > : public TrueType {}; 00092 template<class ContainerAllocator> struct IsMessage< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> const> : public TrueType {}; 00093 template<class ContainerAllocator> 00094 struct MD5Sum< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > { 00095 static const char* value() 00096 { 00097 return "0b655cbe1b74daf357824dcc427c1004"; 00098 } 00099 00100 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> &) { return value(); } 00101 static const uint64_t static_value1 = 0x0b655cbe1b74daf3ULL; 00102 static const uint64_t static_value2 = 0x57824dcc427c1004ULL; 00103 }; 00104 00105 template<class ContainerAllocator> 00106 struct DataType< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > { 00107 static const char* value() 00108 { 00109 return "dynamixel_controllers/SetComplianceSlopeRequest"; 00110 } 00111 00112 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> &) { return value(); } 00113 }; 00114 00115 template<class ContainerAllocator> 00116 struct Definition< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > { 00117 static const char* value() 00118 { 00119 return "\n\ 00120 \n\ 00121 uint8 slope\n\ 00122 \n\ 00123 "; 00124 } 00125 00126 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> &) { return value(); } 00127 }; 00128 00129 template<class ContainerAllocator> struct IsFixedSize< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > : public TrueType {}; 00130 } // namespace message_traits 00131 } // namespace ros 00132 00133 00134 namespace ros 00135 { 00136 namespace message_traits 00137 { 00138 template<class ContainerAllocator> struct IsMessage< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > : public TrueType {}; 00139 template<class ContainerAllocator> struct IsMessage< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> const> : public TrueType {}; 00140 template<class ContainerAllocator> 00141 struct MD5Sum< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > { 00142 static const char* value() 00143 { 00144 return "d41d8cd98f00b204e9800998ecf8427e"; 00145 } 00146 00147 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> &) { return value(); } 00148 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00149 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00150 }; 00151 00152 template<class ContainerAllocator> 00153 struct DataType< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > { 00154 static const char* value() 00155 { 00156 return "dynamixel_controllers/SetComplianceSlopeResponse"; 00157 } 00158 00159 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> &) { return value(); } 00160 }; 00161 00162 template<class ContainerAllocator> 00163 struct Definition< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > { 00164 static const char* value() 00165 { 00166 return "\n\ 00167 \n\ 00168 "; 00169 } 00170 00171 static const char* value(const ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> &) { return value(); } 00172 }; 00173 00174 template<class ContainerAllocator> struct IsFixedSize< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > : public TrueType {}; 00175 } // namespace message_traits 00176 } // namespace ros 00177 00178 namespace ros 00179 { 00180 namespace serialization 00181 { 00182 00183 template<class ContainerAllocator> struct Serializer< ::dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > 00184 { 00185 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00186 { 00187 stream.next(m.slope); 00188 } 00189 00190 ROS_DECLARE_ALLINONE_SERIALIZER; 00191 }; // struct SetComplianceSlopeRequest_ 00192 } // namespace serialization 00193 } // namespace ros 00194 00195 00196 namespace ros 00197 { 00198 namespace serialization 00199 { 00200 00201 template<class ContainerAllocator> struct Serializer< ::dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > 00202 { 00203 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00204 { 00205 } 00206 00207 ROS_DECLARE_ALLINONE_SERIALIZER; 00208 }; // struct SetComplianceSlopeResponse_ 00209 } // namespace serialization 00210 } // namespace ros 00211 00212 namespace ros 00213 { 00214 namespace service_traits 00215 { 00216 template<> 00217 struct MD5Sum<dynamixel_controllers::SetComplianceSlope> { 00218 static const char* value() 00219 { 00220 return "0b655cbe1b74daf357824dcc427c1004"; 00221 } 00222 00223 static const char* value(const dynamixel_controllers::SetComplianceSlope&) { return value(); } 00224 }; 00225 00226 template<> 00227 struct DataType<dynamixel_controllers::SetComplianceSlope> { 00228 static const char* value() 00229 { 00230 return "dynamixel_controllers/SetComplianceSlope"; 00231 } 00232 00233 static const char* value(const dynamixel_controllers::SetComplianceSlope&) { return value(); } 00234 }; 00235 00236 template<class ContainerAllocator> 00237 struct MD5Sum<dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > { 00238 static const char* value() 00239 { 00240 return "0b655cbe1b74daf357824dcc427c1004"; 00241 } 00242 00243 static const char* value(const dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> &) { return value(); } 00244 }; 00245 00246 template<class ContainerAllocator> 00247 struct DataType<dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> > { 00248 static const char* value() 00249 { 00250 return "dynamixel_controllers/SetComplianceSlope"; 00251 } 00252 00253 static const char* value(const dynamixel_controllers::SetComplianceSlopeRequest_<ContainerAllocator> &) { return value(); } 00254 }; 00255 00256 template<class ContainerAllocator> 00257 struct MD5Sum<dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > { 00258 static const char* value() 00259 { 00260 return "0b655cbe1b74daf357824dcc427c1004"; 00261 } 00262 00263 static const char* value(const dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> &) { return value(); } 00264 }; 00265 00266 template<class ContainerAllocator> 00267 struct DataType<dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> > { 00268 static const char* value() 00269 { 00270 return "dynamixel_controllers/SetComplianceSlope"; 00271 } 00272 00273 static const char* value(const dynamixel_controllers::SetComplianceSlopeResponse_<ContainerAllocator> &) { return value(); } 00274 }; 00275 00276 } // namespace service_traits 00277 } // namespace ros 00278 00279 #endif // DYNAMIXEL_CONTROLLERS_SERVICE_SETCOMPLIANCESLOPE_H 00280