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