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