$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_object_manipulation/doc_stacks/2013-03-05_12-10-38.333207/pr2_object_manipulation/manipulation/pr2_object_manipulation_msgs/srv/ActionInfo.srv */ 00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_SERVICE_ACTIONINFO_H 00003 #define PR2_OBJECT_MANIPULATION_MSGS_SERVICE_ACTIONINFO_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_object_manipulation_msgs 00023 { 00024 template <class ContainerAllocator> 00025 struct ActionInfoRequest_ { 00026 typedef ActionInfoRequest_<ContainerAllocator> Type; 00027 00028 ActionInfoRequest_() 00029 : group_name() 00030 { 00031 } 00032 00033 ActionInfoRequest_(const ContainerAllocator& _alloc) 00034 : group_name(_alloc) 00035 { 00036 } 00037 00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _group_name_type; 00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > group_name; 00040 00041 00042 private: 00043 static const char* __s_getDataType_() { return "pr2_object_manipulation_msgs/ActionInfoRequest"; } 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 "967d0b0c0d858ded8a6a69abbce0c981"; } 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 "b4dcbce28f871a5e7ff4303d2b46d67c"; } 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 group_name\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, group_name); 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, group_name); 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(group_name); 00090 return size; 00091 } 00092 00093 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> > Ptr; 00094 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> const> ConstPtr; 00095 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00096 }; // struct ActionInfoRequest 00097 typedef ::pr2_object_manipulation_msgs::ActionInfoRequest_<std::allocator<void> > ActionInfoRequest; 00098 00099 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ActionInfoRequest> ActionInfoRequestPtr; 00100 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ActionInfoRequest const> ActionInfoRequestConstPtr; 00101 00102 00103 template <class ContainerAllocator> 00104 struct ActionInfoResponse_ { 00105 typedef ActionInfoResponse_<ContainerAllocator> Type; 00106 00107 ActionInfoResponse_() 00108 : services() 00109 { 00110 } 00111 00112 ActionInfoResponse_(const ContainerAllocator& _alloc) 00113 : services(_alloc) 00114 { 00115 } 00116 00117 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _services_type; 00118 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > services; 00119 00120 00121 ROS_DEPRECATED uint32_t get_services_size() const { return (uint32_t)services.size(); } 00122 ROS_DEPRECATED void set_services_size(uint32_t size) { services.resize((size_t)size); } 00123 ROS_DEPRECATED void get_services_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->services; } 00124 ROS_DEPRECATED void set_services_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->services = vec; } 00125 private: 00126 static const char* __s_getDataType_() { return "pr2_object_manipulation_msgs/ActionInfoResponse"; } 00127 public: 00128 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00129 00130 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00131 00132 private: 00133 static const char* __s_getMD5Sum_() { return "e44a7e7bcb900acadbcc28b132378f0c"; } 00134 public: 00135 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00136 00137 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00138 00139 private: 00140 static const char* __s_getServerMD5Sum_() { return "b4dcbce28f871a5e7ff4303d2b46d67c"; } 00141 public: 00142 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00143 00144 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00145 00146 private: 00147 static const char* __s_getMessageDefinition_() { return "string[] services\n\ 00148 \n\ 00149 \n\ 00150 "; } 00151 public: 00152 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00153 00154 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00155 00156 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00157 { 00158 ros::serialization::OStream stream(write_ptr, 1000000000); 00159 ros::serialization::serialize(stream, services); 00160 return stream.getData(); 00161 } 00162 00163 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00164 { 00165 ros::serialization::IStream stream(read_ptr, 1000000000); 00166 ros::serialization::deserialize(stream, services); 00167 return stream.getData(); 00168 } 00169 00170 ROS_DEPRECATED virtual uint32_t serializationLength() const 00171 { 00172 uint32_t size = 0; 00173 size += ros::serialization::serializationLength(services); 00174 return size; 00175 } 00176 00177 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> > Ptr; 00178 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> const> ConstPtr; 00179 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00180 }; // struct ActionInfoResponse 00181 typedef ::pr2_object_manipulation_msgs::ActionInfoResponse_<std::allocator<void> > ActionInfoResponse; 00182 00183 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ActionInfoResponse> ActionInfoResponsePtr; 00184 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ActionInfoResponse const> ActionInfoResponseConstPtr; 00185 00186 struct ActionInfo 00187 { 00188 00189 typedef ActionInfoRequest Request; 00190 typedef ActionInfoResponse Response; 00191 Request request; 00192 Response response; 00193 00194 typedef Request RequestType; 00195 typedef Response ResponseType; 00196 }; // struct ActionInfo 00197 } // namespace pr2_object_manipulation_msgs 00198 00199 namespace ros 00200 { 00201 namespace message_traits 00202 { 00203 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> > : public TrueType {}; 00204 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> const> : public TrueType {}; 00205 template<class ContainerAllocator> 00206 struct MD5Sum< ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> > { 00207 static const char* value() 00208 { 00209 return "967d0b0c0d858ded8a6a69abbce0c981"; 00210 } 00211 00212 static const char* value(const ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> &) { return value(); } 00213 static const uint64_t static_value1 = 0x967d0b0c0d858dedULL; 00214 static const uint64_t static_value2 = 0x8a6a69abbce0c981ULL; 00215 }; 00216 00217 template<class ContainerAllocator> 00218 struct DataType< ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> > { 00219 static const char* value() 00220 { 00221 return "pr2_object_manipulation_msgs/ActionInfoRequest"; 00222 } 00223 00224 static const char* value(const ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> &) { return value(); } 00225 }; 00226 00227 template<class ContainerAllocator> 00228 struct Definition< ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> > { 00229 static const char* value() 00230 { 00231 return "string group_name\n\ 00232 \n\ 00233 "; 00234 } 00235 00236 static const char* value(const ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> &) { return value(); } 00237 }; 00238 00239 } // namespace message_traits 00240 } // namespace ros 00241 00242 00243 namespace ros 00244 { 00245 namespace message_traits 00246 { 00247 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> > : public TrueType {}; 00248 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> const> : public TrueType {}; 00249 template<class ContainerAllocator> 00250 struct MD5Sum< ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> > { 00251 static const char* value() 00252 { 00253 return "e44a7e7bcb900acadbcc28b132378f0c"; 00254 } 00255 00256 static const char* value(const ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> &) { return value(); } 00257 static const uint64_t static_value1 = 0xe44a7e7bcb900acaULL; 00258 static const uint64_t static_value2 = 0xdbcc28b132378f0cULL; 00259 }; 00260 00261 template<class ContainerAllocator> 00262 struct DataType< ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> > { 00263 static const char* value() 00264 { 00265 return "pr2_object_manipulation_msgs/ActionInfoResponse"; 00266 } 00267 00268 static const char* value(const ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> &) { return value(); } 00269 }; 00270 00271 template<class ContainerAllocator> 00272 struct Definition< ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> > { 00273 static const char* value() 00274 { 00275 return "string[] services\n\ 00276 \n\ 00277 \n\ 00278 "; 00279 } 00280 00281 static const char* value(const ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> &) { return value(); } 00282 }; 00283 00284 } // namespace message_traits 00285 } // namespace ros 00286 00287 namespace ros 00288 { 00289 namespace serialization 00290 { 00291 00292 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> > 00293 { 00294 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00295 { 00296 stream.next(m.group_name); 00297 } 00298 00299 ROS_DECLARE_ALLINONE_SERIALIZER; 00300 }; // struct ActionInfoRequest_ 00301 } // namespace serialization 00302 } // namespace ros 00303 00304 00305 namespace ros 00306 { 00307 namespace serialization 00308 { 00309 00310 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> > 00311 { 00312 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00313 { 00314 stream.next(m.services); 00315 } 00316 00317 ROS_DECLARE_ALLINONE_SERIALIZER; 00318 }; // struct ActionInfoResponse_ 00319 } // namespace serialization 00320 } // namespace ros 00321 00322 namespace ros 00323 { 00324 namespace service_traits 00325 { 00326 template<> 00327 struct MD5Sum<pr2_object_manipulation_msgs::ActionInfo> { 00328 static const char* value() 00329 { 00330 return "b4dcbce28f871a5e7ff4303d2b46d67c"; 00331 } 00332 00333 static const char* value(const pr2_object_manipulation_msgs::ActionInfo&) { return value(); } 00334 }; 00335 00336 template<> 00337 struct DataType<pr2_object_manipulation_msgs::ActionInfo> { 00338 static const char* value() 00339 { 00340 return "pr2_object_manipulation_msgs/ActionInfo"; 00341 } 00342 00343 static const char* value(const pr2_object_manipulation_msgs::ActionInfo&) { return value(); } 00344 }; 00345 00346 template<class ContainerAllocator> 00347 struct MD5Sum<pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> > { 00348 static const char* value() 00349 { 00350 return "b4dcbce28f871a5e7ff4303d2b46d67c"; 00351 } 00352 00353 static const char* value(const pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> &) { return value(); } 00354 }; 00355 00356 template<class ContainerAllocator> 00357 struct DataType<pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> > { 00358 static const char* value() 00359 { 00360 return "pr2_object_manipulation_msgs/ActionInfo"; 00361 } 00362 00363 static const char* value(const pr2_object_manipulation_msgs::ActionInfoRequest_<ContainerAllocator> &) { return value(); } 00364 }; 00365 00366 template<class ContainerAllocator> 00367 struct MD5Sum<pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> > { 00368 static const char* value() 00369 { 00370 return "b4dcbce28f871a5e7ff4303d2b46d67c"; 00371 } 00372 00373 static const char* value(const pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> &) { return value(); } 00374 }; 00375 00376 template<class ContainerAllocator> 00377 struct DataType<pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> > { 00378 static const char* value() 00379 { 00380 return "pr2_object_manipulation_msgs/ActionInfo"; 00381 } 00382 00383 static const char* value(const pr2_object_manipulation_msgs::ActionInfoResponse_<ContainerAllocator> &) { return value(); } 00384 }; 00385 00386 } // namespace service_traits 00387 } // namespace ros 00388 00389 #endif // PR2_OBJECT_MANIPULATION_MSGS_SERVICE_ACTIONINFO_H 00390