SoftProcessorFirmwareRead.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/SoftProcessorFirmwareRead.srv */
00002 #ifndef ETHERCAT_HARDWARE_SERVICE_SOFTPROCESSORFIRMWAREREAD_H
00003 #define ETHERCAT_HARDWARE_SERVICE_SOFTPROCESSORFIRMWAREREAD_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 SoftProcessorFirmwareReadRequest_ {
00026   typedef SoftProcessorFirmwareReadRequest_<ContainerAllocator> Type;
00027 
00028   SoftProcessorFirmwareReadRequest_()
00029   : actuator_name()
00030   , processor_name()
00031   {
00032   }
00033 
00034   SoftProcessorFirmwareReadRequest_(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::SoftProcessorFirmwareReadRequest_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct SoftProcessorFirmwareReadRequest
00051 typedef  ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<std::allocator<void> > SoftProcessorFirmwareReadRequest;
00052 
00053 typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorFirmwareReadRequest> SoftProcessorFirmwareReadRequestPtr;
00054 typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorFirmwareReadRequest const> SoftProcessorFirmwareReadRequestConstPtr;
00055 
00056 
00057 template <class ContainerAllocator>
00058 struct SoftProcessorFirmwareReadResponse_ {
00059   typedef SoftProcessorFirmwareReadResponse_<ContainerAllocator> Type;
00060 
00061   SoftProcessorFirmwareReadResponse_()
00062   : success(false)
00063   , error_msg()
00064   , instructions()
00065   {
00066   }
00067 
00068   SoftProcessorFirmwareReadResponse_(const ContainerAllocator& _alloc)
00069   : success(false)
00070   , error_msg(_alloc)
00071   , instructions(_alloc)
00072   {
00073   }
00074 
00075   typedef uint8_t _success_type;
00076   uint8_t success;
00077 
00078   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _error_msg_type;
00079   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  error_msg;
00080 
00081   typedef std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other >  _instructions_type;
00082   std::vector<uint32_t, typename ContainerAllocator::template rebind<uint32_t>::other >  instructions;
00083 
00084 
00085   typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> > Ptr;
00086   typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator>  const> ConstPtr;
00087   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00088 }; // struct SoftProcessorFirmwareReadResponse
00089 typedef  ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<std::allocator<void> > SoftProcessorFirmwareReadResponse;
00090 
00091 typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorFirmwareReadResponse> SoftProcessorFirmwareReadResponsePtr;
00092 typedef boost::shared_ptr< ::ethercat_hardware::SoftProcessorFirmwareReadResponse const> SoftProcessorFirmwareReadResponseConstPtr;
00093 
00094 struct SoftProcessorFirmwareRead
00095 {
00096 
00097 typedef SoftProcessorFirmwareReadRequest Request;
00098 typedef SoftProcessorFirmwareReadResponse Response;
00099 Request request;
00100 Response response;
00101 
00102 typedef Request RequestType;
00103 typedef Response ResponseType;
00104 }; // struct SoftProcessorFirmwareRead
00105 } // namespace ethercat_hardware
00106 
00107 namespace ros
00108 {
00109 namespace message_traits
00110 {
00111 template<class ContainerAllocator> struct IsMessage< ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> > : public TrueType {};
00112 template<class ContainerAllocator> struct IsMessage< ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator>  const> : public TrueType {};
00113 template<class ContainerAllocator>
00114 struct MD5Sum< ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> > {
00115   static const char* value() 
00116   {
00117     return "777be25d71e9e85e62fa14223ffddb6b";
00118   }
00119 
00120   static const char* value(const  ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> &) { return value(); } 
00121   static const uint64_t static_value1 = 0x777be25d71e9e85eULL;
00122   static const uint64_t static_value2 = 0x62fa14223ffddb6bULL;
00123 };
00124 
00125 template<class ContainerAllocator>
00126 struct DataType< ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> > {
00127   static const char* value() 
00128   {
00129     return "ethercat_hardware/SoftProcessorFirmwareReadRequest";
00130   }
00131 
00132   static const char* value(const  ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> &) { return value(); } 
00133 };
00134 
00135 template<class ContainerAllocator>
00136 struct Definition< ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> > {
00137   static const char* value() 
00138   {
00139     return "string actuator_name\n\
00140 string processor_name\n\
00141 \n\
00142 \n\
00143 ";
00144   }
00145 
00146   static const char* value(const  ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> &) { return value(); } 
00147 };
00148 
00149 } // namespace message_traits
00150 } // namespace ros
00151 
00152 
00153 namespace ros
00154 {
00155 namespace message_traits
00156 {
00157 template<class ContainerAllocator> struct IsMessage< ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> > : public TrueType {};
00158 template<class ContainerAllocator> struct IsMessage< ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator>  const> : public TrueType {};
00159 template<class ContainerAllocator>
00160 struct MD5Sum< ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> > {
00161   static const char* value() 
00162   {
00163     return "d36ea5e74d6ac75d45ab5ae553b4d4e6";
00164   }
00165 
00166   static const char* value(const  ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> &) { return value(); } 
00167   static const uint64_t static_value1 = 0xd36ea5e74d6ac75dULL;
00168   static const uint64_t static_value2 = 0x45ab5ae553b4d4e6ULL;
00169 };
00170 
00171 template<class ContainerAllocator>
00172 struct DataType< ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> > {
00173   static const char* value() 
00174   {
00175     return "ethercat_hardware/SoftProcessorFirmwareReadResponse";
00176   }
00177 
00178   static const char* value(const  ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> &) { return value(); } 
00179 };
00180 
00181 template<class ContainerAllocator>
00182 struct Definition< ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> > {
00183   static const char* value() 
00184   {
00185     return "bool success\n\
00186 string error_msg\n\
00187 uint32[] instructions\n\
00188 \n\
00189 \n\
00190 ";
00191   }
00192 
00193   static const char* value(const  ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> &) { return value(); } 
00194 };
00195 
00196 } // namespace message_traits
00197 } // namespace ros
00198 
00199 namespace ros
00200 {
00201 namespace serialization
00202 {
00203 
00204 template<class ContainerAllocator> struct Serializer< ::ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> >
00205 {
00206   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00207   {
00208     stream.next(m.actuator_name);
00209     stream.next(m.processor_name);
00210   }
00211 
00212   ROS_DECLARE_ALLINONE_SERIALIZER;
00213 }; // struct SoftProcessorFirmwareReadRequest_
00214 } // namespace serialization
00215 } // namespace ros
00216 
00217 
00218 namespace ros
00219 {
00220 namespace serialization
00221 {
00222 
00223 template<class ContainerAllocator> struct Serializer< ::ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> >
00224 {
00225   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00226   {
00227     stream.next(m.success);
00228     stream.next(m.error_msg);
00229     stream.next(m.instructions);
00230   }
00231 
00232   ROS_DECLARE_ALLINONE_SERIALIZER;
00233 }; // struct SoftProcessorFirmwareReadResponse_
00234 } // namespace serialization
00235 } // namespace ros
00236 
00237 namespace ros
00238 {
00239 namespace service_traits
00240 {
00241 template<>
00242 struct MD5Sum<ethercat_hardware::SoftProcessorFirmwareRead> {
00243   static const char* value() 
00244   {
00245     return "52ad83cdf3a5cf0a74166c7d411fc0aa";
00246   }
00247 
00248   static const char* value(const ethercat_hardware::SoftProcessorFirmwareRead&) { return value(); } 
00249 };
00250 
00251 template<>
00252 struct DataType<ethercat_hardware::SoftProcessorFirmwareRead> {
00253   static const char* value() 
00254   {
00255     return "ethercat_hardware/SoftProcessorFirmwareRead";
00256   }
00257 
00258   static const char* value(const ethercat_hardware::SoftProcessorFirmwareRead&) { return value(); } 
00259 };
00260 
00261 template<class ContainerAllocator>
00262 struct MD5Sum<ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> > {
00263   static const char* value() 
00264   {
00265     return "52ad83cdf3a5cf0a74166c7d411fc0aa";
00266   }
00267 
00268   static const char* value(const ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> &) { return value(); } 
00269 };
00270 
00271 template<class ContainerAllocator>
00272 struct DataType<ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> > {
00273   static const char* value() 
00274   {
00275     return "ethercat_hardware/SoftProcessorFirmwareRead";
00276   }
00277 
00278   static const char* value(const ethercat_hardware::SoftProcessorFirmwareReadRequest_<ContainerAllocator> &) { return value(); } 
00279 };
00280 
00281 template<class ContainerAllocator>
00282 struct MD5Sum<ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> > {
00283   static const char* value() 
00284   {
00285     return "52ad83cdf3a5cf0a74166c7d411fc0aa";
00286   }
00287 
00288   static const char* value(const ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> &) { return value(); } 
00289 };
00290 
00291 template<class ContainerAllocator>
00292 struct DataType<ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> > {
00293   static const char* value() 
00294   {
00295     return "ethercat_hardware/SoftProcessorFirmwareRead";
00296   }
00297 
00298   static const char* value(const ethercat_hardware::SoftProcessorFirmwareReadResponse_<ContainerAllocator> &) { return value(); } 
00299 };
00300 
00301 } // namespace service_traits
00302 } // namespace ros
00303 
00304 #endif // ETHERCAT_HARDWARE_SERVICE_SOFTPROCESSORFIRMWAREREAD_H
00305 


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