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