00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_mechanism/doc_stacks/2012-11-19_16-35-59.263340/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 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > Ptr; 00043 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> const> ConstPtr; 00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00045 }; // struct ReloadControllerLibrariesRequest 00046 typedef ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<std::allocator<void> > ReloadControllerLibrariesRequest; 00047 00048 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest> ReloadControllerLibrariesRequestPtr; 00049 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest const> ReloadControllerLibrariesRequestConstPtr; 00050 00051 00052 template <class ContainerAllocator> 00053 struct ReloadControllerLibrariesResponse_ { 00054 typedef ReloadControllerLibrariesResponse_<ContainerAllocator> Type; 00055 00056 ReloadControllerLibrariesResponse_() 00057 : ok(false) 00058 { 00059 } 00060 00061 ReloadControllerLibrariesResponse_(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::ReloadControllerLibrariesResponse_<ContainerAllocator> > Ptr; 00071 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> const> ConstPtr; 00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00073 }; // struct ReloadControllerLibrariesResponse 00074 typedef ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<std::allocator<void> > ReloadControllerLibrariesResponse; 00075 00076 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse> ReloadControllerLibrariesResponsePtr; 00077 typedef boost::shared_ptr< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse const> ReloadControllerLibrariesResponseConstPtr; 00078 00079 struct ReloadControllerLibraries 00080 { 00081 00082 typedef ReloadControllerLibrariesRequest Request; 00083 typedef ReloadControllerLibrariesResponse Response; 00084 Request request; 00085 Response response; 00086 00087 typedef Request RequestType; 00088 typedef Response ResponseType; 00089 }; // struct ReloadControllerLibraries 00090 } // namespace pr2_mechanism_msgs 00091 00092 namespace ros 00093 { 00094 namespace message_traits 00095 { 00096 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > : public TrueType {}; 00097 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> const> : public TrueType {}; 00098 template<class ContainerAllocator> 00099 struct MD5Sum< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > { 00100 static const char* value() 00101 { 00102 return "18442b59be9479097f11c543bddbac62"; 00103 } 00104 00105 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> &) { return value(); } 00106 static const uint64_t static_value1 = 0x18442b59be947909ULL; 00107 static const uint64_t static_value2 = 0x7f11c543bddbac62ULL; 00108 }; 00109 00110 template<class ContainerAllocator> 00111 struct DataType< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > { 00112 static const char* value() 00113 { 00114 return "pr2_mechanism_msgs/ReloadControllerLibrariesRequest"; 00115 } 00116 00117 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> &) { return value(); } 00118 }; 00119 00120 template<class ContainerAllocator> 00121 struct Definition< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<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 bool force_kill\n\ 00133 \n\ 00134 "; 00135 } 00136 00137 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> &) { return value(); } 00138 }; 00139 00140 template<class ContainerAllocator> struct IsFixedSize< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > : public TrueType {}; 00141 } // namespace message_traits 00142 } // namespace ros 00143 00144 00145 namespace ros 00146 { 00147 namespace message_traits 00148 { 00149 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > : public TrueType {}; 00150 template<class ContainerAllocator> struct IsMessage< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> const> : public TrueType {}; 00151 template<class ContainerAllocator> 00152 struct MD5Sum< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > { 00153 static const char* value() 00154 { 00155 return "6f6da3883749771fac40d6deb24a8c02"; 00156 } 00157 00158 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> &) { return value(); } 00159 static const uint64_t static_value1 = 0x6f6da3883749771fULL; 00160 static const uint64_t static_value2 = 0xac40d6deb24a8c02ULL; 00161 }; 00162 00163 template<class ContainerAllocator> 00164 struct DataType< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > { 00165 static const char* value() 00166 { 00167 return "pr2_mechanism_msgs/ReloadControllerLibrariesResponse"; 00168 } 00169 00170 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> &) { return value(); } 00171 }; 00172 00173 template<class ContainerAllocator> 00174 struct Definition< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > { 00175 static const char* value() 00176 { 00177 return "bool ok\n\ 00178 \n\ 00179 "; 00180 } 00181 00182 static const char* value(const ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> &) { return value(); } 00183 }; 00184 00185 template<class ContainerAllocator> struct IsFixedSize< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > : public TrueType {}; 00186 } // namespace message_traits 00187 } // namespace ros 00188 00189 namespace ros 00190 { 00191 namespace serialization 00192 { 00193 00194 template<class ContainerAllocator> struct Serializer< ::pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > 00195 { 00196 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00197 { 00198 stream.next(m.force_kill); 00199 } 00200 00201 ROS_DECLARE_ALLINONE_SERIALIZER; 00202 }; // struct ReloadControllerLibrariesRequest_ 00203 } // namespace serialization 00204 } // namespace ros 00205 00206 00207 namespace ros 00208 { 00209 namespace serialization 00210 { 00211 00212 template<class ContainerAllocator> struct Serializer< ::pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > 00213 { 00214 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00215 { 00216 stream.next(m.ok); 00217 } 00218 00219 ROS_DECLARE_ALLINONE_SERIALIZER; 00220 }; // struct ReloadControllerLibrariesResponse_ 00221 } // namespace serialization 00222 } // namespace ros 00223 00224 namespace ros 00225 { 00226 namespace service_traits 00227 { 00228 template<> 00229 struct MD5Sum<pr2_mechanism_msgs::ReloadControllerLibraries> { 00230 static const char* value() 00231 { 00232 return "40e8c411fd1797d2e2c486018f846040"; 00233 } 00234 00235 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibraries&) { return value(); } 00236 }; 00237 00238 template<> 00239 struct DataType<pr2_mechanism_msgs::ReloadControllerLibraries> { 00240 static const char* value() 00241 { 00242 return "pr2_mechanism_msgs/ReloadControllerLibraries"; 00243 } 00244 00245 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibraries&) { return value(); } 00246 }; 00247 00248 template<class ContainerAllocator> 00249 struct MD5Sum<pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > { 00250 static const char* value() 00251 { 00252 return "40e8c411fd1797d2e2c486018f846040"; 00253 } 00254 00255 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> &) { return value(); } 00256 }; 00257 00258 template<class ContainerAllocator> 00259 struct DataType<pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> > { 00260 static const char* value() 00261 { 00262 return "pr2_mechanism_msgs/ReloadControllerLibraries"; 00263 } 00264 00265 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibrariesRequest_<ContainerAllocator> &) { return value(); } 00266 }; 00267 00268 template<class ContainerAllocator> 00269 struct MD5Sum<pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > { 00270 static const char* value() 00271 { 00272 return "40e8c411fd1797d2e2c486018f846040"; 00273 } 00274 00275 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> &) { return value(); } 00276 }; 00277 00278 template<class ContainerAllocator> 00279 struct DataType<pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> > { 00280 static const char* value() 00281 { 00282 return "pr2_mechanism_msgs/ReloadControllerLibraries"; 00283 } 00284 00285 static const char* value(const pr2_mechanism_msgs::ReloadControllerLibrariesResponse_<ContainerAllocator> &) { return value(); } 00286 }; 00287 00288 } // namespace service_traits 00289 } // namespace ros 00290 00291 #endif // PR2_MECHANISM_MSGS_SERVICE_RELOADCONTROLLERLIBRARIES_H 00292