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