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