00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-bosch_proximity_sensor/doc_stacks/2014-01-03_11-07-26.656312/bosch_proximity_sensor/proximity_sensor_driver/srv/reinitialize_proximity_sensor.srv */ 00002 #ifndef PROXIMITY_SENSOR_DRIVER_SERVICE_REINITIALIZE_PROXIMITY_SENSOR_H 00003 #define PROXIMITY_SENSOR_DRIVER_SERVICE_REINITIALIZE_PROXIMITY_SENSOR_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 proximity_sensor_driver 00023 { 00024 template <class ContainerAllocator> 00025 struct reinitialize_proximity_sensorRequest_ { 00026 typedef reinitialize_proximity_sensorRequest_<ContainerAllocator> Type; 00027 00028 reinitialize_proximity_sensorRequest_() 00029 { 00030 } 00031 00032 reinitialize_proximity_sensorRequest_(const ContainerAllocator& _alloc) 00033 { 00034 } 00035 00036 00037 typedef boost::shared_ptr< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> > Ptr; 00038 typedef boost::shared_ptr< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> const> ConstPtr; 00039 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00040 }; // struct reinitialize_proximity_sensorRequest 00041 typedef ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<std::allocator<void> > reinitialize_proximity_sensorRequest; 00042 00043 typedef boost::shared_ptr< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest> reinitialize_proximity_sensorRequestPtr; 00044 typedef boost::shared_ptr< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest const> reinitialize_proximity_sensorRequestConstPtr; 00045 00046 00047 template <class ContainerAllocator> 00048 struct reinitialize_proximity_sensorResponse_ { 00049 typedef reinitialize_proximity_sensorResponse_<ContainerAllocator> Type; 00050 00051 reinitialize_proximity_sensorResponse_() 00052 { 00053 } 00054 00055 reinitialize_proximity_sensorResponse_(const ContainerAllocator& _alloc) 00056 { 00057 } 00058 00059 00060 typedef boost::shared_ptr< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> > Ptr; 00061 typedef boost::shared_ptr< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> const> ConstPtr; 00062 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00063 }; // struct reinitialize_proximity_sensorResponse 00064 typedef ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<std::allocator<void> > reinitialize_proximity_sensorResponse; 00065 00066 typedef boost::shared_ptr< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse> reinitialize_proximity_sensorResponsePtr; 00067 typedef boost::shared_ptr< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse const> reinitialize_proximity_sensorResponseConstPtr; 00068 00069 struct reinitialize_proximity_sensor 00070 { 00071 00072 typedef reinitialize_proximity_sensorRequest Request; 00073 typedef reinitialize_proximity_sensorResponse Response; 00074 Request request; 00075 Response response; 00076 00077 typedef Request RequestType; 00078 typedef Response ResponseType; 00079 }; // struct reinitialize_proximity_sensor 00080 } // namespace proximity_sensor_driver 00081 00082 namespace ros 00083 { 00084 namespace message_traits 00085 { 00086 template<class ContainerAllocator> struct IsMessage< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> > : public TrueType {}; 00087 template<class ContainerAllocator> struct IsMessage< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> const> : public TrueType {}; 00088 template<class ContainerAllocator> 00089 struct MD5Sum< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> > { 00090 static const char* value() 00091 { 00092 return "d41d8cd98f00b204e9800998ecf8427e"; 00093 } 00094 00095 static const char* value(const ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<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< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> > { 00102 static const char* value() 00103 { 00104 return "proximity_sensor_driver/reinitialize_proximity_sensorRequest"; 00105 } 00106 00107 static const char* value(const ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> &) { return value(); } 00108 }; 00109 00110 template<class ContainerAllocator> 00111 struct Definition< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> > { 00112 static const char* value() 00113 { 00114 return "\n\ 00115 "; 00116 } 00117 00118 static const char* value(const ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> &) { return value(); } 00119 }; 00120 00121 template<class ContainerAllocator> struct IsFixedSize< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<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< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> > : public TrueType {}; 00131 template<class ContainerAllocator> struct IsMessage< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> const> : public TrueType {}; 00132 template<class ContainerAllocator> 00133 struct MD5Sum< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> > { 00134 static const char* value() 00135 { 00136 return "d41d8cd98f00b204e9800998ecf8427e"; 00137 } 00138 00139 static const char* value(const ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<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< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> > { 00146 static const char* value() 00147 { 00148 return "proximity_sensor_driver/reinitialize_proximity_sensorResponse"; 00149 } 00150 00151 static const char* value(const ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> &) { return value(); } 00152 }; 00153 00154 template<class ContainerAllocator> 00155 struct Definition< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> > { 00156 static const char* value() 00157 { 00158 return "\n\ 00159 "; 00160 } 00161 00162 static const char* value(const ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> &) { return value(); } 00163 }; 00164 00165 template<class ContainerAllocator> struct IsFixedSize< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<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< ::proximity_sensor_driver::reinitialize_proximity_sensorRequest_<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 reinitialize_proximity_sensorRequest_ 00182 } // namespace serialization 00183 } // namespace ros 00184 00185 00186 namespace ros 00187 { 00188 namespace serialization 00189 { 00190 00191 template<class ContainerAllocator> struct Serializer< ::proximity_sensor_driver::reinitialize_proximity_sensorResponse_<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 reinitialize_proximity_sensorResponse_ 00199 } // namespace serialization 00200 } // namespace ros 00201 00202 namespace ros 00203 { 00204 namespace service_traits 00205 { 00206 template<> 00207 struct MD5Sum<proximity_sensor_driver::reinitialize_proximity_sensor> { 00208 static const char* value() 00209 { 00210 return "d41d8cd98f00b204e9800998ecf8427e"; 00211 } 00212 00213 static const char* value(const proximity_sensor_driver::reinitialize_proximity_sensor&) { return value(); } 00214 }; 00215 00216 template<> 00217 struct DataType<proximity_sensor_driver::reinitialize_proximity_sensor> { 00218 static const char* value() 00219 { 00220 return "proximity_sensor_driver/reinitialize_proximity_sensor"; 00221 } 00222 00223 static const char* value(const proximity_sensor_driver::reinitialize_proximity_sensor&) { return value(); } 00224 }; 00225 00226 template<class ContainerAllocator> 00227 struct MD5Sum<proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> > { 00228 static const char* value() 00229 { 00230 return "d41d8cd98f00b204e9800998ecf8427e"; 00231 } 00232 00233 static const char* value(const proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> &) { return value(); } 00234 }; 00235 00236 template<class ContainerAllocator> 00237 struct DataType<proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> > { 00238 static const char* value() 00239 { 00240 return "proximity_sensor_driver/reinitialize_proximity_sensor"; 00241 } 00242 00243 static const char* value(const proximity_sensor_driver::reinitialize_proximity_sensorRequest_<ContainerAllocator> &) { return value(); } 00244 }; 00245 00246 template<class ContainerAllocator> 00247 struct MD5Sum<proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> > { 00248 static const char* value() 00249 { 00250 return "d41d8cd98f00b204e9800998ecf8427e"; 00251 } 00252 00253 static const char* value(const proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> &) { return value(); } 00254 }; 00255 00256 template<class ContainerAllocator> 00257 struct DataType<proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> > { 00258 static const char* value() 00259 { 00260 return "proximity_sensor_driver/reinitialize_proximity_sensor"; 00261 } 00262 00263 static const char* value(const proximity_sensor_driver::reinitialize_proximity_sensorResponse_<ContainerAllocator> &) { return value(); } 00264 }; 00265 00266 } // namespace service_traits 00267 } // namespace ros 00268 00269 #endif // PROXIMITY_SENSOR_DRIVER_SERVICE_REINITIALIZE_PROXIMITY_SENSOR_H 00270