Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::cob_trajectory_controller::SetFloatRequest_<std::allocator<void> > SetFloatRequest;
00049
00050 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatRequest> SetFloatRequestPtr;
00051 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatRequest const> SetFloatRequestConstPtr;
00052
00053
00054 template <class ContainerAllocator>
00055 struct SetFloatResponse_ {
00056 typedef SetFloatResponse_<ContainerAllocator> Type;
00057
00058 SetFloatResponse_()
00059 : success()
00060 {
00061 }
00062
00063 SetFloatResponse_(const ContainerAllocator& _alloc)
00064 : success(_alloc)
00065 {
00066 }
00067
00068 typedef ::std_msgs::Bool_<ContainerAllocator> _success_type;
00069 ::std_msgs::Bool_<ContainerAllocator> success;
00070
00071
00072 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::cob_trajectory_controller::SetFloatResponse_<std::allocator<void> > SetFloatResponse;
00077
00078 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatResponse> SetFloatResponsePtr;
00079 typedef boost::shared_ptr< ::cob_trajectory_controller::SetFloatResponse const> SetFloatResponseConstPtr;
00080
00081 struct SetFloat
00082 {
00083
00084 typedef SetFloatRequest Request;
00085 typedef SetFloatResponse Response;
00086 Request request;
00087 Response response;
00088
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 };
00092 }
00093
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "1b2e6c76ff0a23e68a43b77651f66f18";
00105 }
00106
00107 static const char* value(const ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> &) { return value(); }
00108 static const uint64_t static_value1 = 0x1b2e6c76ff0a23e6ULL;
00109 static const uint64_t static_value2 = 0x8a43b77651f66f18ULL;
00110 };
00111
00112 template<class ContainerAllocator>
00113 struct DataType< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > {
00114 static const char* value()
00115 {
00116 return "cob_trajectory_controller/SetFloatRequest";
00117 }
00118
00119 static const char* value(const ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct Definition< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "std_msgs/Float64 value\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: std_msgs/Float64\n\
00130 float64 data\n\
00131 ";
00132 }
00133
00134 static const char* value(const ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 template<class ContainerAllocator> struct IsFixedSize< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > : public TrueType {};
00138 }
00139 }
00140
00141
00142 namespace ros
00143 {
00144 namespace message_traits
00145 {
00146 template<class ContainerAllocator> struct IsMessage< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > : public TrueType {};
00147 template<class ContainerAllocator> struct IsMessage< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> const> : public TrueType {};
00148 template<class ContainerAllocator>
00149 struct MD5Sum< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > {
00150 static const char* value()
00151 {
00152 return "5f31cb2e813cfb0e488c574c3b5d9dbe";
00153 }
00154
00155 static const char* value(const ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> &) { return value(); }
00156 static const uint64_t static_value1 = 0x5f31cb2e813cfb0eULL;
00157 static const uint64_t static_value2 = 0x488c574c3b5d9dbeULL;
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct DataType< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "cob_trajectory_controller/SetFloatResponse";
00165 }
00166
00167 static const char* value(const ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> &) { return value(); }
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct Definition< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "std_msgs/Bool success\n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: std_msgs/Bool\n\
00178 bool data\n\
00179 ";
00180 }
00181
00182 static const char* value(const ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> &) { return value(); }
00183 };
00184
00185 template<class ContainerAllocator> struct IsFixedSize< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > : public TrueType {};
00186 }
00187 }
00188
00189 namespace ros
00190 {
00191 namespace serialization
00192 {
00193
00194 template<class ContainerAllocator> struct Serializer< ::cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> >
00195 {
00196 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00197 {
00198 stream.next(m.value);
00199 }
00200
00201 ROS_DECLARE_ALLINONE_SERIALIZER;
00202 };
00203 }
00204 }
00205
00206
00207 namespace ros
00208 {
00209 namespace serialization
00210 {
00211
00212 template<class ContainerAllocator> struct Serializer< ::cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> >
00213 {
00214 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00215 {
00216 stream.next(m.success);
00217 }
00218
00219 ROS_DECLARE_ALLINONE_SERIALIZER;
00220 };
00221 }
00222 }
00223
00224 namespace ros
00225 {
00226 namespace service_traits
00227 {
00228 template<>
00229 struct MD5Sum<cob_trajectory_controller::SetFloat> {
00230 static const char* value()
00231 {
00232 return "c61d00936862523d63db9428e15b5b6e";
00233 }
00234
00235 static const char* value(const cob_trajectory_controller::SetFloat&) { return value(); }
00236 };
00237
00238 template<>
00239 struct DataType<cob_trajectory_controller::SetFloat> {
00240 static const char* value()
00241 {
00242 return "cob_trajectory_controller/SetFloat";
00243 }
00244
00245 static const char* value(const cob_trajectory_controller::SetFloat&) { return value(); }
00246 };
00247
00248 template<class ContainerAllocator>
00249 struct MD5Sum<cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > {
00250 static const char* value()
00251 {
00252 return "c61d00936862523d63db9428e15b5b6e";
00253 }
00254
00255 static const char* value(const cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> &) { return value(); }
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct DataType<cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "cob_trajectory_controller/SetFloat";
00263 }
00264
00265 static const char* value(const cob_trajectory_controller::SetFloatRequest_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct MD5Sum<cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "c61d00936862523d63db9428e15b5b6e";
00273 }
00274
00275 static const char* value(const cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct DataType<cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "cob_trajectory_controller/SetFloat";
00283 }
00284
00285 static const char* value(const cob_trajectory_controller::SetFloatResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 }
00289 }
00290
00291 #endif // COB_TRAJECTORY_CONTROLLER_SERVICE_SETFLOAT_H
00292