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