$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/InstallApp.srv */ 00002 #ifndef APP_MANAGER_SERVICE_INSTALLAPP_H 00003 #define APP_MANAGER_SERVICE_INSTALLAPP_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 InstallAppRequest_ { 00026 typedef InstallAppRequest_<ContainerAllocator> Type; 00027 00028 InstallAppRequest_() 00029 : name() 00030 { 00031 } 00032 00033 InstallAppRequest_(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/InstallAppRequest"; } 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 "244a230f15ee33d3fe16b523058ae43f"; } 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::InstallAppRequest_<ContainerAllocator> > Ptr; 00095 typedef boost::shared_ptr< ::app_manager::InstallAppRequest_<ContainerAllocator> const> ConstPtr; 00096 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00097 }; // struct InstallAppRequest 00098 typedef ::app_manager::InstallAppRequest_<std::allocator<void> > InstallAppRequest; 00099 00100 typedef boost::shared_ptr< ::app_manager::InstallAppRequest> InstallAppRequestPtr; 00101 typedef boost::shared_ptr< ::app_manager::InstallAppRequest const> InstallAppRequestConstPtr; 00102 00103 00104 template <class ContainerAllocator> 00105 struct InstallAppResponse_ { 00106 typedef InstallAppResponse_<ContainerAllocator> Type; 00107 00108 InstallAppResponse_() 00109 : installed(false) 00110 , message() 00111 { 00112 } 00113 00114 InstallAppResponse_(const ContainerAllocator& _alloc) 00115 : installed(false) 00116 , message(_alloc) 00117 { 00118 } 00119 00120 typedef uint8_t _installed_type; 00121 uint8_t installed; 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/InstallAppResponse"; } 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 "08871bc6dbc6813537edf236ff26a1e2"; } 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 "244a230f15ee33d3fe16b523058ae43f"; } 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 installed\n\ 00151 \n\ 00152 string message\n\ 00153 \n\ 00154 \n\ 00155 \n\ 00156 "; } 00157 public: 00158 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00159 00160 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00161 00162 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00163 { 00164 ros::serialization::OStream stream(write_ptr, 1000000000); 00165 ros::serialization::serialize(stream, installed); 00166 ros::serialization::serialize(stream, message); 00167 return stream.getData(); 00168 } 00169 00170 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00171 { 00172 ros::serialization::IStream stream(read_ptr, 1000000000); 00173 ros::serialization::deserialize(stream, installed); 00174 ros::serialization::deserialize(stream, message); 00175 return stream.getData(); 00176 } 00177 00178 ROS_DEPRECATED virtual uint32_t serializationLength() const 00179 { 00180 uint32_t size = 0; 00181 size += ros::serialization::serializationLength(installed); 00182 size += ros::serialization::serializationLength(message); 00183 return size; 00184 } 00185 00186 typedef boost::shared_ptr< ::app_manager::InstallAppResponse_<ContainerAllocator> > Ptr; 00187 typedef boost::shared_ptr< ::app_manager::InstallAppResponse_<ContainerAllocator> const> ConstPtr; 00188 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00189 }; // struct InstallAppResponse 00190 typedef ::app_manager::InstallAppResponse_<std::allocator<void> > InstallAppResponse; 00191 00192 typedef boost::shared_ptr< ::app_manager::InstallAppResponse> InstallAppResponsePtr; 00193 typedef boost::shared_ptr< ::app_manager::InstallAppResponse const> InstallAppResponseConstPtr; 00194 00195 struct InstallApp 00196 { 00197 00198 typedef InstallAppRequest Request; 00199 typedef InstallAppResponse Response; 00200 Request request; 00201 Response response; 00202 00203 typedef Request RequestType; 00204 typedef Response ResponseType; 00205 }; // struct InstallApp 00206 } // namespace app_manager 00207 00208 namespace ros 00209 { 00210 namespace message_traits 00211 { 00212 template<class ContainerAllocator> struct IsMessage< ::app_manager::InstallAppRequest_<ContainerAllocator> > : public TrueType {}; 00213 template<class ContainerAllocator> struct IsMessage< ::app_manager::InstallAppRequest_<ContainerAllocator> const> : public TrueType {}; 00214 template<class ContainerAllocator> 00215 struct MD5Sum< ::app_manager::InstallAppRequest_<ContainerAllocator> > { 00216 static const char* value() 00217 { 00218 return "c1f3d28f1b044c871e6eff2e9fc3c667"; 00219 } 00220 00221 static const char* value(const ::app_manager::InstallAppRequest_<ContainerAllocator> &) { return value(); } 00222 static const uint64_t static_value1 = 0xc1f3d28f1b044c87ULL; 00223 static const uint64_t static_value2 = 0x1e6eff2e9fc3c667ULL; 00224 }; 00225 00226 template<class ContainerAllocator> 00227 struct DataType< ::app_manager::InstallAppRequest_<ContainerAllocator> > { 00228 static const char* value() 00229 { 00230 return "app_manager/InstallAppRequest"; 00231 } 00232 00233 static const char* value(const ::app_manager::InstallAppRequest_<ContainerAllocator> &) { return value(); } 00234 }; 00235 00236 template<class ContainerAllocator> 00237 struct Definition< ::app_manager::InstallAppRequest_<ContainerAllocator> > { 00238 static const char* value() 00239 { 00240 return "\n\ 00241 string name\n\ 00242 \n\ 00243 "; 00244 } 00245 00246 static const char* value(const ::app_manager::InstallAppRequest_<ContainerAllocator> &) { return value(); } 00247 }; 00248 00249 } // namespace message_traits 00250 } // namespace ros 00251 00252 00253 namespace ros 00254 { 00255 namespace message_traits 00256 { 00257 template<class ContainerAllocator> struct IsMessage< ::app_manager::InstallAppResponse_<ContainerAllocator> > : public TrueType {}; 00258 template<class ContainerAllocator> struct IsMessage< ::app_manager::InstallAppResponse_<ContainerAllocator> const> : public TrueType {}; 00259 template<class ContainerAllocator> 00260 struct MD5Sum< ::app_manager::InstallAppResponse_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "08871bc6dbc6813537edf236ff26a1e2"; 00264 } 00265 00266 static const char* value(const ::app_manager::InstallAppResponse_<ContainerAllocator> &) { return value(); } 00267 static const uint64_t static_value1 = 0x08871bc6dbc68135ULL; 00268 static const uint64_t static_value2 = 0x37edf236ff26a1e2ULL; 00269 }; 00270 00271 template<class ContainerAllocator> 00272 struct DataType< ::app_manager::InstallAppResponse_<ContainerAllocator> > { 00273 static const char* value() 00274 { 00275 return "app_manager/InstallAppResponse"; 00276 } 00277 00278 static const char* value(const ::app_manager::InstallAppResponse_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 template<class ContainerAllocator> 00282 struct Definition< ::app_manager::InstallAppResponse_<ContainerAllocator> > { 00283 static const char* value() 00284 { 00285 return "\n\ 00286 bool installed\n\ 00287 \n\ 00288 string message\n\ 00289 \n\ 00290 \n\ 00291 \n\ 00292 "; 00293 } 00294 00295 static const char* value(const ::app_manager::InstallAppResponse_<ContainerAllocator> &) { return value(); } 00296 }; 00297 00298 } // namespace message_traits 00299 } // namespace ros 00300 00301 namespace ros 00302 { 00303 namespace serialization 00304 { 00305 00306 template<class ContainerAllocator> struct Serializer< ::app_manager::InstallAppRequest_<ContainerAllocator> > 00307 { 00308 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00309 { 00310 stream.next(m.name); 00311 } 00312 00313 ROS_DECLARE_ALLINONE_SERIALIZER; 00314 }; // struct InstallAppRequest_ 00315 } // namespace serialization 00316 } // namespace ros 00317 00318 00319 namespace ros 00320 { 00321 namespace serialization 00322 { 00323 00324 template<class ContainerAllocator> struct Serializer< ::app_manager::InstallAppResponse_<ContainerAllocator> > 00325 { 00326 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00327 { 00328 stream.next(m.installed); 00329 stream.next(m.message); 00330 } 00331 00332 ROS_DECLARE_ALLINONE_SERIALIZER; 00333 }; // struct InstallAppResponse_ 00334 } // namespace serialization 00335 } // namespace ros 00336 00337 namespace ros 00338 { 00339 namespace service_traits 00340 { 00341 template<> 00342 struct MD5Sum<app_manager::InstallApp> { 00343 static const char* value() 00344 { 00345 return "244a230f15ee33d3fe16b523058ae43f"; 00346 } 00347 00348 static const char* value(const app_manager::InstallApp&) { return value(); } 00349 }; 00350 00351 template<> 00352 struct DataType<app_manager::InstallApp> { 00353 static const char* value() 00354 { 00355 return "app_manager/InstallApp"; 00356 } 00357 00358 static const char* value(const app_manager::InstallApp&) { return value(); } 00359 }; 00360 00361 template<class ContainerAllocator> 00362 struct MD5Sum<app_manager::InstallAppRequest_<ContainerAllocator> > { 00363 static const char* value() 00364 { 00365 return "244a230f15ee33d3fe16b523058ae43f"; 00366 } 00367 00368 static const char* value(const app_manager::InstallAppRequest_<ContainerAllocator> &) { return value(); } 00369 }; 00370 00371 template<class ContainerAllocator> 00372 struct DataType<app_manager::InstallAppRequest_<ContainerAllocator> > { 00373 static const char* value() 00374 { 00375 return "app_manager/InstallApp"; 00376 } 00377 00378 static const char* value(const app_manager::InstallAppRequest_<ContainerAllocator> &) { return value(); } 00379 }; 00380 00381 template<class ContainerAllocator> 00382 struct MD5Sum<app_manager::InstallAppResponse_<ContainerAllocator> > { 00383 static const char* value() 00384 { 00385 return "244a230f15ee33d3fe16b523058ae43f"; 00386 } 00387 00388 static const char* value(const app_manager::InstallAppResponse_<ContainerAllocator> &) { return value(); } 00389 }; 00390 00391 template<class ContainerAllocator> 00392 struct DataType<app_manager::InstallAppResponse_<ContainerAllocator> > { 00393 static const char* value() 00394 { 00395 return "app_manager/InstallApp"; 00396 } 00397 00398 static const char* value(const app_manager::InstallAppResponse_<ContainerAllocator> &) { return value(); } 00399 }; 00400 00401 } // namespace service_traits 00402 } // namespace ros 00403 00404 #endif // APP_MANAGER_SERVICE_INSTALLAPP_H 00405