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


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