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


ethercat_hardware
Author(s): Rob Wheeler (email: wheeler@willowgarage.com), Maintained by Derek King (email: dking@willowgarage.com)
autogenerated on Thu Apr 24 2014 15:43:45