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