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


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