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


ethercat_trigger_controllers
Author(s): Blaise Gassend
autogenerated on Fri Jan 3 2014 11:41:29