00001
00002 #ifndef PR2_MECHANISM_MSGS_SERVICE_RELOADCONTROLLERLIBRARIES_H
00003 #define PR2_MECHANISM_MSGS_SERVICE_RELOADCONTROLLERLIBRARIES_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 ReloadControllerLibrariesRequest_ : public ros::Message
00022 {
00023 typedef ReloadControllerLibrariesRequest_<ContainerAllocator> Type;
00024
00025 ReloadControllerLibrariesRequest_()
00026 : force_kill(false)
00027 {
00028 }
00029
00030 ReloadControllerLibrariesRequest_(const ContainerAllocator& _alloc)
00031 : force_kill(false)
00032 {
00033 }
00034
00035 typedef uint8_t _force_kill_type;
00036 uint8_t force_kill;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "pr2_mechanism_msgs/ReloadControllerLibrariesRequest"; }
00041 public:
00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00043
00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00045
00046 private:
00047 static const char* __s_getMD5Sum_() { return "18442b59be9479097f11c543bddbac62"; }
00048 public:
00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00050
00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00052
00053 private:
00054 static const char* __s_getServerMD5Sum_() { return "40e8c411fd1797d2e2c486018f846040"; }
00055 public:
00056 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00057
00058 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00059
00060 private:
00061 static const char* __s_getMessageDefinition_() { return "\n\
00062 \n\
00063 \n\
00064 \n\
00065 \n\
00066 \n\
00067 \n\
00068 \n\
00069 bool force_kill\n\
00070 \n\
00071 "; }
00072 public:
00073 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00074
00075 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00076
00077 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00078 {
00079 ros::serialization::OStream stream(write_ptr, 1000000000);
00080 ros::serialization::serialize(stream, force_kill);
00081 return stream.getData();
00082 }
00083
00084 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00085 {
00086 ros::serialization::IStream stream(read_ptr, 1000000000);
00087 ros::serialization::deserialize(stream, force_kill);
00088 return stream.getData();
00089 }
00090
00091 ROS_DEPRECATED virtual uint32_t serializationLength() const
00092 {
00093 uint32_t size = 0;
00094 size += ros::serialization::serializationLength(force_kill);
00095 return size;
00096 }
00097
00098 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > Ptr;
00099 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> const> ConstPtr;
00100 };
00101 typedef ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<std::allocator<void> > ReloadControllerLibrariesRequest;
00102
00103 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest> ReloadControllerLibrariesRequestPtr;
00104 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest const> ReloadControllerLibrariesRequestConstPtr;
00105
00106
00107 template <class ContainerAllocator>
00108 struct ReloadControllerLibrariesResponse_ : public ros::Message
00109 {
00110 typedef ReloadControllerLibrariesResponse_<ContainerAllocator> Type;
00111
00112 ReloadControllerLibrariesResponse_()
00113 : ok(false)
00114 {
00115 }
00116
00117 ReloadControllerLibrariesResponse_(const ContainerAllocator& _alloc)
00118 : ok(false)
00119 {
00120 }
00121
00122 typedef uint8_t _ok_type;
00123 uint8_t ok;
00124
00125
00126 private:
00127 static const char* __s_getDataType_() { return "pr2_mechanism_msgs/ReloadControllerLibrariesResponse"; }
00128 public:
00129 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00130
00131 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00132
00133 private:
00134 static const char* __s_getMD5Sum_() { return "6f6da3883749771fac40d6deb24a8c02"; }
00135 public:
00136 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00137
00138 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00139
00140 private:
00141 static const char* __s_getServerMD5Sum_() { return "40e8c411fd1797d2e2c486018f846040"; }
00142 public:
00143 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00144
00145 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00146
00147 private:
00148 static const char* __s_getMessageDefinition_() { return "bool ok\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, ok);
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, ok);
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(ok);
00174 return size;
00175 }
00176
00177 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > Ptr;
00178 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> const> ConstPtr;
00179 };
00180 typedef ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<std::allocator<void> > ReloadControllerLibrariesResponse;
00181
00182 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse> ReloadControllerLibrariesResponsePtr;
00183 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse const> ReloadControllerLibrariesResponseConstPtr;
00184
00185 struct ReloadControllerLibraries
00186 {
00187
00188 typedef ReloadControllerLibrariesRequest Request;
00189 typedef ReloadControllerLibrariesResponse Response;
00190 Request request;
00191 Response response;
00192
00193 typedef Request RequestType;
00194 typedef Response ResponseType;
00195 };
00196 }
00197
00198 namespace ros
00199 {
00200 namespace message_traits
00201 {
00202 template<class ContainerAllocator>
00203 struct MD5Sum< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > {
00204 static const char* value()
00205 {
00206 return "18442b59be9479097f11c543bddbac62";
00207 }
00208
00209 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> &) { return value(); }
00210 static const uint64_t static_value1 = 0x18442b59be947909ULL;
00211 static const uint64_t static_value2 = 0x7f11c543bddbac62ULL;
00212 };
00213
00214 template<class ContainerAllocator>
00215 struct DataType< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > {
00216 static const char* value()
00217 {
00218 return "pr2_mechanism_msgs/ReloadControllerLibrariesRequest";
00219 }
00220
00221 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> &) { return value(); }
00222 };
00223
00224 template<class ContainerAllocator>
00225 struct Definition< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > {
00226 static const char* value()
00227 {
00228 return "\n\
00229 \n\
00230 \n\
00231 \n\
00232 \n\
00233 \n\
00234 \n\
00235 \n\
00236 bool force_kill\n\
00237 \n\
00238 ";
00239 }
00240
00241 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> &) { return value(); }
00242 };
00243
00244 template<class ContainerAllocator> struct IsFixedSize< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > : public TrueType {};
00245 }
00246 }
00247
00248
00249 namespace ros
00250 {
00251 namespace message_traits
00252 {
00253 template<class ContainerAllocator>
00254 struct MD5Sum< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > {
00255 static const char* value()
00256 {
00257 return "6f6da3883749771fac40d6deb24a8c02";
00258 }
00259
00260 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> &) { return value(); }
00261 static const uint64_t static_value1 = 0x6f6da3883749771fULL;
00262 static const uint64_t static_value2 = 0xac40d6deb24a8c02ULL;
00263 };
00264
00265 template<class ContainerAllocator>
00266 struct DataType< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > {
00267 static const char* value()
00268 {
00269 return "pr2_mechanism_msgs/ReloadControllerLibrariesResponse";
00270 }
00271
00272 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> &) { return value(); }
00273 };
00274
00275 template<class ContainerAllocator>
00276 struct Definition< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > {
00277 static const char* value()
00278 {
00279 return "bool ok\n\
00280 \n\
00281 ";
00282 }
00283
00284 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> &) { return value(); }
00285 };
00286
00287 template<class ContainerAllocator> struct IsFixedSize< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > : public TrueType {};
00288 }
00289 }
00290
00291 namespace ros
00292 {
00293 namespace serialization
00294 {
00295
00296 template<class ContainerAllocator> struct Serializer< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> >
00297 {
00298 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00299 {
00300 stream.next(m.force_kill);
00301 }
00302
00303 ROS_DECLARE_ALLINONE_SERIALIZER;
00304 };
00305 }
00306 }
00307
00308
00309 namespace ros
00310 {
00311 namespace serialization
00312 {
00313
00314 template<class ContainerAllocator> struct Serializer< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> >
00315 {
00316 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00317 {
00318 stream.next(m.ok);
00319 }
00320
00321 ROS_DECLARE_ALLINONE_SERIALIZER;
00322 };
00323 }
00324 }
00325
00326 namespace ros
00327 {
00328 namespace service_traits
00329 {
00330 template<>
00331 struct MD5Sum<pr2_mechanism_msgs::ReloadControllerLibraries> {
00332 static const char* value()
00333 {
00334 return "40e8c411fd1797d2e2c486018f846040";
00335 }
00336
00337 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibraries&) { return value(); }
00338 };
00339
00340 template<>
00341 struct DataType<pr2_mechanism_msgs::ReloadControllerLibraries> {
00342 static const char* value()
00343 {
00344 return "pr2_mechanism_msgs/ReloadControllerLibraries";
00345 }
00346
00347 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibraries&) { return value(); }
00348 };
00349
00350 template<class ContainerAllocator>
00351 struct MD5Sum<pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > {
00352 static const char* value()
00353 {
00354 return "40e8c411fd1797d2e2c486018f846040";
00355 }
00356
00357 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> &) { return value(); }
00358 };
00359
00360 template<class ContainerAllocator>
00361 struct DataType<pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > {
00362 static const char* value()
00363 {
00364 return "pr2_mechanism_msgs/ReloadControllerLibraries";
00365 }
00366
00367 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> &) { return value(); }
00368 };
00369
00370 template<class ContainerAllocator>
00371 struct MD5Sum<pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > {
00372 static const char* value()
00373 {
00374 return "40e8c411fd1797d2e2c486018f846040";
00375 }
00376
00377 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> &) { return value(); }
00378 };
00379
00380 template<class ContainerAllocator>
00381 struct DataType<pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > {
00382 static const char* value()
00383 {
00384 return "pr2_mechanism_msgs/ReloadControllerLibraries";
00385 }
00386
00387 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> &) { return value(); }
00388 };
00389
00390 }
00391 }
00392
00393 #endif // PR2_MECHANISM_MSGS_SERVICE_RELOADCONTROLLERLIBRARIES_H
00394