SetDataRate.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-cob_driver/doc_stacks/2014-10-05_22-55-45.096012/cob_driver/cob_phidgets/srv/SetDataRate.srv */
00002 #ifndef COB_PHIDGETS_SERVICE_SETDATARATE_H
00003 #define COB_PHIDGETS_SERVICE_SETDATARATE_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 cob_phidgets
00023 {
00024 template <class ContainerAllocator>
00025 struct SetDataRateRequest_ {
00026   typedef SetDataRateRequest_<ContainerAllocator> Type;
00027 
00028   SetDataRateRequest_()
00029   : index(0)
00030   , data_rate(0)
00031   {
00032   }
00033 
00034   SetDataRateRequest_(const ContainerAllocator& _alloc)
00035   : index(0)
00036   , data_rate(0)
00037   {
00038   }
00039 
00040   typedef int8_t _index_type;
00041   int8_t index;
00042 
00043   typedef uint16_t _data_rate_type;
00044   uint16_t data_rate;
00045 
00046 
00047   typedef boost::shared_ptr< ::cob_phidgets::SetDataRateRequest_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::cob_phidgets::SetDataRateRequest_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct SetDataRateRequest
00051 typedef  ::cob_phidgets::SetDataRateRequest_<std::allocator<void> > SetDataRateRequest;
00052 
00053 typedef boost::shared_ptr< ::cob_phidgets::SetDataRateRequest> SetDataRateRequestPtr;
00054 typedef boost::shared_ptr< ::cob_phidgets::SetDataRateRequest const> SetDataRateRequestConstPtr;
00055 
00056 
00057 
00058 template <class ContainerAllocator>
00059 struct SetDataRateResponse_ {
00060   typedef SetDataRateResponse_<ContainerAllocator> Type;
00061 
00062   SetDataRateResponse_()
00063   {
00064   }
00065 
00066   SetDataRateResponse_(const ContainerAllocator& _alloc)
00067   {
00068   }
00069 
00070 
00071   typedef boost::shared_ptr< ::cob_phidgets::SetDataRateResponse_<ContainerAllocator> > Ptr;
00072   typedef boost::shared_ptr< ::cob_phidgets::SetDataRateResponse_<ContainerAllocator>  const> ConstPtr;
00073   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 }; // struct SetDataRateResponse
00075 typedef  ::cob_phidgets::SetDataRateResponse_<std::allocator<void> > SetDataRateResponse;
00076 
00077 typedef boost::shared_ptr< ::cob_phidgets::SetDataRateResponse> SetDataRateResponsePtr;
00078 typedef boost::shared_ptr< ::cob_phidgets::SetDataRateResponse const> SetDataRateResponseConstPtr;
00079 
00080 
00081 struct SetDataRate
00082 {
00083 
00084 typedef SetDataRateRequest Request;
00085 typedef SetDataRateResponse Response;
00086 Request request;
00087 Response response;
00088 
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 }; // struct SetDataRate
00092 } // namespace cob_phidgets
00093 
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::cob_phidgets::SetDataRateRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::cob_phidgets::SetDataRateRequest_<ContainerAllocator>  const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::cob_phidgets::SetDataRateRequest_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "2fe4d4dafc6b478c7e506a02543a3197";
00105   }
00106 
00107   static const char* value(const  ::cob_phidgets::SetDataRateRequest_<ContainerAllocator> &) { return value(); } 
00108   static const uint64_t static_value1 = 0x2fe4d4dafc6b478cULL;
00109   static const uint64_t static_value2 = 0x7e506a02543a3197ULL;
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct DataType< ::cob_phidgets::SetDataRateRequest_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "cob_phidgets/SetDataRateRequest";
00117   }
00118 
00119   static const char* value(const  ::cob_phidgets::SetDataRateRequest_<ContainerAllocator> &) { return value(); } 
00120 };
00121 
00122 template<class ContainerAllocator>
00123 struct Definition< ::cob_phidgets::SetDataRateRequest_<ContainerAllocator> > {
00124   static const char* value() 
00125   {
00126     return "int8 index\n\
00127 uint16 data_rate\n\
00128 \n\
00129 \n\
00130 ";
00131   }
00132 
00133   static const char* value(const  ::cob_phidgets::SetDataRateRequest_<ContainerAllocator> &) { return value(); } 
00134 };
00135 
00136 template<class ContainerAllocator> struct IsFixedSize< ::cob_phidgets::SetDataRateRequest_<ContainerAllocator> > : public TrueType {};
00137 } // namespace message_traits
00138 } // namespace ros
00139 
00140 
00141 namespace ros
00142 {
00143 namespace message_traits
00144 {
00145 template<class ContainerAllocator> struct IsMessage< ::cob_phidgets::SetDataRateResponse_<ContainerAllocator> > : public TrueType {};
00146 template<class ContainerAllocator> struct IsMessage< ::cob_phidgets::SetDataRateResponse_<ContainerAllocator>  const> : public TrueType {};
00147 template<class ContainerAllocator>
00148 struct MD5Sum< ::cob_phidgets::SetDataRateResponse_<ContainerAllocator> > {
00149   static const char* value() 
00150   {
00151     return "d41d8cd98f00b204e9800998ecf8427e";
00152   }
00153 
00154   static const char* value(const  ::cob_phidgets::SetDataRateResponse_<ContainerAllocator> &) { return value(); } 
00155   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00156   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00157 };
00158 
00159 template<class ContainerAllocator>
00160 struct DataType< ::cob_phidgets::SetDataRateResponse_<ContainerAllocator> > {
00161   static const char* value() 
00162   {
00163     return "cob_phidgets/SetDataRateResponse";
00164   }
00165 
00166   static const char* value(const  ::cob_phidgets::SetDataRateResponse_<ContainerAllocator> &) { return value(); } 
00167 };
00168 
00169 template<class ContainerAllocator>
00170 struct Definition< ::cob_phidgets::SetDataRateResponse_<ContainerAllocator> > {
00171   static const char* value() 
00172   {
00173     return "\n\
00174 ";
00175   }
00176 
00177   static const char* value(const  ::cob_phidgets::SetDataRateResponse_<ContainerAllocator> &) { return value(); } 
00178 };
00179 
00180 template<class ContainerAllocator> struct IsFixedSize< ::cob_phidgets::SetDataRateResponse_<ContainerAllocator> > : public TrueType {};
00181 } // namespace message_traits
00182 } // namespace ros
00183 
00184 namespace ros
00185 {
00186 namespace serialization
00187 {
00188 
00189 template<class ContainerAllocator> struct Serializer< ::cob_phidgets::SetDataRateRequest_<ContainerAllocator> >
00190 {
00191   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00192   {
00193     stream.next(m.index);
00194     stream.next(m.data_rate);
00195   }
00196 
00197   ROS_DECLARE_ALLINONE_SERIALIZER;
00198 }; // struct SetDataRateRequest_
00199 } // namespace serialization
00200 } // namespace ros
00201 
00202 
00203 namespace ros
00204 {
00205 namespace serialization
00206 {
00207 
00208 template<class ContainerAllocator> struct Serializer< ::cob_phidgets::SetDataRateResponse_<ContainerAllocator> >
00209 {
00210   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00211   {
00212   }
00213 
00214   ROS_DECLARE_ALLINONE_SERIALIZER;
00215 }; // struct SetDataRateResponse_
00216 } // namespace serialization
00217 } // namespace ros
00218 
00219 namespace ros
00220 {
00221 namespace service_traits
00222 {
00223 template<>
00224 struct MD5Sum<cob_phidgets::SetDataRate> {
00225   static const char* value() 
00226   {
00227     return "2fe4d4dafc6b478c7e506a02543a3197";
00228   }
00229 
00230   static const char* value(const cob_phidgets::SetDataRate&) { return value(); } 
00231 };
00232 
00233 template<>
00234 struct DataType<cob_phidgets::SetDataRate> {
00235   static const char* value() 
00236   {
00237     return "cob_phidgets/SetDataRate";
00238   }
00239 
00240   static const char* value(const cob_phidgets::SetDataRate&) { return value(); } 
00241 };
00242 
00243 template<class ContainerAllocator>
00244 struct MD5Sum<cob_phidgets::SetDataRateRequest_<ContainerAllocator> > {
00245   static const char* value() 
00246   {
00247     return "2fe4d4dafc6b478c7e506a02543a3197";
00248   }
00249 
00250   static const char* value(const cob_phidgets::SetDataRateRequest_<ContainerAllocator> &) { return value(); } 
00251 };
00252 
00253 template<class ContainerAllocator>
00254 struct DataType<cob_phidgets::SetDataRateRequest_<ContainerAllocator> > {
00255   static const char* value() 
00256   {
00257     return "cob_phidgets/SetDataRate";
00258   }
00259 
00260   static const char* value(const cob_phidgets::SetDataRateRequest_<ContainerAllocator> &) { return value(); } 
00261 };
00262 
00263 template<class ContainerAllocator>
00264 struct MD5Sum<cob_phidgets::SetDataRateResponse_<ContainerAllocator> > {
00265   static const char* value() 
00266   {
00267     return "2fe4d4dafc6b478c7e506a02543a3197";
00268   }
00269 
00270   static const char* value(const cob_phidgets::SetDataRateResponse_<ContainerAllocator> &) { return value(); } 
00271 };
00272 
00273 template<class ContainerAllocator>
00274 struct DataType<cob_phidgets::SetDataRateResponse_<ContainerAllocator> > {
00275   static const char* value() 
00276   {
00277     return "cob_phidgets/SetDataRate";
00278   }
00279 
00280   static const char* value(const cob_phidgets::SetDataRateResponse_<ContainerAllocator> &) { return value(); } 
00281 };
00282 
00283 } // namespace service_traits
00284 } // namespace ros
00285 
00286 #endif // COB_PHIDGETS_SERVICE_SETDATARATE_H
00287 


cob_phidgets
Author(s): Florian Weisshardt, Benjamin Maidel
autogenerated on Sun Oct 5 2014 23:10:20