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