$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-remote_lab/doc_stacks/2013-03-03_11-54-58.406785/remote_lab/pr2_pick_and_place_service/srv/SwitchPickupPutdownSides.srv */ 00002 #ifndef PR2_PICK_AND_PLACE_SERVICE_SERVICE_SWITCHPICKUPPUTDOWNSIDES_H 00003 #define PR2_PICK_AND_PLACE_SERVICE_SERVICE_SWITCHPICKUPPUTDOWNSIDES_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 pr2_pick_and_place_service 00023 { 00024 template <class ContainerAllocator> 00025 struct SwitchPickupPutdownSidesRequest_ { 00026 typedef SwitchPickupPutdownSidesRequest_<ContainerAllocator> Type; 00027 00028 SwitchPickupPutdownSidesRequest_() 00029 : side() 00030 { 00031 } 00032 00033 SwitchPickupPutdownSidesRequest_(const ContainerAllocator& _alloc) 00034 : side(_alloc) 00035 { 00036 } 00037 00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _side_type; 00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > side; 00040 00041 00042 private: 00043 static const char* __s_getDataType_() { return "pr2_pick_and_place_service/SwitchPickupPutdownSidesRequest"; } 00044 public: 00045 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00046 00047 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00048 00049 private: 00050 static const char* __s_getMD5Sum_() { return "69d615a99b3ddce4b1854895f66933a8"; } 00051 public: 00052 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00053 00054 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00055 00056 private: 00057 static const char* __s_getServerMD5Sum_() { return "aedbd57468531efbb33fe73916583b75"; } 00058 public: 00059 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00060 00061 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00062 00063 private: 00064 static const char* __s_getMessageDefinition_() { return "string side\n\ 00065 \n\ 00066 "; } 00067 public: 00068 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00069 00070 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00071 00072 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00073 { 00074 ros::serialization::OStream stream(write_ptr, 1000000000); 00075 ros::serialization::serialize(stream, side); 00076 return stream.getData(); 00077 } 00078 00079 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00080 { 00081 ros::serialization::IStream stream(read_ptr, 1000000000); 00082 ros::serialization::deserialize(stream, side); 00083 return stream.getData(); 00084 } 00085 00086 ROS_DEPRECATED virtual uint32_t serializationLength() const 00087 { 00088 uint32_t size = 0; 00089 size += ros::serialization::serializationLength(side); 00090 return size; 00091 } 00092 00093 typedef boost::shared_ptr< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> > Ptr; 00094 typedef boost::shared_ptr< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> const> ConstPtr; 00095 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00096 }; // struct SwitchPickupPutdownSidesRequest 00097 typedef ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<std::allocator<void> > SwitchPickupPutdownSidesRequest; 00098 00099 typedef boost::shared_ptr< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest> SwitchPickupPutdownSidesRequestPtr; 00100 typedef boost::shared_ptr< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest const> SwitchPickupPutdownSidesRequestConstPtr; 00101 00102 00103 template <class ContainerAllocator> 00104 struct SwitchPickupPutdownSidesResponse_ { 00105 typedef SwitchPickupPutdownSidesResponse_<ContainerAllocator> Type; 00106 00107 SwitchPickupPutdownSidesResponse_() 00108 : success(false) 00109 { 00110 } 00111 00112 SwitchPickupPutdownSidesResponse_(const ContainerAllocator& _alloc) 00113 : success(false) 00114 { 00115 } 00116 00117 typedef uint8_t _success_type; 00118 uint8_t success; 00119 00120 00121 private: 00122 static const char* __s_getDataType_() { return "pr2_pick_and_place_service/SwitchPickupPutdownSidesResponse"; } 00123 public: 00124 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00125 00126 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00127 00128 private: 00129 static const char* __s_getMD5Sum_() { return "358e233cde0c8a8bcfea4ce193f8fc15"; } 00130 public: 00131 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00132 00133 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00134 00135 private: 00136 static const char* __s_getServerMD5Sum_() { return "aedbd57468531efbb33fe73916583b75"; } 00137 public: 00138 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00139 00140 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00141 00142 private: 00143 static const char* __s_getMessageDefinition_() { return "bool success\n\ 00144 \n\ 00145 \n\ 00146 "; } 00147 public: 00148 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00149 00150 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00151 00152 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00153 { 00154 ros::serialization::OStream stream(write_ptr, 1000000000); 00155 ros::serialization::serialize(stream, success); 00156 return stream.getData(); 00157 } 00158 00159 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00160 { 00161 ros::serialization::IStream stream(read_ptr, 1000000000); 00162 ros::serialization::deserialize(stream, success); 00163 return stream.getData(); 00164 } 00165 00166 ROS_DEPRECATED virtual uint32_t serializationLength() const 00167 { 00168 uint32_t size = 0; 00169 size += ros::serialization::serializationLength(success); 00170 return size; 00171 } 00172 00173 typedef boost::shared_ptr< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> > Ptr; 00174 typedef boost::shared_ptr< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> const> ConstPtr; 00175 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00176 }; // struct SwitchPickupPutdownSidesResponse 00177 typedef ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<std::allocator<void> > SwitchPickupPutdownSidesResponse; 00178 00179 typedef boost::shared_ptr< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse> SwitchPickupPutdownSidesResponsePtr; 00180 typedef boost::shared_ptr< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse const> SwitchPickupPutdownSidesResponseConstPtr; 00181 00182 struct SwitchPickupPutdownSides 00183 { 00184 00185 typedef SwitchPickupPutdownSidesRequest Request; 00186 typedef SwitchPickupPutdownSidesResponse Response; 00187 Request request; 00188 Response response; 00189 00190 typedef Request RequestType; 00191 typedef Response ResponseType; 00192 }; // struct SwitchPickupPutdownSides 00193 } // namespace pr2_pick_and_place_service 00194 00195 namespace ros 00196 { 00197 namespace message_traits 00198 { 00199 template<class ContainerAllocator> struct IsMessage< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> > : public TrueType {}; 00200 template<class ContainerAllocator> struct IsMessage< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> const> : public TrueType {}; 00201 template<class ContainerAllocator> 00202 struct MD5Sum< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> > { 00203 static const char* value() 00204 { 00205 return "69d615a99b3ddce4b1854895f66933a8"; 00206 } 00207 00208 static const char* value(const ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> &) { return value(); } 00209 static const uint64_t static_value1 = 0x69d615a99b3ddce4ULL; 00210 static const uint64_t static_value2 = 0xb1854895f66933a8ULL; 00211 }; 00212 00213 template<class ContainerAllocator> 00214 struct DataType< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> > { 00215 static const char* value() 00216 { 00217 return "pr2_pick_and_place_service/SwitchPickupPutdownSidesRequest"; 00218 } 00219 00220 static const char* value(const ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> &) { return value(); } 00221 }; 00222 00223 template<class ContainerAllocator> 00224 struct Definition< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> > { 00225 static const char* value() 00226 { 00227 return "string side\n\ 00228 \n\ 00229 "; 00230 } 00231 00232 static const char* value(const ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> &) { return value(); } 00233 }; 00234 00235 } // namespace message_traits 00236 } // namespace ros 00237 00238 00239 namespace ros 00240 { 00241 namespace message_traits 00242 { 00243 template<class ContainerAllocator> struct IsMessage< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> > : public TrueType {}; 00244 template<class ContainerAllocator> struct IsMessage< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> const> : public TrueType {}; 00245 template<class ContainerAllocator> 00246 struct MD5Sum< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> > { 00247 static const char* value() 00248 { 00249 return "358e233cde0c8a8bcfea4ce193f8fc15"; 00250 } 00251 00252 static const char* value(const ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> &) { return value(); } 00253 static const uint64_t static_value1 = 0x358e233cde0c8a8bULL; 00254 static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL; 00255 }; 00256 00257 template<class ContainerAllocator> 00258 struct DataType< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> > { 00259 static const char* value() 00260 { 00261 return "pr2_pick_and_place_service/SwitchPickupPutdownSidesResponse"; 00262 } 00263 00264 static const char* value(const ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> &) { return value(); } 00265 }; 00266 00267 template<class ContainerAllocator> 00268 struct Definition< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> > { 00269 static const char* value() 00270 { 00271 return "bool success\n\ 00272 \n\ 00273 \n\ 00274 "; 00275 } 00276 00277 static const char* value(const ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> &) { return value(); } 00278 }; 00279 00280 template<class ContainerAllocator> struct IsFixedSize< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> > : public TrueType {}; 00281 } // namespace message_traits 00282 } // namespace ros 00283 00284 namespace ros 00285 { 00286 namespace serialization 00287 { 00288 00289 template<class ContainerAllocator> struct Serializer< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> > 00290 { 00291 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00292 { 00293 stream.next(m.side); 00294 } 00295 00296 ROS_DECLARE_ALLINONE_SERIALIZER; 00297 }; // struct SwitchPickupPutdownSidesRequest_ 00298 } // namespace serialization 00299 } // namespace ros 00300 00301 00302 namespace ros 00303 { 00304 namespace serialization 00305 { 00306 00307 template<class ContainerAllocator> struct Serializer< ::pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> > 00308 { 00309 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00310 { 00311 stream.next(m.success); 00312 } 00313 00314 ROS_DECLARE_ALLINONE_SERIALIZER; 00315 }; // struct SwitchPickupPutdownSidesResponse_ 00316 } // namespace serialization 00317 } // namespace ros 00318 00319 namespace ros 00320 { 00321 namespace service_traits 00322 { 00323 template<> 00324 struct MD5Sum<pr2_pick_and_place_service::SwitchPickupPutdownSides> { 00325 static const char* value() 00326 { 00327 return "aedbd57468531efbb33fe73916583b75"; 00328 } 00329 00330 static const char* value(const pr2_pick_and_place_service::SwitchPickupPutdownSides&) { return value(); } 00331 }; 00332 00333 template<> 00334 struct DataType<pr2_pick_and_place_service::SwitchPickupPutdownSides> { 00335 static const char* value() 00336 { 00337 return "pr2_pick_and_place_service/SwitchPickupPutdownSides"; 00338 } 00339 00340 static const char* value(const pr2_pick_and_place_service::SwitchPickupPutdownSides&) { return value(); } 00341 }; 00342 00343 template<class ContainerAllocator> 00344 struct MD5Sum<pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> > { 00345 static const char* value() 00346 { 00347 return "aedbd57468531efbb33fe73916583b75"; 00348 } 00349 00350 static const char* value(const pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> &) { return value(); } 00351 }; 00352 00353 template<class ContainerAllocator> 00354 struct DataType<pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> > { 00355 static const char* value() 00356 { 00357 return "pr2_pick_and_place_service/SwitchPickupPutdownSides"; 00358 } 00359 00360 static const char* value(const pr2_pick_and_place_service::SwitchPickupPutdownSidesRequest_<ContainerAllocator> &) { return value(); } 00361 }; 00362 00363 template<class ContainerAllocator> 00364 struct MD5Sum<pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> > { 00365 static const char* value() 00366 { 00367 return "aedbd57468531efbb33fe73916583b75"; 00368 } 00369 00370 static const char* value(const pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> &) { return value(); } 00371 }; 00372 00373 template<class ContainerAllocator> 00374 struct DataType<pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> > { 00375 static const char* value() 00376 { 00377 return "pr2_pick_and_place_service/SwitchPickupPutdownSides"; 00378 } 00379 00380 static const char* value(const pr2_pick_and_place_service::SwitchPickupPutdownSidesResponse_<ContainerAllocator> &) { return value(); } 00381 }; 00382 00383 } // namespace service_traits 00384 } // namespace ros 00385 00386 #endif // PR2_PICK_AND_PLACE_SERVICE_SERVICE_SWITCHPICKUPPUTDOWNSIDES_H 00387