Go to the documentation of this file.00001
00002 #ifndef GAZEBO_TASKBOARD_SERVICE_MANIPULATENUMPAD_H
00003 #define GAZEBO_TASKBOARD_SERVICE_MANIPULATENUMPAD_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 gazebo_taskboard
00023 {
00024 template <class ContainerAllocator>
00025 struct ManipulateNumPadRequest_ {
00026 typedef ManipulateNumPadRequest_<ContainerAllocator> Type;
00027
00028 ManipulateNumPadRequest_()
00029 : index(0)
00030 , force(0.0)
00031 , duration(0.0)
00032 {
00033 }
00034
00035 ManipulateNumPadRequest_(const ContainerAllocator& _alloc)
00036 : index(0)
00037 , force(0.0)
00038 , duration(0.0)
00039 {
00040 }
00041
00042 typedef int32_t _index_type;
00043 int32_t index;
00044
00045 typedef double _force_type;
00046 double force;
00047
00048 typedef double _duration_type;
00049 double duration;
00050
00051
00052 typedef boost::shared_ptr< ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> > Ptr;
00053 typedef boost::shared_ptr< ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> const> ConstPtr;
00054 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 };
00056 typedef ::gazebo_taskboard::ManipulateNumPadRequest_<std::allocator<void> > ManipulateNumPadRequest;
00057
00058 typedef boost::shared_ptr< ::gazebo_taskboard::ManipulateNumPadRequest> ManipulateNumPadRequestPtr;
00059 typedef boost::shared_ptr< ::gazebo_taskboard::ManipulateNumPadRequest const> ManipulateNumPadRequestConstPtr;
00060
00061
00062
00063 template <class ContainerAllocator>
00064 struct ManipulateNumPadResponse_ {
00065 typedef ManipulateNumPadResponse_<ContainerAllocator> Type;
00066
00067 ManipulateNumPadResponse_()
00068 : ok(false)
00069 {
00070 }
00071
00072 ManipulateNumPadResponse_(const ContainerAllocator& _alloc)
00073 : ok(false)
00074 {
00075 }
00076
00077 typedef uint8_t _ok_type;
00078 uint8_t ok;
00079
00080
00081 typedef boost::shared_ptr< ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> const> ConstPtr;
00083 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 };
00085 typedef ::gazebo_taskboard::ManipulateNumPadResponse_<std::allocator<void> > ManipulateNumPadResponse;
00086
00087 typedef boost::shared_ptr< ::gazebo_taskboard::ManipulateNumPadResponse> ManipulateNumPadResponsePtr;
00088 typedef boost::shared_ptr< ::gazebo_taskboard::ManipulateNumPadResponse const> ManipulateNumPadResponseConstPtr;
00089
00090
00091 struct ManipulateNumPad
00092 {
00093
00094 typedef ManipulateNumPadRequest Request;
00095 typedef ManipulateNumPadResponse Response;
00096 Request request;
00097 Response response;
00098
00099 typedef Request RequestType;
00100 typedef Response ResponseType;
00101 };
00102 }
00103
00104 namespace ros
00105 {
00106 namespace message_traits
00107 {
00108 template<class ContainerAllocator> struct IsMessage< ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> > : public TrueType {};
00109 template<class ContainerAllocator> struct IsMessage< ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> const> : public TrueType {};
00110 template<class ContainerAllocator>
00111 struct MD5Sum< ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "aa2174eb90f087e819a238e0495526d8";
00115 }
00116
00117 static const char* value(const ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> &) { return value(); }
00118 static const uint64_t static_value1 = 0xaa2174eb90f087e8ULL;
00119 static const uint64_t static_value2 = 0x19a238e0495526d8ULL;
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct DataType< ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "gazebo_taskboard/ManipulateNumPadRequest";
00127 }
00128
00129 static const char* value(const ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> &) { return value(); }
00130 };
00131
00132 template<class ContainerAllocator>
00133 struct Definition< ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> > {
00134 static const char* value()
00135 {
00136 return "int32 index\n\
00137 float64 force\n\
00138 float64 duration\n\
00139 \n\
00140 ";
00141 }
00142
00143 static const char* value(const ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> &) { return value(); }
00144 };
00145
00146 template<class ContainerAllocator> struct IsFixedSize< ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> > : public TrueType {};
00147 }
00148 }
00149
00150
00151 namespace ros
00152 {
00153 namespace message_traits
00154 {
00155 template<class ContainerAllocator> struct IsMessage< ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> > : public TrueType {};
00156 template<class ContainerAllocator> struct IsMessage< ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> const> : public TrueType {};
00157 template<class ContainerAllocator>
00158 struct MD5Sum< ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> > {
00159 static const char* value()
00160 {
00161 return "6f6da3883749771fac40d6deb24a8c02";
00162 }
00163
00164 static const char* value(const ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> &) { return value(); }
00165 static const uint64_t static_value1 = 0x6f6da3883749771fULL;
00166 static const uint64_t static_value2 = 0xac40d6deb24a8c02ULL;
00167 };
00168
00169 template<class ContainerAllocator>
00170 struct DataType< ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> > {
00171 static const char* value()
00172 {
00173 return "gazebo_taskboard/ManipulateNumPadResponse";
00174 }
00175
00176 static const char* value(const ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> &) { return value(); }
00177 };
00178
00179 template<class ContainerAllocator>
00180 struct Definition< ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> > {
00181 static const char* value()
00182 {
00183 return "bool ok\n\
00184 \n\
00185 \n\
00186 ";
00187 }
00188
00189 static const char* value(const ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> &) { return value(); }
00190 };
00191
00192 template<class ContainerAllocator> struct IsFixedSize< ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> > : public TrueType {};
00193 }
00194 }
00195
00196 namespace ros
00197 {
00198 namespace serialization
00199 {
00200
00201 template<class ContainerAllocator> struct Serializer< ::gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> >
00202 {
00203 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00204 {
00205 stream.next(m.index);
00206 stream.next(m.force);
00207 stream.next(m.duration);
00208 }
00209
00210 ROS_DECLARE_ALLINONE_SERIALIZER;
00211 };
00212 }
00213 }
00214
00215
00216 namespace ros
00217 {
00218 namespace serialization
00219 {
00220
00221 template<class ContainerAllocator> struct Serializer< ::gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> >
00222 {
00223 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00224 {
00225 stream.next(m.ok);
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<gazebo_taskboard::ManipulateNumPad> {
00239 static const char* value()
00240 {
00241 return "b8003f72ab0847f72cc48d810ab5c4e4";
00242 }
00243
00244 static const char* value(const gazebo_taskboard::ManipulateNumPad&) { return value(); }
00245 };
00246
00247 template<>
00248 struct DataType<gazebo_taskboard::ManipulateNumPad> {
00249 static const char* value()
00250 {
00251 return "gazebo_taskboard/ManipulateNumPad";
00252 }
00253
00254 static const char* value(const gazebo_taskboard::ManipulateNumPad&) { return value(); }
00255 };
00256
00257 template<class ContainerAllocator>
00258 struct MD5Sum<gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> > {
00259 static const char* value()
00260 {
00261 return "b8003f72ab0847f72cc48d810ab5c4e4";
00262 }
00263
00264 static const char* value(const gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> &) { return value(); }
00265 };
00266
00267 template<class ContainerAllocator>
00268 struct DataType<gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> > {
00269 static const char* value()
00270 {
00271 return "gazebo_taskboard/ManipulateNumPad";
00272 }
00273
00274 static const char* value(const gazebo_taskboard::ManipulateNumPadRequest_<ContainerAllocator> &) { return value(); }
00275 };
00276
00277 template<class ContainerAllocator>
00278 struct MD5Sum<gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> > {
00279 static const char* value()
00280 {
00281 return "b8003f72ab0847f72cc48d810ab5c4e4";
00282 }
00283
00284 static const char* value(const gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> &) { return value(); }
00285 };
00286
00287 template<class ContainerAllocator>
00288 struct DataType<gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> > {
00289 static const char* value()
00290 {
00291 return "gazebo_taskboard/ManipulateNumPad";
00292 }
00293
00294 static const char* value(const gazebo_taskboard::ManipulateNumPadResponse_<ContainerAllocator> &) { return value(); }
00295 };
00296
00297 }
00298 }
00299
00300 #endif // GAZEBO_TASKBOARD_SERVICE_MANIPULATENUMPAD_H
00301