SoftProcessorReset.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_ethercat_drivers/doc_stacks/2014-01-02_11-37-30.654794/pr2_ethercat_drivers/ethercat_hardware/srv/SoftProcessorReset.srv */
00002 #ifndef ETHERCAT_HARDWARE_SERVICE_SOFTPROCESSORRESET_H
00003 #define ETHERCAT_HARDWARE_SERVICE_SOFTPROCESSORRESET_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 ethercat_hardware
00023 {
00024 template <class ContainerAllocator>
00025 struct SoftProcessorResetRequest_ {
00026   typedef SoftProcessorResetRequest_<ContainerAllocator> Type;
00027 
00028   SoftProcessorResetRequest_()
00029   : actuator_name()
00030   , processor_name()
00031   {
00032   }
00033 
00034   SoftProcessorResetRequest_(const ContainerAllocator& _alloc)
00035   : actuator_name(_alloc)
00036   , processor_name(_alloc)
00037   {
00038   }
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _actuator_name_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  actuator_name;
00042 
00043   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _processor_name_type;
00044   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  processor_name;
00045 
00046 
00047   typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct SoftProcessorResetRequest
00051 typedef  ::ethercat_hardware::SoftProcessorResetRequest_<std::allocator<void> > SoftProcessorResetRequest;
00052 
00053 typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorResetRequest> SoftProcessorResetRequestPtr;
00054 typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorResetRequest const> SoftProcessorResetRequestConstPtr;
00055 
00056 
00057 template <class ContainerAllocator>
00058 struct SoftProcessorResetResponse_ {
00059   typedef SoftProcessorResetResponse_<ContainerAllocator> Type;
00060 
00061   SoftProcessorResetResponse_()
00062   : success(false)
00063   , error_msg()
00064   {
00065   }
00066 
00067   SoftProcessorResetResponse_(const ContainerAllocator& _alloc)
00068   : success(false)
00069   , error_msg(_alloc)
00070   {
00071   }
00072 
00073   typedef uint8_t _success_type;
00074   uint8_t success;
00075 
00076   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _error_msg_type;
00077   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  error_msg;
00078 
00079 
00080   typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> > Ptr;
00081   typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator>  const> ConstPtr;
00082   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 }; // struct SoftProcessorResetResponse
00084 typedef  ::ethercat_hardware::SoftProcessorResetResponse_<std::allocator<void> > SoftProcessorResetResponse;
00085 
00086 typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorResetResponse> SoftProcessorResetResponsePtr;
00087 typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorResetResponse const> SoftProcessorResetResponseConstPtr;
00088 
00089 struct SoftProcessorReset
00090 {
00091 
00092 typedef SoftProcessorResetRequest Request;
00093 typedef SoftProcessorResetResponse Response;
00094 Request request;
00095 Response response;
00096 
00097 typedef Request RequestType;
00098 typedef Response ResponseType;
00099 }; // struct SoftProcessorReset
00100 } // namespace ethercat_hardware
00101 
00102 namespace ros
00103 {
00104 namespace message_traits
00105 {
00106 template<class ContainerAllocator> struct IsMessage< ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> > : public TrueType {};
00107 template<class ContainerAllocator> struct IsMessage< ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator>  const> : public TrueType {};
00108 template<class ContainerAllocator>
00109 struct MD5Sum< ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> > {
00110   static const char* value() 
00111   {
00112     return "777be25d71e9e85e62fa14223ffddb6b";
00113   }
00114 
00115   static const char* value(const  ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> &) { return value(); } 
00116   static const uint64_t static_value1 = 0x777be25d71e9e85eULL;
00117   static const uint64_t static_value2 = 0x62fa14223ffddb6bULL;
00118 };
00119 
00120 template<class ContainerAllocator>
00121 struct DataType< ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "ethercat_hardware/SoftProcessorResetRequest";
00125   }
00126 
00127   static const char* value(const  ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> &) { return value(); } 
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct Definition< ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "string actuator_name\n\
00135 string processor_name\n\
00136 \n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> &) { return value(); } 
00142 };
00143 
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 
00148 namespace ros
00149 {
00150 namespace message_traits
00151 {
00152 template<class ContainerAllocator> struct IsMessage< ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> > : public TrueType {};
00153 template<class ContainerAllocator> struct IsMessage< ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator>  const> : public TrueType {};
00154 template<class ContainerAllocator>
00155 struct MD5Sum< ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> > {
00156   static const char* value() 
00157   {
00158     return "d006c48be24db1173a071ca9af4c8179";
00159   }
00160 
00161   static const char* value(const  ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> &) { return value(); } 
00162   static const uint64_t static_value1 = 0xd006c48be24db117ULL;
00163   static const uint64_t static_value2 = 0x3a071ca9af4c8179ULL;
00164 };
00165 
00166 template<class ContainerAllocator>
00167 struct DataType< ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> > {
00168   static const char* value() 
00169   {
00170     return "ethercat_hardware/SoftProcessorResetResponse";
00171   }
00172 
00173   static const char* value(const  ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> &) { return value(); } 
00174 };
00175 
00176 template<class ContainerAllocator>
00177 struct Definition< ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> > {
00178   static const char* value() 
00179   {
00180     return "bool success\n\
00181 string error_msg\n\
00182 \n\
00183 \n\
00184 ";
00185   }
00186 
00187   static const char* value(const  ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> &) { return value(); } 
00188 };
00189 
00190 } // namespace message_traits
00191 } // namespace ros
00192 
00193 namespace ros
00194 {
00195 namespace serialization
00196 {
00197 
00198 template<class ContainerAllocator> struct Serializer< ::ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> >
00199 {
00200   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00201   {
00202     stream.next(m.actuator_name);
00203     stream.next(m.processor_name);
00204   }
00205 
00206   ROS_DECLARE_ALLINONE_SERIALIZER;
00207 }; // struct SoftProcessorResetRequest_
00208 } // namespace serialization
00209 } // namespace ros
00210 
00211 
00212 namespace ros
00213 {
00214 namespace serialization
00215 {
00216 
00217 template<class ContainerAllocator> struct Serializer< ::ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> >
00218 {
00219   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00220   {
00221     stream.next(m.success);
00222     stream.next(m.error_msg);
00223   }
00224 
00225   ROS_DECLARE_ALLINONE_SERIALIZER;
00226 }; // struct SoftProcessorResetResponse_
00227 } // namespace serialization
00228 } // namespace ros
00229 
00230 namespace ros
00231 {
00232 namespace service_traits
00233 {
00234 template<>
00235 struct MD5Sum<ethercat_hardware::SoftProcessorReset> {
00236   static const char* value() 
00237   {
00238     return "338c1a9d2fcf7479cddb1ea63dbc8af9";
00239   }
00240 
00241   static const char* value(const ethercat_hardware::SoftProcessorReset&) { return value(); } 
00242 };
00243 
00244 template<>
00245 struct DataType<ethercat_hardware::SoftProcessorReset> {
00246   static const char* value() 
00247   {
00248     return "ethercat_hardware/SoftProcessorReset";
00249   }
00250 
00251   static const char* value(const ethercat_hardware::SoftProcessorReset&) { return value(); } 
00252 };
00253 
00254 template<class ContainerAllocator>
00255 struct MD5Sum<ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> > {
00256   static const char* value() 
00257   {
00258     return "338c1a9d2fcf7479cddb1ea63dbc8af9";
00259   }
00260 
00261   static const char* value(const ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> &) { return value(); } 
00262 };
00263 
00264 template<class ContainerAllocator>
00265 struct DataType<ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> > {
00266   static const char* value() 
00267   {
00268     return "ethercat_hardware/SoftProcessorReset";
00269   }
00270 
00271   static const char* value(const ethercat_hardware::SoftProcessorResetRequest_<ContainerAllocator> &) { return value(); } 
00272 };
00273 
00274 template<class ContainerAllocator>
00275 struct MD5Sum<ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> > {
00276   static const char* value() 
00277   {
00278     return "338c1a9d2fcf7479cddb1ea63dbc8af9";
00279   }
00280 
00281   static const char* value(const ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> &) { return value(); } 
00282 };
00283 
00284 template<class ContainerAllocator>
00285 struct DataType<ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> > {
00286   static const char* value() 
00287   {
00288     return "ethercat_hardware/SoftProcessorReset";
00289   }
00290 
00291   static const char* value(const ethercat_hardware::SoftProcessorResetResponse_<ContainerAllocator> &) { return value(); } 
00292 };
00293 
00294 } // namespace service_traits
00295 } // namespace ros
00296 
00297 #endif // ETHERCAT_HARDWARE_SERVICE_SOFTPROCESSORRESET_H
00298 


ethercat_hardware
Author(s): Rob Wheeler (email: wheeler@willowgarage.com), Maintained by Derek King (email: dking@willowgarage.com)
autogenerated on Thu Jan 2 2014 11:39:31