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