SetJointStiffness.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-cob_common/doc_stacks/2013-03-01_17-42-56.130276/cob_common/cob_srvs/srv/SetJointStiffness.srv */
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 }; // struct SetJointStiffnessRequest
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 template <class ContainerAllocator>
00055 struct SetJointStiffnessResponse_ {
00056   typedef SetJointStiffnessResponse_<ContainerAllocator> Type;
00057 
00058   SetJointStiffnessResponse_()
00059   : success()
00060   , error_message()
00061   {
00062   }
00063 
00064   SetJointStiffnessResponse_(const ContainerAllocator& _alloc)
00065   : success(_alloc)
00066   , error_message(_alloc)
00067   {
00068   }
00069 
00070   typedef  ::std_msgs::Bool_<ContainerAllocator>  _success_type;
00071    ::std_msgs::Bool_<ContainerAllocator>  success;
00072 
00073   typedef  ::std_msgs::String_<ContainerAllocator>  _error_message_type;
00074    ::std_msgs::String_<ContainerAllocator>  error_message;
00075 
00076 
00077   typedef boost::shared_ptr< ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> > Ptr;
00078   typedef boost::shared_ptr< ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator>  const> ConstPtr;
00079   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 }; // struct SetJointStiffnessResponse
00081 typedef  ::cob_srvs::SetJointStiffnessResponse_<std::allocator<void> > SetJointStiffnessResponse;
00082 
00083 typedef boost::shared_ptr< ::cob_srvs::SetJointStiffnessResponse> SetJointStiffnessResponsePtr;
00084 typedef boost::shared_ptr< ::cob_srvs::SetJointStiffnessResponse const> SetJointStiffnessResponseConstPtr;
00085 
00086 struct SetJointStiffness
00087 {
00088 
00089 typedef SetJointStiffnessRequest Request;
00090 typedef SetJointStiffnessResponse Response;
00091 Request request;
00092 Response response;
00093 
00094 typedef Request RequestType;
00095 typedef Response ResponseType;
00096 }; // struct SetJointStiffness
00097 } // namespace cob_srvs
00098 
00099 namespace ros
00100 {
00101 namespace message_traits
00102 {
00103 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> > : public TrueType {};
00104 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointStiffnessRequest_<ContainerAllocator>  const> : public TrueType {};
00105 template<class ContainerAllocator>
00106 struct MD5Sum< ::cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "3f30c4d99702f028fe1bef65668a3d21";
00110   }
00111 
00112   static const char* value(const  ::cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> &) { return value(); } 
00113   static const uint64_t static_value1 = 0x3f30c4d99702f028ULL;
00114   static const uint64_t static_value2 = 0xfe1bef65668a3d21ULL;
00115 };
00116 
00117 template<class ContainerAllocator>
00118 struct DataType< ::cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> > {
00119   static const char* value() 
00120   {
00121     return "cob_srvs/SetJointStiffnessRequest";
00122   }
00123 
00124   static const char* value(const  ::cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 template<class ContainerAllocator>
00128 struct Definition< ::cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> > {
00129   static const char* value() 
00130   {
00131     return "float32[] joint_stiffness\n\
00132 \n\
00133 ";
00134   }
00135 
00136   static const char* value(const  ::cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> &) { return value(); } 
00137 };
00138 
00139 } // namespace message_traits
00140 } // namespace ros
00141 
00142 
00143 namespace ros
00144 {
00145 namespace message_traits
00146 {
00147 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> > : public TrueType {};
00148 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator>  const> : public TrueType {};
00149 template<class ContainerAllocator>
00150 struct MD5Sum< ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> > {
00151   static const char* value() 
00152   {
00153     return "bdad515e8f4c013bd650d3407753d2b8";
00154   }
00155 
00156   static const char* value(const  ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> &) { return value(); } 
00157   static const uint64_t static_value1 = 0xbdad515e8f4c013bULL;
00158   static const uint64_t static_value2 = 0xd650d3407753d2b8ULL;
00159 };
00160 
00161 template<class ContainerAllocator>
00162 struct DataType< ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> > {
00163   static const char* value() 
00164   {
00165     return "cob_srvs/SetJointStiffnessResponse";
00166   }
00167 
00168   static const char* value(const  ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> &) { return value(); } 
00169 };
00170 
00171 template<class ContainerAllocator>
00172 struct Definition< ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> > {
00173   static const char* value() 
00174   {
00175     return "std_msgs/Bool success\n\
00176 std_msgs/String error_message\n\
00177 \n\
00178 \n\
00179 ================================================================================\n\
00180 MSG: std_msgs/Bool\n\
00181 bool data\n\
00182 ================================================================================\n\
00183 MSG: std_msgs/String\n\
00184 string data\n\
00185 \n\
00186 ";
00187   }
00188 
00189   static const char* value(const  ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> &) { return value(); } 
00190 };
00191 
00192 } // namespace message_traits
00193 } // namespace ros
00194 
00195 namespace ros
00196 {
00197 namespace serialization
00198 {
00199 
00200 template<class ContainerAllocator> struct Serializer< ::cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> >
00201 {
00202   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00203   {
00204     stream.next(m.joint_stiffness);
00205   }
00206 
00207   ROS_DECLARE_ALLINONE_SERIALIZER;
00208 }; // struct SetJointStiffnessRequest_
00209 } // namespace serialization
00210 } // namespace ros
00211 
00212 
00213 namespace ros
00214 {
00215 namespace serialization
00216 {
00217 
00218 template<class ContainerAllocator> struct Serializer< ::cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> >
00219 {
00220   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00221   {
00222     stream.next(m.success);
00223     stream.next(m.error_message);
00224   }
00225 
00226   ROS_DECLARE_ALLINONE_SERIALIZER;
00227 }; // struct SetJointStiffnessResponse_
00228 } // namespace serialization
00229 } // namespace ros
00230 
00231 namespace ros
00232 {
00233 namespace service_traits
00234 {
00235 template<>
00236 struct MD5Sum<cob_srvs::SetJointStiffness> {
00237   static const char* value() 
00238   {
00239     return "2ae9ddd5d3294ccf3c876d966e4e11a3";
00240   }
00241 
00242   static const char* value(const cob_srvs::SetJointStiffness&) { return value(); } 
00243 };
00244 
00245 template<>
00246 struct DataType<cob_srvs::SetJointStiffness> {
00247   static const char* value() 
00248   {
00249     return "cob_srvs/SetJointStiffness";
00250   }
00251 
00252   static const char* value(const cob_srvs::SetJointStiffness&) { return value(); } 
00253 };
00254 
00255 template<class ContainerAllocator>
00256 struct MD5Sum<cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> > {
00257   static const char* value() 
00258   {
00259     return "2ae9ddd5d3294ccf3c876d966e4e11a3";
00260   }
00261 
00262   static const char* value(const cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> &) { return value(); } 
00263 };
00264 
00265 template<class ContainerAllocator>
00266 struct DataType<cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> > {
00267   static const char* value() 
00268   {
00269     return "cob_srvs/SetJointStiffness";
00270   }
00271 
00272   static const char* value(const cob_srvs::SetJointStiffnessRequest_<ContainerAllocator> &) { return value(); } 
00273 };
00274 
00275 template<class ContainerAllocator>
00276 struct MD5Sum<cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> > {
00277   static const char* value() 
00278   {
00279     return "2ae9ddd5d3294ccf3c876d966e4e11a3";
00280   }
00281 
00282   static const char* value(const cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> &) { return value(); } 
00283 };
00284 
00285 template<class ContainerAllocator>
00286 struct DataType<cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> > {
00287   static const char* value() 
00288   {
00289     return "cob_srvs/SetJointStiffness";
00290   }
00291 
00292   static const char* value(const cob_srvs::SetJointStiffnessResponse_<ContainerAllocator> &) { return value(); } 
00293 };
00294 
00295 } // namespace service_traits
00296 } // namespace ros
00297 
00298 #endif // COB_SRVS_SERVICE_SETJOINTSTIFFNESS_H
00299 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


cob_srvs
Author(s): Florian Weisshardt
autogenerated on Fri Mar 1 2013 17:46:00