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