$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/GetAppDetails.srv */ 00002 #ifndef APP_MANAGER_SERVICE_GETAPPDETAILS_H 00003 #define APP_MANAGER_SERVICE_GETAPPDETAILS_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 #include "app_manager/ExchangeApp.h" 00022 00023 namespace app_manager 00024 { 00025 template <class ContainerAllocator> 00026 struct GetAppDetailsRequest_ { 00027 typedef GetAppDetailsRequest_<ContainerAllocator> Type; 00028 00029 GetAppDetailsRequest_() 00030 : name() 00031 { 00032 } 00033 00034 GetAppDetailsRequest_(const ContainerAllocator& _alloc) 00035 : name(_alloc) 00036 { 00037 } 00038 00039 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type; 00040 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "app_manager/GetAppDetailsRequest"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "c1f3d28f1b044c871e6eff2e9fc3c667"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getServerMD5Sum_() { return "982707be65dd9bb38c19f6e18cb18db5"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "\n\ 00066 string name\n\ 00067 \n\ 00068 "; } 00069 public: 00070 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00071 00072 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00073 00074 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00075 { 00076 ros::serialization::OStream stream(write_ptr, 1000000000); 00077 ros::serialization::serialize(stream, name); 00078 return stream.getData(); 00079 } 00080 00081 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00082 { 00083 ros::serialization::IStream stream(read_ptr, 1000000000); 00084 ros::serialization::deserialize(stream, name); 00085 return stream.getData(); 00086 } 00087 00088 ROS_DEPRECATED virtual uint32_t serializationLength() const 00089 { 00090 uint32_t size = 0; 00091 size += ros::serialization::serializationLength(name); 00092 return size; 00093 } 00094 00095 typedef boost::shared_ptr< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > Ptr; 00096 typedef boost::shared_ptr< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> const> ConstPtr; 00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00098 }; // struct GetAppDetailsRequest 00099 typedef ::app_manager::GetAppDetailsRequest_<std::allocator<void> > GetAppDetailsRequest; 00100 00101 typedef boost::shared_ptr< ::app_manager::GetAppDetailsRequest> GetAppDetailsRequestPtr; 00102 typedef boost::shared_ptr< ::app_manager::GetAppDetailsRequest const> GetAppDetailsRequestConstPtr; 00103 00104 00105 template <class ContainerAllocator> 00106 struct GetAppDetailsResponse_ { 00107 typedef GetAppDetailsResponse_<ContainerAllocator> Type; 00108 00109 GetAppDetailsResponse_() 00110 : app() 00111 { 00112 } 00113 00114 GetAppDetailsResponse_(const ContainerAllocator& _alloc) 00115 : app(_alloc) 00116 { 00117 } 00118 00119 typedef ::app_manager::ExchangeApp_<ContainerAllocator> _app_type; 00120 ::app_manager::ExchangeApp_<ContainerAllocator> app; 00121 00122 00123 private: 00124 static const char* __s_getDataType_() { return "app_manager/GetAppDetailsResponse"; } 00125 public: 00126 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00127 00128 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00129 00130 private: 00131 static const char* __s_getMD5Sum_() { return "404cd76612a719d24ac22fba2d495de8"; } 00132 public: 00133 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00134 00135 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00136 00137 private: 00138 static const char* __s_getServerMD5Sum_() { return "982707be65dd9bb38c19f6e18cb18db5"; } 00139 public: 00140 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00141 00142 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00143 00144 private: 00145 static const char* __s_getMessageDefinition_() { return "ExchangeApp app\n\ 00146 \n\ 00147 \n\ 00148 \n\ 00149 ================================================================================\n\ 00150 MSG: app_manager/ExchangeApp\n\ 00151 # app name\n\ 00152 string name\n\ 00153 # user-friendly display name of application\n\ 00154 string display_name\n\ 00155 # the version of the package currently installed\n\ 00156 string version\n\ 00157 # latest version of the package avaliable\n\ 00158 string latest_version\n\ 00159 # the detailed description of the app\n\ 00160 string description\n\ 00161 # icon for showing app\n\ 00162 Icon icon\n\ 00163 # hidden apps are not show - used for cases where multiple apps are in a deb\n\ 00164 bool hidden\n\ 00165 ================================================================================\n\ 00166 MSG: app_manager/Icon\n\ 00167 # Image data format. \"jpeg\" or \"png\"\n\ 00168 string format\n\ 00169 \n\ 00170 # Image data.\n\ 00171 uint8[] data\n\ 00172 \n\ 00173 "; } 00174 public: 00175 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00176 00177 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00178 00179 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00180 { 00181 ros::serialization::OStream stream(write_ptr, 1000000000); 00182 ros::serialization::serialize(stream, app); 00183 return stream.getData(); 00184 } 00185 00186 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00187 { 00188 ros::serialization::IStream stream(read_ptr, 1000000000); 00189 ros::serialization::deserialize(stream, app); 00190 return stream.getData(); 00191 } 00192 00193 ROS_DEPRECATED virtual uint32_t serializationLength() const 00194 { 00195 uint32_t size = 0; 00196 size += ros::serialization::serializationLength(app); 00197 return size; 00198 } 00199 00200 typedef boost::shared_ptr< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > Ptr; 00201 typedef boost::shared_ptr< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> const> ConstPtr; 00202 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00203 }; // struct GetAppDetailsResponse 00204 typedef ::app_manager::GetAppDetailsResponse_<std::allocator<void> > GetAppDetailsResponse; 00205 00206 typedef boost::shared_ptr< ::app_manager::GetAppDetailsResponse> GetAppDetailsResponsePtr; 00207 typedef boost::shared_ptr< ::app_manager::GetAppDetailsResponse const> GetAppDetailsResponseConstPtr; 00208 00209 struct GetAppDetails 00210 { 00211 00212 typedef GetAppDetailsRequest Request; 00213 typedef GetAppDetailsResponse Response; 00214 Request request; 00215 Response response; 00216 00217 typedef Request RequestType; 00218 typedef Response ResponseType; 00219 }; // struct GetAppDetails 00220 } // namespace app_manager 00221 00222 namespace ros 00223 { 00224 namespace message_traits 00225 { 00226 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > : public TrueType {}; 00227 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> const> : public TrueType {}; 00228 template<class ContainerAllocator> 00229 struct MD5Sum< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > { 00230 static const char* value() 00231 { 00232 return "c1f3d28f1b044c871e6eff2e9fc3c667"; 00233 } 00234 00235 static const char* value(const ::app_manager::GetAppDetailsRequest_<ContainerAllocator> &) { return value(); } 00236 static const uint64_t static_value1 = 0xc1f3d28f1b044c87ULL; 00237 static const uint64_t static_value2 = 0x1e6eff2e9fc3c667ULL; 00238 }; 00239 00240 template<class ContainerAllocator> 00241 struct DataType< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > { 00242 static const char* value() 00243 { 00244 return "app_manager/GetAppDetailsRequest"; 00245 } 00246 00247 static const char* value(const ::app_manager::GetAppDetailsRequest_<ContainerAllocator> &) { return value(); } 00248 }; 00249 00250 template<class ContainerAllocator> 00251 struct Definition< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > { 00252 static const char* value() 00253 { 00254 return "\n\ 00255 string name\n\ 00256 \n\ 00257 "; 00258 } 00259 00260 static const char* value(const ::app_manager::GetAppDetailsRequest_<ContainerAllocator> &) { return value(); } 00261 }; 00262 00263 } // namespace message_traits 00264 } // namespace ros 00265 00266 00267 namespace ros 00268 { 00269 namespace message_traits 00270 { 00271 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > : public TrueType {}; 00272 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> const> : public TrueType {}; 00273 template<class ContainerAllocator> 00274 struct MD5Sum< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > { 00275 static const char* value() 00276 { 00277 return "404cd76612a719d24ac22fba2d495de8"; 00278 } 00279 00280 static const char* value(const ::app_manager::GetAppDetailsResponse_<ContainerAllocator> &) { return value(); } 00281 static const uint64_t static_value1 = 0x404cd76612a719d2ULL; 00282 static const uint64_t static_value2 = 0x4ac22fba2d495de8ULL; 00283 }; 00284 00285 template<class ContainerAllocator> 00286 struct DataType< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > { 00287 static const char* value() 00288 { 00289 return "app_manager/GetAppDetailsResponse"; 00290 } 00291 00292 static const char* value(const ::app_manager::GetAppDetailsResponse_<ContainerAllocator> &) { return value(); } 00293 }; 00294 00295 template<class ContainerAllocator> 00296 struct Definition< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > { 00297 static const char* value() 00298 { 00299 return "ExchangeApp app\n\ 00300 \n\ 00301 \n\ 00302 \n\ 00303 ================================================================================\n\ 00304 MSG: app_manager/ExchangeApp\n\ 00305 # app name\n\ 00306 string name\n\ 00307 # user-friendly display name of application\n\ 00308 string display_name\n\ 00309 # the version of the package currently installed\n\ 00310 string version\n\ 00311 # latest version of the package avaliable\n\ 00312 string latest_version\n\ 00313 # the detailed description of the app\n\ 00314 string description\n\ 00315 # icon for showing app\n\ 00316 Icon icon\n\ 00317 # hidden apps are not show - used for cases where multiple apps are in a deb\n\ 00318 bool hidden\n\ 00319 ================================================================================\n\ 00320 MSG: app_manager/Icon\n\ 00321 # Image data format. \"jpeg\" or \"png\"\n\ 00322 string format\n\ 00323 \n\ 00324 # Image data.\n\ 00325 uint8[] data\n\ 00326 \n\ 00327 "; 00328 } 00329 00330 static const char* value(const ::app_manager::GetAppDetailsResponse_<ContainerAllocator> &) { return value(); } 00331 }; 00332 00333 } // namespace message_traits 00334 } // namespace ros 00335 00336 namespace ros 00337 { 00338 namespace serialization 00339 { 00340 00341 template<class ContainerAllocator> struct Serializer< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > 00342 { 00343 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00344 { 00345 stream.next(m.name); 00346 } 00347 00348 ROS_DECLARE_ALLINONE_SERIALIZER; 00349 }; // struct GetAppDetailsRequest_ 00350 } // namespace serialization 00351 } // namespace ros 00352 00353 00354 namespace ros 00355 { 00356 namespace serialization 00357 { 00358 00359 template<class ContainerAllocator> struct Serializer< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > 00360 { 00361 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00362 { 00363 stream.next(m.app); 00364 } 00365 00366 ROS_DECLARE_ALLINONE_SERIALIZER; 00367 }; // struct GetAppDetailsResponse_ 00368 } // namespace serialization 00369 } // namespace ros 00370 00371 namespace ros 00372 { 00373 namespace service_traits 00374 { 00375 template<> 00376 struct MD5Sum<app_manager::GetAppDetails> { 00377 static const char* value() 00378 { 00379 return "982707be65dd9bb38c19f6e18cb18db5"; 00380 } 00381 00382 static const char* value(const app_manager::GetAppDetails&) { return value(); } 00383 }; 00384 00385 template<> 00386 struct DataType<app_manager::GetAppDetails> { 00387 static const char* value() 00388 { 00389 return "app_manager/GetAppDetails"; 00390 } 00391 00392 static const char* value(const app_manager::GetAppDetails&) { return value(); } 00393 }; 00394 00395 template<class ContainerAllocator> 00396 struct MD5Sum<app_manager::GetAppDetailsRequest_<ContainerAllocator> > { 00397 static const char* value() 00398 { 00399 return "982707be65dd9bb38c19f6e18cb18db5"; 00400 } 00401 00402 static const char* value(const app_manager::GetAppDetailsRequest_<ContainerAllocator> &) { return value(); } 00403 }; 00404 00405 template<class ContainerAllocator> 00406 struct DataType<app_manager::GetAppDetailsRequest_<ContainerAllocator> > { 00407 static const char* value() 00408 { 00409 return "app_manager/GetAppDetails"; 00410 } 00411 00412 static const char* value(const app_manager::GetAppDetailsRequest_<ContainerAllocator> &) { return value(); } 00413 }; 00414 00415 template<class ContainerAllocator> 00416 struct MD5Sum<app_manager::GetAppDetailsResponse_<ContainerAllocator> > { 00417 static const char* value() 00418 { 00419 return "982707be65dd9bb38c19f6e18cb18db5"; 00420 } 00421 00422 static const char* value(const app_manager::GetAppDetailsResponse_<ContainerAllocator> &) { return value(); } 00423 }; 00424 00425 template<class ContainerAllocator> 00426 struct DataType<app_manager::GetAppDetailsResponse_<ContainerAllocator> > { 00427 static const char* value() 00428 { 00429 return "app_manager/GetAppDetails"; 00430 } 00431 00432 static const char* value(const app_manager::GetAppDetailsResponse_<ContainerAllocator> &) { return value(); } 00433 }; 00434 00435 } // namespace service_traits 00436 } // namespace ros 00437 00438 #endif // APP_MANAGER_SERVICE_GETAPPDETAILS_H 00439