Go to the documentation of this file.00001
00002 #ifndef PR2_MECHANISM_MSGS_SERVICE_LISTCONTROLLERS_H
00003 #define PR2_MECHANISM_MSGS_SERVICE_LISTCONTROLLERS_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 ListControllersRequest_ {
00026 typedef ListControllersRequest_<ContainerAllocator> Type;
00027
00028 ListControllersRequest_()
00029 {
00030 }
00031
00032 ListControllersRequest_(const ContainerAllocator& _alloc)
00033 {
00034 }
00035
00036
00037 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> > Ptr;
00038 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> const> ConstPtr;
00039 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00040 };
00041 typedef ::pr2_mechanism_msgs::ListControllersRequest_<std::allocator<void> > ListControllersRequest;
00042
00043 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ListControllersRequest> ListControllersRequestPtr;
00044 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ListControllersRequest const> ListControllersRequestConstPtr;
00045
00046
00047 template <class ContainerAllocator>
00048 struct ListControllersResponse_ {
00049 typedef ListControllersResponse_<ContainerAllocator> Type;
00050
00051 ListControllersResponse_()
00052 : controllers()
00053 , state()
00054 {
00055 }
00056
00057 ListControllersResponse_(const ContainerAllocator& _alloc)
00058 : controllers(_alloc)
00059 , state(_alloc)
00060 {
00061 }
00062
00063 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 > _controllers_type;
00064 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 > controllers;
00065
00066 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 > _state_type;
00067 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 > state;
00068
00069
00070 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> const> ConstPtr;
00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 };
00074 typedef ::pr2_mechanism_msgs::ListControllersResponse_<std::allocator<void> > ListControllersResponse;
00075
00076 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ListControllersResponse> ListControllersResponsePtr;
00077 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ListControllersResponse const> ListControllersResponseConstPtr;
00078
00079 struct ListControllers
00080 {
00081
00082 typedef ListControllersRequest Request;
00083 typedef ListControllersResponse Response;
00084 Request request;
00085 Response response;
00086
00087 typedef Request RequestType;
00088 typedef Response ResponseType;
00089 };
00090 }
00091
00092 namespace ros
00093 {
00094 namespace message_traits
00095 {
00096 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> > : public TrueType {};
00097 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> const> : public TrueType {};
00098 template<class ContainerAllocator>
00099 struct MD5Sum< ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> > {
00100 static const char* value()
00101 {
00102 return "d41d8cd98f00b204e9800998ecf8427e";
00103 }
00104
00105 static const char* value(const ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> &) { return value(); }
00106 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00107 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00108 };
00109
00110 template<class ContainerAllocator>
00111 struct DataType< ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "pr2_mechanism_msgs/ListControllersRequest";
00115 }
00116
00117 static const char* value(const ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct Definition< ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "\n\
00125 \n\
00126 \n\
00127 \n\
00128 \n\
00129 ";
00130 }
00131
00132 static const char* value(const ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator> struct IsFixedSize< ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> > : public TrueType {};
00136 }
00137 }
00138
00139
00140 namespace ros
00141 {
00142 namespace message_traits
00143 {
00144 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> > : public TrueType {};
00145 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> const> : public TrueType {};
00146 template<class ContainerAllocator>
00147 struct MD5Sum< ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> > {
00148 static const char* value()
00149 {
00150 return "39c8d39516aed5c7d76284ac06c220e5";
00151 }
00152
00153 static const char* value(const ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> &) { return value(); }
00154 static const uint64_t static_value1 = 0x39c8d39516aed5c7ULL;
00155 static const uint64_t static_value2 = 0xd76284ac06c220e5ULL;
00156 };
00157
00158 template<class ContainerAllocator>
00159 struct DataType< ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "pr2_mechanism_msgs/ListControllersResponse";
00163 }
00164
00165 static const char* value(const ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct Definition< ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "string[] controllers\n\
00173 string[] state\n\
00174 \n\
00175 ";
00176 }
00177
00178 static const char* value(const ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> &) { return value(); }
00179 };
00180
00181 }
00182 }
00183
00184 namespace ros
00185 {
00186 namespace serialization
00187 {
00188
00189 template<class ContainerAllocator> struct Serializer< ::pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> >
00190 {
00191 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00192 {
00193 }
00194
00195 ROS_DECLARE_ALLINONE_SERIALIZER;
00196 };
00197 }
00198 }
00199
00200
00201 namespace ros
00202 {
00203 namespace serialization
00204 {
00205
00206 template<class ContainerAllocator> struct Serializer< ::pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> >
00207 {
00208 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00209 {
00210 stream.next(m.controllers);
00211 stream.next(m.state);
00212 }
00213
00214 ROS_DECLARE_ALLINONE_SERIALIZER;
00215 };
00216 }
00217 }
00218
00219 namespace ros
00220 {
00221 namespace service_traits
00222 {
00223 template<>
00224 struct MD5Sum<pr2_mechanism_msgs::ListControllers> {
00225 static const char* value()
00226 {
00227 return "39c8d39516aed5c7d76284ac06c220e5";
00228 }
00229
00230 static const char* value(const pr2_mechanism_msgs::ListControllers&) { return value(); }
00231 };
00232
00233 template<>
00234 struct DataType<pr2_mechanism_msgs::ListControllers> {
00235 static const char* value()
00236 {
00237 return "pr2_mechanism_msgs/ListControllers";
00238 }
00239
00240 static const char* value(const pr2_mechanism_msgs::ListControllers&) { return value(); }
00241 };
00242
00243 template<class ContainerAllocator>
00244 struct MD5Sum<pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> > {
00245 static const char* value()
00246 {
00247 return "39c8d39516aed5c7d76284ac06c220e5";
00248 }
00249
00250 static const char* value(const pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> &) { return value(); }
00251 };
00252
00253 template<class ContainerAllocator>
00254 struct DataType<pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> > {
00255 static const char* value()
00256 {
00257 return "pr2_mechanism_msgs/ListControllers";
00258 }
00259
00260 static const char* value(const pr2_mechanism_msgs::ListControllersRequest_<ContainerAllocator> &) { return value(); }
00261 };
00262
00263 template<class ContainerAllocator>
00264 struct MD5Sum<pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> > {
00265 static const char* value()
00266 {
00267 return "39c8d39516aed5c7d76284ac06c220e5";
00268 }
00269
00270 static const char* value(const pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> &) { return value(); }
00271 };
00272
00273 template<class ContainerAllocator>
00274 struct DataType<pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> > {
00275 static const char* value()
00276 {
00277 return "pr2_mechanism_msgs/ListControllers";
00278 }
00279
00280 static const char* value(const pr2_mechanism_msgs::ListControllersResponse_<ContainerAllocator> &) { return value(); }
00281 };
00282
00283 }
00284 }
00285
00286 #endif // PR2_MECHANISM_MSGS_SERVICE_LISTCONTROLLERS_H
00287