SetDigitalSensor.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/SetDigitalSensor.srv */
00002 #ifndef COB_PHIDGETS_SERVICE_SETDIGITALSENSOR_H
00003 #define COB_PHIDGETS_SERVICE_SETDIGITALSENSOR_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 SetDigitalSensorRequest_ {
00026   typedef SetDigitalSensorRequest_<ContainerAllocator> Type;
00027 
00028   SetDigitalSensorRequest_()
00029   : uri()
00030   , state(0)
00031   {
00032   }
00033 
00034   SetDigitalSensorRequest_(const ContainerAllocator& _alloc)
00035   : uri(_alloc)
00036   , state(0)
00037   {
00038   }
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _uri_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  uri;
00042 
00043   typedef int8_t _state_type;
00044   int8_t state;
00045 
00046 
00047   typedef boost::shared_ptr< ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct SetDigitalSensorRequest
00051 typedef  ::cob_phidgets::SetDigitalSensorRequest_<std::allocator<void> > SetDigitalSensorRequest;
00052 
00053 typedef boost::shared_ptr< ::cob_phidgets::SetDigitalSensorRequest> SetDigitalSensorRequestPtr;
00054 typedef boost::shared_ptr< ::cob_phidgets::SetDigitalSensorRequest const> SetDigitalSensorRequestConstPtr;
00055 
00056 
00057 
00058 template <class ContainerAllocator>
00059 struct SetDigitalSensorResponse_ {
00060   typedef SetDigitalSensorResponse_<ContainerAllocator> Type;
00061 
00062   SetDigitalSensorResponse_()
00063   : uri()
00064   , state(0)
00065   {
00066   }
00067 
00068   SetDigitalSensorResponse_(const ContainerAllocator& _alloc)
00069   : uri(_alloc)
00070   , state(0)
00071   {
00072   }
00073 
00074   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _uri_type;
00075   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  uri;
00076 
00077   typedef int8_t _state_type;
00078   int8_t state;
00079 
00080 
00081   typedef boost::shared_ptr< ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> > Ptr;
00082   typedef boost::shared_ptr< ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator>  const> ConstPtr;
00083   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 }; // struct SetDigitalSensorResponse
00085 typedef  ::cob_phidgets::SetDigitalSensorResponse_<std::allocator<void> > SetDigitalSensorResponse;
00086 
00087 typedef boost::shared_ptr< ::cob_phidgets::SetDigitalSensorResponse> SetDigitalSensorResponsePtr;
00088 typedef boost::shared_ptr< ::cob_phidgets::SetDigitalSensorResponse const> SetDigitalSensorResponseConstPtr;
00089 
00090 
00091 struct SetDigitalSensor
00092 {
00093 
00094 typedef SetDigitalSensorRequest Request;
00095 typedef SetDigitalSensorResponse Response;
00096 Request request;
00097 Response response;
00098 
00099 typedef Request RequestType;
00100 typedef Response ResponseType;
00101 }; // struct SetDigitalSensor
00102 } // namespace cob_phidgets
00103 
00104 namespace ros
00105 {
00106 namespace message_traits
00107 {
00108 template<class ContainerAllocator> struct IsMessage< ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> > : public TrueType {};
00109 template<class ContainerAllocator> struct IsMessage< ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator>  const> : public TrueType {};
00110 template<class ContainerAllocator>
00111 struct MD5Sum< ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "96cc93c2442fee91eb711a986476a959";
00115   }
00116 
00117   static const char* value(const  ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> &) { return value(); } 
00118   static const uint64_t static_value1 = 0x96cc93c2442fee91ULL;
00119   static const uint64_t static_value2 = 0xeb711a986476a959ULL;
00120 };
00121 
00122 template<class ContainerAllocator>
00123 struct DataType< ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> > {
00124   static const char* value() 
00125   {
00126     return "cob_phidgets/SetDigitalSensorRequest";
00127   }
00128 
00129   static const char* value(const  ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 template<class ContainerAllocator>
00133 struct Definition< ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> > {
00134   static const char* value() 
00135   {
00136     return "string uri\n\
00137 int8 state\n\
00138 \n\
00139 ";
00140   }
00141 
00142   static const char* value(const  ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 } // namespace message_traits
00146 } // namespace ros
00147 
00148 
00149 namespace ros
00150 {
00151 namespace message_traits
00152 {
00153 template<class ContainerAllocator> struct IsMessage< ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct IsMessage< ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator>  const> : public TrueType {};
00155 template<class ContainerAllocator>
00156 struct MD5Sum< ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> > {
00157   static const char* value() 
00158   {
00159     return "96cc93c2442fee91eb711a986476a959";
00160   }
00161 
00162   static const char* value(const  ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> &) { return value(); } 
00163   static const uint64_t static_value1 = 0x96cc93c2442fee91ULL;
00164   static const uint64_t static_value2 = 0xeb711a986476a959ULL;
00165 };
00166 
00167 template<class ContainerAllocator>
00168 struct DataType< ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> > {
00169   static const char* value() 
00170   {
00171     return "cob_phidgets/SetDigitalSensorResponse";
00172   }
00173 
00174   static const char* value(const  ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> &) { return value(); } 
00175 };
00176 
00177 template<class ContainerAllocator>
00178 struct Definition< ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> > {
00179   static const char* value() 
00180   {
00181     return "string uri\n\
00182 int8 state\n\
00183 \n\
00184 ";
00185   }
00186 
00187   static const char* value(const  ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> &) { return value(); } 
00188 };
00189 
00190 } // namespace message_traits
00191 } // namespace ros
00192 
00193 namespace ros
00194 {
00195 namespace serialization
00196 {
00197 
00198 template<class ContainerAllocator> struct Serializer< ::cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> >
00199 {
00200   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00201   {
00202     stream.next(m.uri);
00203     stream.next(m.state);
00204   }
00205 
00206   ROS_DECLARE_ALLINONE_SERIALIZER;
00207 }; // struct SetDigitalSensorRequest_
00208 } // namespace serialization
00209 } // namespace ros
00210 
00211 
00212 namespace ros
00213 {
00214 namespace serialization
00215 {
00216 
00217 template<class ContainerAllocator> struct Serializer< ::cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> >
00218 {
00219   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00220   {
00221     stream.next(m.uri);
00222     stream.next(m.state);
00223   }
00224 
00225   ROS_DECLARE_ALLINONE_SERIALIZER;
00226 }; // struct SetDigitalSensorResponse_
00227 } // namespace serialization
00228 } // namespace ros
00229 
00230 namespace ros
00231 {
00232 namespace service_traits
00233 {
00234 template<>
00235 struct MD5Sum<cob_phidgets::SetDigitalSensor> {
00236   static const char* value() 
00237   {
00238     return "1ddd624f449abe5e039f3478b75cb4d7";
00239   }
00240 
00241   static const char* value(const cob_phidgets::SetDigitalSensor&) { return value(); } 
00242 };
00243 
00244 template<>
00245 struct DataType<cob_phidgets::SetDigitalSensor> {
00246   static const char* value() 
00247   {
00248     return "cob_phidgets/SetDigitalSensor";
00249   }
00250 
00251   static const char* value(const cob_phidgets::SetDigitalSensor&) { return value(); } 
00252 };
00253 
00254 template<class ContainerAllocator>
00255 struct MD5Sum<cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> > {
00256   static const char* value() 
00257   {
00258     return "1ddd624f449abe5e039f3478b75cb4d7";
00259   }
00260 
00261   static const char* value(const cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> &) { return value(); } 
00262 };
00263 
00264 template<class ContainerAllocator>
00265 struct DataType<cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> > {
00266   static const char* value() 
00267   {
00268     return "cob_phidgets/SetDigitalSensor";
00269   }
00270 
00271   static const char* value(const cob_phidgets::SetDigitalSensorRequest_<ContainerAllocator> &) { return value(); } 
00272 };
00273 
00274 template<class ContainerAllocator>
00275 struct MD5Sum<cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> > {
00276   static const char* value() 
00277   {
00278     return "1ddd624f449abe5e039f3478b75cb4d7";
00279   }
00280 
00281   static const char* value(const cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> &) { return value(); } 
00282 };
00283 
00284 template<class ContainerAllocator>
00285 struct DataType<cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> > {
00286   static const char* value() 
00287   {
00288     return "cob_phidgets/SetDigitalSensor";
00289   }
00290 
00291   static const char* value(const cob_phidgets::SetDigitalSensorResponse_<ContainerAllocator> &) { return value(); } 
00292 };
00293 
00294 } // namespace service_traits
00295 } // namespace ros
00296 
00297 #endif // COB_PHIDGETS_SERVICE_SETDIGITALSENSOR_H
00298 


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