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