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


ethercat_trigger_controllers
Author(s): Blaise Gassend
autogenerated on Thu Apr 24 2014 15:44:37