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