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


dynamixel_controllers
Author(s): Antons Rebguns, Cody Jorgensen, Cara Slutter
autogenerated on Fri Jan 3 2014 11:19:47