Go to the documentation of this file.00001
00002 #ifndef SR_ROBOT_MSGS_SERVICE_WHICH_FINGERS_ARE_TOUCHING_H
00003 #define SR_ROBOT_MSGS_SERVICE_WHICH_FINGERS_ARE_TOUCHING_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
00022 namespace sr_robot_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct which_fingers_are_touchingRequest_ {
00026 typedef which_fingers_are_touchingRequest_<ContainerAllocator> Type;
00027
00028 which_fingers_are_touchingRequest_()
00029 : force_thresholds()
00030 {
00031 }
00032
00033 which_fingers_are_touchingRequest_(const ContainerAllocator& _alloc)
00034 : force_thresholds(_alloc)
00035 {
00036 }
00037
00038 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _force_thresholds_type;
00039 std::vector<double, typename ContainerAllocator::template rebind<double>::other > force_thresholds;
00040
00041
00042 typedef boost::shared_ptr< ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> const> ConstPtr;
00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 };
00046 typedef ::sr_robot_msgs::which_fingers_are_touchingRequest_<std::allocator<void> > which_fingers_are_touchingRequest;
00047
00048 typedef boost::shared_ptr< ::sr_robot_msgs::which_fingers_are_touchingRequest> which_fingers_are_touchingRequestPtr;
00049 typedef boost::shared_ptr< ::sr_robot_msgs::which_fingers_are_touchingRequest const> which_fingers_are_touchingRequestConstPtr;
00050
00051
00052 template <class ContainerAllocator>
00053 struct which_fingers_are_touchingResponse_ {
00054 typedef which_fingers_are_touchingResponse_<ContainerAllocator> Type;
00055
00056 which_fingers_are_touchingResponse_()
00057 : touch_forces()
00058 {
00059 }
00060
00061 which_fingers_are_touchingResponse_(const ContainerAllocator& _alloc)
00062 : touch_forces(_alloc)
00063 {
00064 }
00065
00066 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _touch_forces_type;
00067 std::vector<double, typename ContainerAllocator::template rebind<double>::other > touch_forces;
00068
00069
00070 typedef boost::shared_ptr< ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr< ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> const> ConstPtr;
00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 };
00074 typedef ::sr_robot_msgs::which_fingers_are_touchingResponse_<std::allocator<void> > which_fingers_are_touchingResponse;
00075
00076 typedef boost::shared_ptr< ::sr_robot_msgs::which_fingers_are_touchingResponse> which_fingers_are_touchingResponsePtr;
00077 typedef boost::shared_ptr< ::sr_robot_msgs::which_fingers_are_touchingResponse const> which_fingers_are_touchingResponseConstPtr;
00078
00079 struct which_fingers_are_touching
00080 {
00081
00082 typedef which_fingers_are_touchingRequest Request;
00083 typedef which_fingers_are_touchingResponse Response;
00084 Request request;
00085 Response response;
00086
00087 typedef Request RequestType;
00088 typedef Response ResponseType;
00089 };
00090 }
00091
00092 namespace ros
00093 {
00094 namespace message_traits
00095 {
00096 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> > : public TrueType {};
00097 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> const> : public TrueType {};
00098 template<class ContainerAllocator>
00099 struct MD5Sum< ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> > {
00100 static const char* value()
00101 {
00102 return "f0fd736c3daac04fcc02a89421c67ccd";
00103 }
00104
00105 static const char* value(const ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> &) { return value(); }
00106 static const uint64_t static_value1 = 0xf0fd736c3daac04fULL;
00107 static const uint64_t static_value2 = 0xcc02a89421c67ccdULL;
00108 };
00109
00110 template<class ContainerAllocator>
00111 struct DataType< ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "sr_robot_msgs/which_fingers_are_touchingRequest";
00115 }
00116
00117 static const char* value(const ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct Definition< ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "\n\
00125 \n\
00126 \n\
00127 \n\
00128 float64[] force_thresholds\n\
00129 \n\
00130 ";
00131 }
00132
00133 static const char* value(const ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> &) { return value(); }
00134 };
00135
00136 }
00137 }
00138
00139
00140 namespace ros
00141 {
00142 namespace message_traits
00143 {
00144 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> > : public TrueType {};
00145 template<class ContainerAllocator> struct IsMessage< ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> const> : public TrueType {};
00146 template<class ContainerAllocator>
00147 struct MD5Sum< ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> > {
00148 static const char* value()
00149 {
00150 return "f9d8b7193733b8133389d5ada08e713d";
00151 }
00152
00153 static const char* value(const ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> &) { return value(); }
00154 static const uint64_t static_value1 = 0xf9d8b7193733b813ULL;
00155 static const uint64_t static_value2 = 0x3389d5ada08e713dULL;
00156 };
00157
00158 template<class ContainerAllocator>
00159 struct DataType< ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "sr_robot_msgs/which_fingers_are_touchingResponse";
00163 }
00164
00165 static const char* value(const ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct Definition< ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "float64[] touch_forces\n\
00173 \n\
00174 \n\
00175 \n\
00176 \n\
00177 \n\
00178 ";
00179 }
00180
00181 static const char* value(const ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> &) { return value(); }
00182 };
00183
00184 }
00185 }
00186
00187 namespace ros
00188 {
00189 namespace serialization
00190 {
00191
00192 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> >
00193 {
00194 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00195 {
00196 stream.next(m.force_thresholds);
00197 }
00198
00199 ROS_DECLARE_ALLINONE_SERIALIZER;
00200 };
00201 }
00202 }
00203
00204
00205 namespace ros
00206 {
00207 namespace serialization
00208 {
00209
00210 template<class ContainerAllocator> struct Serializer< ::sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> >
00211 {
00212 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00213 {
00214 stream.next(m.touch_forces);
00215 }
00216
00217 ROS_DECLARE_ALLINONE_SERIALIZER;
00218 };
00219 }
00220 }
00221
00222 namespace ros
00223 {
00224 namespace service_traits
00225 {
00226 template<>
00227 struct MD5Sum<sr_robot_msgs::which_fingers_are_touching> {
00228 static const char* value()
00229 {
00230 return "5db90fdcbce6b7b34ac0a1f94863f7e2";
00231 }
00232
00233 static const char* value(const sr_robot_msgs::which_fingers_are_touching&) { return value(); }
00234 };
00235
00236 template<>
00237 struct DataType<sr_robot_msgs::which_fingers_are_touching> {
00238 static const char* value()
00239 {
00240 return "sr_robot_msgs/which_fingers_are_touching";
00241 }
00242
00243 static const char* value(const sr_robot_msgs::which_fingers_are_touching&) { return value(); }
00244 };
00245
00246 template<class ContainerAllocator>
00247 struct MD5Sum<sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> > {
00248 static const char* value()
00249 {
00250 return "5db90fdcbce6b7b34ac0a1f94863f7e2";
00251 }
00252
00253 static const char* value(const sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> &) { return value(); }
00254 };
00255
00256 template<class ContainerAllocator>
00257 struct DataType<sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> > {
00258 static const char* value()
00259 {
00260 return "sr_robot_msgs/which_fingers_are_touching";
00261 }
00262
00263 static const char* value(const sr_robot_msgs::which_fingers_are_touchingRequest_<ContainerAllocator> &) { return value(); }
00264 };
00265
00266 template<class ContainerAllocator>
00267 struct MD5Sum<sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> > {
00268 static const char* value()
00269 {
00270 return "5db90fdcbce6b7b34ac0a1f94863f7e2";
00271 }
00272
00273 static const char* value(const sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> &) { return value(); }
00274 };
00275
00276 template<class ContainerAllocator>
00277 struct DataType<sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> > {
00278 static const char* value()
00279 {
00280 return "sr_robot_msgs/which_fingers_are_touching";
00281 }
00282
00283 static const char* value(const sr_robot_msgs::which_fingers_are_touchingResponse_<ContainerAllocator> &) { return value(); }
00284 };
00285
00286 }
00287 }
00288
00289 #endif // SR_ROBOT_MSGS_SERVICE_WHICH_FINGERS_ARE_TOUCHING_H
00290