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