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


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