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


dynamixel_hardware_interface
Author(s): Antons Rebguns
autogenerated on Sun Oct 5 2014 23:33:10