00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-bosch_drivers/doc_stacks/2014-10-06_10-06-18.785954/bosch_drivers/bmp085/srv/weather_forcast.srv */ 00002 #ifndef BMP085_SERVICE_WEATHER_FORCAST_H 00003 #define BMP085_SERVICE_WEATHER_FORCAST_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 weather_forcastRequest_ { 00026 typedef weather_forcastRequest_<ContainerAllocator> Type; 00027 00028 weather_forcastRequest_() 00029 { 00030 } 00031 00032 weather_forcastRequest_(const ContainerAllocator& _alloc) 00033 { 00034 } 00035 00036 00037 typedef boost::shared_ptr< ::bmp085::weather_forcastRequest_<ContainerAllocator> > Ptr; 00038 typedef boost::shared_ptr< ::bmp085::weather_forcastRequest_<ContainerAllocator> const> ConstPtr; 00039 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00040 }; // struct weather_forcastRequest 00041 typedef ::bmp085::weather_forcastRequest_<std::allocator<void> > weather_forcastRequest; 00042 00043 typedef boost::shared_ptr< ::bmp085::weather_forcastRequest> weather_forcastRequestPtr; 00044 typedef boost::shared_ptr< ::bmp085::weather_forcastRequest const> weather_forcastRequestConstPtr; 00045 00046 00047 00048 template <class ContainerAllocator> 00049 struct weather_forcastResponse_ { 00050 typedef weather_forcastResponse_<ContainerAllocator> Type; 00051 00052 weather_forcastResponse_() 00053 { 00054 } 00055 00056 weather_forcastResponse_(const ContainerAllocator& _alloc) 00057 { 00058 } 00059 00060 00061 typedef boost::shared_ptr< ::bmp085::weather_forcastResponse_<ContainerAllocator> > Ptr; 00062 typedef boost::shared_ptr< ::bmp085::weather_forcastResponse_<ContainerAllocator> const> ConstPtr; 00063 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00064 }; // struct weather_forcastResponse 00065 typedef ::bmp085::weather_forcastResponse_<std::allocator<void> > weather_forcastResponse; 00066 00067 typedef boost::shared_ptr< ::bmp085::weather_forcastResponse> weather_forcastResponsePtr; 00068 typedef boost::shared_ptr< ::bmp085::weather_forcastResponse const> weather_forcastResponseConstPtr; 00069 00070 00071 struct weather_forcast 00072 { 00073 00074 typedef weather_forcastRequest Request; 00075 typedef weather_forcastResponse Response; 00076 Request request; 00077 Response response; 00078 00079 typedef Request RequestType; 00080 typedef Response ResponseType; 00081 }; // struct weather_forcast 00082 } // namespace bmp085 00083 00084 namespace ros 00085 { 00086 namespace message_traits 00087 { 00088 template<class ContainerAllocator> struct IsMessage< ::bmp085::weather_forcastRequest_<ContainerAllocator> > : public TrueType {}; 00089 template<class ContainerAllocator> struct IsMessage< ::bmp085::weather_forcastRequest_<ContainerAllocator> const> : public TrueType {}; 00090 template<class ContainerAllocator> 00091 struct MD5Sum< ::bmp085::weather_forcastRequest_<ContainerAllocator> > { 00092 static const char* value() 00093 { 00094 return "d41d8cd98f00b204e9800998ecf8427e"; 00095 } 00096 00097 static const char* value(const ::bmp085::weather_forcastRequest_<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::weather_forcastRequest_<ContainerAllocator> > { 00104 static const char* value() 00105 { 00106 return "bmp085/weather_forcastRequest"; 00107 } 00108 00109 static const char* value(const ::bmp085::weather_forcastRequest_<ContainerAllocator> &) { return value(); } 00110 }; 00111 00112 template<class ContainerAllocator> 00113 struct Definition< ::bmp085::weather_forcastRequest_<ContainerAllocator> > { 00114 static const char* value() 00115 { 00116 return "\n\ 00117 "; 00118 } 00119 00120 static const char* value(const ::bmp085::weather_forcastRequest_<ContainerAllocator> &) { return value(); } 00121 }; 00122 00123 template<class ContainerAllocator> struct IsFixedSize< ::bmp085::weather_forcastRequest_<ContainerAllocator> > : public TrueType {}; 00124 } // namespace message_traits 00125 } // namespace ros 00126 00127 00128 namespace ros 00129 { 00130 namespace message_traits 00131 { 00132 template<class ContainerAllocator> struct IsMessage< ::bmp085::weather_forcastResponse_<ContainerAllocator> > : public TrueType {}; 00133 template<class ContainerAllocator> struct IsMessage< ::bmp085::weather_forcastResponse_<ContainerAllocator> const> : public TrueType {}; 00134 template<class ContainerAllocator> 00135 struct MD5Sum< ::bmp085::weather_forcastResponse_<ContainerAllocator> > { 00136 static const char* value() 00137 { 00138 return "d41d8cd98f00b204e9800998ecf8427e"; 00139 } 00140 00141 static const char* value(const ::bmp085::weather_forcastResponse_<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::weather_forcastResponse_<ContainerAllocator> > { 00148 static const char* value() 00149 { 00150 return "bmp085/weather_forcastResponse"; 00151 } 00152 00153 static const char* value(const ::bmp085::weather_forcastResponse_<ContainerAllocator> &) { return value(); } 00154 }; 00155 00156 template<class ContainerAllocator> 00157 struct Definition< ::bmp085::weather_forcastResponse_<ContainerAllocator> > { 00158 static const char* value() 00159 { 00160 return "\n\ 00161 "; 00162 } 00163 00164 static const char* value(const ::bmp085::weather_forcastResponse_<ContainerAllocator> &) { return value(); } 00165 }; 00166 00167 template<class ContainerAllocator> struct IsFixedSize< ::bmp085::weather_forcastResponse_<ContainerAllocator> > : public TrueType {}; 00168 } // namespace message_traits 00169 } // namespace ros 00170 00171 namespace ros 00172 { 00173 namespace serialization 00174 { 00175 00176 template<class ContainerAllocator> struct Serializer< ::bmp085::weather_forcastRequest_<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 }; // struct weather_forcastRequest_ 00184 } // namespace serialization 00185 } // namespace ros 00186 00187 00188 namespace ros 00189 { 00190 namespace serialization 00191 { 00192 00193 template<class ContainerAllocator> struct Serializer< ::bmp085::weather_forcastResponse_<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 }; // struct weather_forcastResponse_ 00201 } // namespace serialization 00202 } // namespace ros 00203 00204 namespace ros 00205 { 00206 namespace service_traits 00207 { 00208 template<> 00209 struct MD5Sum<bmp085::weather_forcast> { 00210 static const char* value() 00211 { 00212 return "d41d8cd98f00b204e9800998ecf8427e"; 00213 } 00214 00215 static const char* value(const bmp085::weather_forcast&) { return value(); } 00216 }; 00217 00218 template<> 00219 struct DataType<bmp085::weather_forcast> { 00220 static const char* value() 00221 { 00222 return "bmp085/weather_forcast"; 00223 } 00224 00225 static const char* value(const bmp085::weather_forcast&) { return value(); } 00226 }; 00227 00228 template<class ContainerAllocator> 00229 struct MD5Sum<bmp085::weather_forcastRequest_<ContainerAllocator> > { 00230 static const char* value() 00231 { 00232 return "d41d8cd98f00b204e9800998ecf8427e"; 00233 } 00234 00235 static const char* value(const bmp085::weather_forcastRequest_<ContainerAllocator> &) { return value(); } 00236 }; 00237 00238 template<class ContainerAllocator> 00239 struct DataType<bmp085::weather_forcastRequest_<ContainerAllocator> > { 00240 static const char* value() 00241 { 00242 return "bmp085/weather_forcast"; 00243 } 00244 00245 static const char* value(const bmp085::weather_forcastRequest_<ContainerAllocator> &) { return value(); } 00246 }; 00247 00248 template<class ContainerAllocator> 00249 struct MD5Sum<bmp085::weather_forcastResponse_<ContainerAllocator> > { 00250 static const char* value() 00251 { 00252 return "d41d8cd98f00b204e9800998ecf8427e"; 00253 } 00254 00255 static const char* value(const bmp085::weather_forcastResponse_<ContainerAllocator> &) { return value(); } 00256 }; 00257 00258 template<class ContainerAllocator> 00259 struct DataType<bmp085::weather_forcastResponse_<ContainerAllocator> > { 00260 static const char* value() 00261 { 00262 return "bmp085/weather_forcast"; 00263 } 00264 00265 static const char* value(const bmp085::weather_forcastResponse_<ContainerAllocator> &) { return value(); } 00266 }; 00267 00268 } // namespace service_traits 00269 } // namespace ros 00270 00271 #endif // BMP085_SERVICE_WEATHER_FORCAST_H 00272