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