00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-cob_common/doc_stacks/2014-10-05_22-55-33.767390/cob_common/cob_srvs/srv/SetMaxVel.srv */ 00002 #ifndef COB_SRVS_SERVICE_SETMAXVEL_H 00003 #define COB_SRVS_SERVICE_SETMAXVEL_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 #include "std_msgs/String.h" 00022 00023 namespace cob_srvs 00024 { 00025 template <class ContainerAllocator> 00026 struct SetMaxVelRequest_ { 00027 typedef SetMaxVelRequest_<ContainerAllocator> Type; 00028 00029 SetMaxVelRequest_() 00030 : max_vel(0.0) 00031 { 00032 } 00033 00034 SetMaxVelRequest_(const ContainerAllocator& _alloc) 00035 : max_vel(0.0) 00036 { 00037 } 00038 00039 typedef float _max_vel_type; 00040 float max_vel; 00041 00042 00043 typedef boost::shared_ptr< ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> > Ptr; 00044 typedef boost::shared_ptr< ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> const> ConstPtr; 00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00046 }; // struct SetMaxVelRequest 00047 typedef ::cob_srvs::SetMaxVelRequest_<std::allocator<void> > SetMaxVelRequest; 00048 00049 typedef boost::shared_ptr< ::cob_srvs::SetMaxVelRequest> SetMaxVelRequestPtr; 00050 typedef boost::shared_ptr< ::cob_srvs::SetMaxVelRequest const> SetMaxVelRequestConstPtr; 00051 00052 00053 00054 template <class ContainerAllocator> 00055 struct SetMaxVelResponse_ { 00056 typedef SetMaxVelResponse_<ContainerAllocator> Type; 00057 00058 SetMaxVelResponse_() 00059 : success(false) 00060 , errorMessage() 00061 { 00062 } 00063 00064 SetMaxVelResponse_(const ContainerAllocator& _alloc) 00065 : success(false) 00066 , errorMessage(_alloc) 00067 { 00068 } 00069 00070 typedef uint8_t _success_type; 00071 uint8_t success; 00072 00073 typedef ::std_msgs::String_<ContainerAllocator> _errorMessage_type; 00074 ::std_msgs::String_<ContainerAllocator> errorMessage; 00075 00076 00077 typedef boost::shared_ptr< ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> > Ptr; 00078 typedef boost::shared_ptr< ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> const> ConstPtr; 00079 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00080 }; // struct SetMaxVelResponse 00081 typedef ::cob_srvs::SetMaxVelResponse_<std::allocator<void> > SetMaxVelResponse; 00082 00083 typedef boost::shared_ptr< ::cob_srvs::SetMaxVelResponse> SetMaxVelResponsePtr; 00084 typedef boost::shared_ptr< ::cob_srvs::SetMaxVelResponse const> SetMaxVelResponseConstPtr; 00085 00086 00087 struct SetMaxVel 00088 { 00089 00090 typedef SetMaxVelRequest Request; 00091 typedef SetMaxVelResponse Response; 00092 Request request; 00093 Response response; 00094 00095 typedef Request RequestType; 00096 typedef Response ResponseType; 00097 }; // struct SetMaxVel 00098 } // namespace cob_srvs 00099 00100 namespace ros 00101 { 00102 namespace message_traits 00103 { 00104 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> > : public TrueType {}; 00105 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> const> : public TrueType {}; 00106 template<class ContainerAllocator> 00107 struct MD5Sum< ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> > { 00108 static const char* value() 00109 { 00110 return "dd4c36ffe76b55c7212cbc93d9e269be"; 00111 } 00112 00113 static const char* value(const ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> &) { return value(); } 00114 static const uint64_t static_value1 = 0xdd4c36ffe76b55c7ULL; 00115 static const uint64_t static_value2 = 0x212cbc93d9e269beULL; 00116 }; 00117 00118 template<class ContainerAllocator> 00119 struct DataType< ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> > { 00120 static const char* value() 00121 { 00122 return "cob_srvs/SetMaxVelRequest"; 00123 } 00124 00125 static const char* value(const ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> &) { return value(); } 00126 }; 00127 00128 template<class ContainerAllocator> 00129 struct Definition< ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> > { 00130 static const char* value() 00131 { 00132 return "float32 max_vel\n\ 00133 \n\ 00134 "; 00135 } 00136 00137 static const char* value(const ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> &) { return value(); } 00138 }; 00139 00140 template<class ContainerAllocator> struct IsFixedSize< ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> > : public TrueType {}; 00141 } // namespace message_traits 00142 } // namespace ros 00143 00144 00145 namespace ros 00146 { 00147 namespace message_traits 00148 { 00149 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> > : public TrueType {}; 00150 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> const> : public TrueType {}; 00151 template<class ContainerAllocator> 00152 struct MD5Sum< ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> > { 00153 static const char* value() 00154 { 00155 return "c3b62f691308002270bd6702fd7da94b"; 00156 } 00157 00158 static const char* value(const ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> &) { return value(); } 00159 static const uint64_t static_value1 = 0xc3b62f6913080022ULL; 00160 static const uint64_t static_value2 = 0x70bd6702fd7da94bULL; 00161 }; 00162 00163 template<class ContainerAllocator> 00164 struct DataType< ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> > { 00165 static const char* value() 00166 { 00167 return "cob_srvs/SetMaxVelResponse"; 00168 } 00169 00170 static const char* value(const ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> &) { return value(); } 00171 }; 00172 00173 template<class ContainerAllocator> 00174 struct Definition< ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> > { 00175 static const char* value() 00176 { 00177 return "bool success\n\ 00178 std_msgs/String errorMessage\n\ 00179 \n\ 00180 \n\ 00181 ================================================================================\n\ 00182 MSG: std_msgs/String\n\ 00183 string data\n\ 00184 \n\ 00185 "; 00186 } 00187 00188 static const char* value(const ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> &) { return value(); } 00189 }; 00190 00191 } // namespace message_traits 00192 } // namespace ros 00193 00194 namespace ros 00195 { 00196 namespace serialization 00197 { 00198 00199 template<class ContainerAllocator> struct Serializer< ::cob_srvs::SetMaxVelRequest_<ContainerAllocator> > 00200 { 00201 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00202 { 00203 stream.next(m.max_vel); 00204 } 00205 00206 ROS_DECLARE_ALLINONE_SERIALIZER; 00207 }; // struct SetMaxVelRequest_ 00208 } // namespace serialization 00209 } // namespace ros 00210 00211 00212 namespace ros 00213 { 00214 namespace serialization 00215 { 00216 00217 template<class ContainerAllocator> struct Serializer< ::cob_srvs::SetMaxVelResponse_<ContainerAllocator> > 00218 { 00219 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00220 { 00221 stream.next(m.success); 00222 stream.next(m.errorMessage); 00223 } 00224 00225 ROS_DECLARE_ALLINONE_SERIALIZER; 00226 }; // struct SetMaxVelResponse_ 00227 } // namespace serialization 00228 } // namespace ros 00229 00230 namespace ros 00231 { 00232 namespace service_traits 00233 { 00234 template<> 00235 struct MD5Sum<cob_srvs::SetMaxVel> { 00236 static const char* value() 00237 { 00238 return "5212ea5f4e683819f4e395ad0eb8ae8c"; 00239 } 00240 00241 static const char* value(const cob_srvs::SetMaxVel&) { return value(); } 00242 }; 00243 00244 template<> 00245 struct DataType<cob_srvs::SetMaxVel> { 00246 static const char* value() 00247 { 00248 return "cob_srvs/SetMaxVel"; 00249 } 00250 00251 static const char* value(const cob_srvs::SetMaxVel&) { return value(); } 00252 }; 00253 00254 template<class ContainerAllocator> 00255 struct MD5Sum<cob_srvs::SetMaxVelRequest_<ContainerAllocator> > { 00256 static const char* value() 00257 { 00258 return "5212ea5f4e683819f4e395ad0eb8ae8c"; 00259 } 00260 00261 static const char* value(const cob_srvs::SetMaxVelRequest_<ContainerAllocator> &) { return value(); } 00262 }; 00263 00264 template<class ContainerAllocator> 00265 struct DataType<cob_srvs::SetMaxVelRequest_<ContainerAllocator> > { 00266 static const char* value() 00267 { 00268 return "cob_srvs/SetMaxVel"; 00269 } 00270 00271 static const char* value(const cob_srvs::SetMaxVelRequest_<ContainerAllocator> &) { return value(); } 00272 }; 00273 00274 template<class ContainerAllocator> 00275 struct MD5Sum<cob_srvs::SetMaxVelResponse_<ContainerAllocator> > { 00276 static const char* value() 00277 { 00278 return "5212ea5f4e683819f4e395ad0eb8ae8c"; 00279 } 00280 00281 static const char* value(const cob_srvs::SetMaxVelResponse_<ContainerAllocator> &) { return value(); } 00282 }; 00283 00284 template<class ContainerAllocator> 00285 struct DataType<cob_srvs::SetMaxVelResponse_<ContainerAllocator> > { 00286 static const char* value() 00287 { 00288 return "cob_srvs/SetMaxVel"; 00289 } 00290 00291 static const char* value(const cob_srvs::SetMaxVelResponse_<ContainerAllocator> &) { return value(); } 00292 }; 00293 00294 } // namespace service_traits 00295 } // namespace ros 00296 00297 #endif // COB_SRVS_SERVICE_SETMAXVEL_H 00298