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