$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_driver/doc_stacks/2013-03-01_14-39-27.991733/cob_driver/cob_trajectory_controller/srv/SetFloat.srv */ 00002 #ifndef COB_TRAJECTORY_CONTROLLER_SERVICE_SETFLOAT_H 00003 #define COB_TRAJECTORY_CONTROLLER_SERVICE_SETFLOAT_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 #include "std_msgs/Float64.h" 00020 00021 00022 #include "std_msgs/Bool.h" 00023 00024 namespace cob_trajectory_controller 00025 { 00026 template <class ContainerAllocator> 00027 struct SetFloatRequest_ { 00028 typedef SetFloatRequest_<ContainerAllocator> Type; 00029 00030 SetFloatRequest_() 00031 : value() 00032 { 00033 } 00034 00035 SetFloatRequest_(const ContainerAllocator& _alloc) 00036 : value(_alloc) 00037 { 00038 } 00039 00040 typedef ::std_msgs::Float64_<ContainerAllocator> _value_type; 00041 ::std_msgs::Float64_<ContainerAllocator> value; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "cob_trajectory_controller/SetFloatRequest"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "1b2e6c76ff0a23e68a43b77651f66f18"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getServerMD5Sum_() { return "c61d00936862523d63db9428e15b5b6e"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "std_msgs/Float64 value\n\ 00067 \n\ 00068 ================================================================================\n\ 00069 MSG: std_msgs/Float64\n\ 00070 float64 data\n\ 00071 "; } 00072 public: 00073 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00076 00077 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00078 { 00079 ros::serialization::OStream stream(write_ptr, 1000000000); 00080 ros::serialization::serialize(stream, value); 00081 return stream.getData(); 00082 } 00083 00084 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00085 { 00086 ros::serialization::IStream stream(read_ptr, 1000000000); 00087 ros::serialization::deserialize(stream, value); 00088 return stream.getData(); 00089 } 00090 00091 ROS_DEPRECATED virtual uint32_t serializationLength() const 00092 { 00093 uint32_t size = 0; 00094 size += ros::serialization::serializationLength(value); 00095 return size; 00096 } 00097 00098 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > Ptr; 00099 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> const> ConstPtr; 00100 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00101 }; // struct SetFloatRequest 00102 typedef ::cob_trajectory_controller::SetFloatRequest_<std::allocator<void> > SetFloatRequest; 00103 00104 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatRequest> SetFloatRequestPtr; 00105 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatRequest const> SetFloatRequestConstPtr; 00106 00107 00108 template <class ContainerAllocator> 00109 struct SetFloatResponse_ { 00110 typedef SetFloatResponse_<ContainerAllocator> Type; 00111 00112 SetFloatResponse_() 00113 : success() 00114 { 00115 } 00116 00117 SetFloatResponse_(const ContainerAllocator& _alloc) 00118 : success(_alloc) 00119 { 00120 } 00121 00122 typedef ::std_msgs::Bool_<ContainerAllocator> _success_type; 00123 ::std_msgs::Bool_<ContainerAllocator> success; 00124 00125 00126 private: 00127 static const char* __s_getDataType_() { return "cob_trajectory_controller/SetFloatResponse"; } 00128 public: 00129 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00130 00131 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00132 00133 private: 00134 static const char* __s_getMD5Sum_() { return "5f31cb2e813cfb0e488c574c3b5d9dbe"; } 00135 public: 00136 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00137 00138 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00139 00140 private: 00141 static const char* __s_getServerMD5Sum_() { return "c61d00936862523d63db9428e15b5b6e"; } 00142 public: 00143 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00144 00145 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00146 00147 private: 00148 static const char* __s_getMessageDefinition_() { return "std_msgs/Bool success\n\ 00149 \n\ 00150 ================================================================================\n\ 00151 MSG: std_msgs/Bool\n\ 00152 bool data\n\ 00153 "; } 00154 public: 00155 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00156 00157 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00158 00159 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00160 { 00161 ros::serialization::OStream stream(write_ptr, 1000000000); 00162 ros::serialization::serialize(stream, success); 00163 return stream.getData(); 00164 } 00165 00166 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00167 { 00168 ros::serialization::IStream stream(read_ptr, 1000000000); 00169 ros::serialization::deserialize(stream, success); 00170 return stream.getData(); 00171 } 00172 00173 ROS_DEPRECATED virtual uint32_t serializationLength() const 00174 { 00175 uint32_t size = 0; 00176 size += ros::serialization::serializationLength(success); 00177 return size; 00178 } 00179 00180 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > Ptr; 00181 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> const> ConstPtr; 00182 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00183 }; // struct SetFloatResponse 00184 typedef ::cob_trajectory_controller::SetFloatResponse_<std::allocator<void> > SetFloatResponse; 00185 00186 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatResponse> SetFloatResponsePtr; 00187 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatResponse const> SetFloatResponseConstPtr; 00188 00189 struct SetFloat 00190 { 00191 00192 typedef SetFloatRequest Request; 00193 typedef SetFloatResponse Response; 00194 Request request; 00195 Response response; 00196 00197 typedef Request RequestType; 00198 typedef Response ResponseType; 00199 }; // struct SetFloat 00200 } // namespace cob_trajectory_controller 00201 00202 namespace ros 00203 { 00204 namespace message_traits 00205 { 00206 template<class ContainerAllocator> struct IsMessage< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > : public TrueType {}; 00207 template<class ContainerAllocator> struct IsMessage< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> const> : public TrueType {}; 00208 template<class ContainerAllocator> 00209 struct MD5Sum< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > { 00210 static const char* value() 00211 { 00212 return "1b2e6c76ff0a23e68a43b77651f66f18"; 00213 } 00214 00215 static const char* value(const ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> &) { return value(); } 00216 static const uint64_t static_value1 = 0x1b2e6c76ff0a23e6ULL; 00217 static const uint64_t static_value2 = 0x8a43b77651f66f18ULL; 00218 }; 00219 00220 template<class ContainerAllocator> 00221 struct DataType< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > { 00222 static const char* value() 00223 { 00224 return "cob_trajectory_controller/SetFloatRequest"; 00225 } 00226 00227 static const char* value(const ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> &) { return value(); } 00228 }; 00229 00230 template<class ContainerAllocator> 00231 struct Definition< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > { 00232 static const char* value() 00233 { 00234 return "std_msgs/Float64 value\n\ 00235 \n\ 00236 ================================================================================\n\ 00237 MSG: std_msgs/Float64\n\ 00238 float64 data\n\ 00239 "; 00240 } 00241 00242 static const char* value(const ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> &) { return value(); } 00243 }; 00244 00245 template<class ContainerAllocator> struct IsFixedSize< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > : public TrueType {}; 00246 } // namespace message_traits 00247 } // namespace ros 00248 00249 00250 namespace ros 00251 { 00252 namespace message_traits 00253 { 00254 template<class ContainerAllocator> struct IsMessage< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > : public TrueType {}; 00255 template<class ContainerAllocator> struct IsMessage< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> const> : public TrueType {}; 00256 template<class ContainerAllocator> 00257 struct MD5Sum< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > { 00258 static const char* value() 00259 { 00260 return "5f31cb2e813cfb0e488c574c3b5d9dbe"; 00261 } 00262 00263 static const char* value(const ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> &) { return value(); } 00264 static const uint64_t static_value1 = 0x5f31cb2e813cfb0eULL; 00265 static const uint64_t static_value2 = 0x488c574c3b5d9dbeULL; 00266 }; 00267 00268 template<class ContainerAllocator> 00269 struct DataType< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > { 00270 static const char* value() 00271 { 00272 return "cob_trajectory_controller/SetFloatResponse"; 00273 } 00274 00275 static const char* value(const ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> &) { return value(); } 00276 }; 00277 00278 template<class ContainerAllocator> 00279 struct Definition< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > { 00280 static const char* value() 00281 { 00282 return "std_msgs/Bool success\n\ 00283 \n\ 00284 ================================================================================\n\ 00285 MSG: std_msgs/Bool\n\ 00286 bool data\n\ 00287 "; 00288 } 00289 00290 static const char* value(const ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> &) { return value(); } 00291 }; 00292 00293 template<class ContainerAllocator> struct IsFixedSize< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > : public TrueType {}; 00294 } // namespace message_traits 00295 } // namespace ros 00296 00297 namespace ros 00298 { 00299 namespace serialization 00300 { 00301 00302 template<class ContainerAllocator> struct Serializer< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > 00303 { 00304 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00305 { 00306 stream.next(m.value); 00307 } 00308 00309 ROS_DECLARE_ALLINONE_SERIALIZER; 00310 }; // struct SetFloatRequest_ 00311 } // namespace serialization 00312 } // namespace ros 00313 00314 00315 namespace ros 00316 { 00317 namespace serialization 00318 { 00319 00320 template<class ContainerAllocator> struct Serializer< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > 00321 { 00322 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00323 { 00324 stream.next(m.success); 00325 } 00326 00327 ROS_DECLARE_ALLINONE_SERIALIZER; 00328 }; // struct SetFloatResponse_ 00329 } // namespace serialization 00330 } // namespace ros 00331 00332 namespace ros 00333 { 00334 namespace service_traits 00335 { 00336 template<> 00337 struct MD5Sum<cob_trajectory_controller::SetFloat> { 00338 static const char* value() 00339 { 00340 return "c61d00936862523d63db9428e15b5b6e"; 00341 } 00342 00343 static const char* value(const cob_trajectory_controller::SetFloat&) { return value(); } 00344 }; 00345 00346 template<> 00347 struct DataType<cob_trajectory_controller::SetFloat> { 00348 static const char* value() 00349 { 00350 return "cob_trajectory_controller/SetFloat"; 00351 } 00352 00353 static const char* value(const cob_trajectory_controller::SetFloat&) { return value(); } 00354 }; 00355 00356 template<class ContainerAllocator> 00357 struct MD5Sum<cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > { 00358 static const char* value() 00359 { 00360 return "c61d00936862523d63db9428e15b5b6e"; 00361 } 00362 00363 static const char* value(const cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> &) { return value(); } 00364 }; 00365 00366 template<class ContainerAllocator> 00367 struct DataType<cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > { 00368 static const char* value() 00369 { 00370 return "cob_trajectory_controller/SetFloat"; 00371 } 00372 00373 static const char* value(const cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> &) { return value(); } 00374 }; 00375 00376 template<class ContainerAllocator> 00377 struct MD5Sum<cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > { 00378 static const char* value() 00379 { 00380 return "c61d00936862523d63db9428e15b5b6e"; 00381 } 00382 00383 static const char* value(const cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> &) { return value(); } 00384 }; 00385 00386 template<class ContainerAllocator> 00387 struct DataType<cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > { 00388 static const char* value() 00389 { 00390 return "cob_trajectory_controller/SetFloat"; 00391 } 00392 00393 static const char* value(const cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> &) { return value(); } 00394 }; 00395 00396 } // namespace service_traits 00397 } // namespace ros 00398 00399 #endif // COB_TRAJECTORY_CONTROLLER_SERVICE_SETFLOAT_H 00400