Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::app_manager::GetAppDetailsRequest_<std::allocator<void> > GetAppDetailsRequest;
00048
00049 typedef boost::shared_ptr< ::app_manager::GetAppDetailsRequest> GetAppDetailsRequestPtr;
00050 typedef boost::shared_ptr< ::app_manager::GetAppDetailsRequest const> GetAppDetailsRequestConstPtr;
00051
00052
00053
00054 template <class ContainerAllocator>
00055 struct GetAppDetailsResponse_ {
00056 typedef GetAppDetailsResponse_<ContainerAllocator> Type;
00057
00058 GetAppDetailsResponse_()
00059 : app()
00060 {
00061 }
00062
00063 GetAppDetailsResponse_(const ContainerAllocator& _alloc)
00064 : app(_alloc)
00065 {
00066 }
00067
00068 typedef ::app_manager::ExchangeApp_<ContainerAllocator> _app_type;
00069 ::app_manager::ExchangeApp_<ContainerAllocator> app;
00070
00071
00072 typedef boost::shared_ptr< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::app_manager::GetAppDetailsResponse_<std::allocator<void> > GetAppDetailsResponse;
00077
00078 typedef boost::shared_ptr< ::app_manager::GetAppDetailsResponse> GetAppDetailsResponsePtr;
00079 typedef boost::shared_ptr< ::app_manager::GetAppDetailsResponse const> GetAppDetailsResponseConstPtr;
00080
00081
00082 struct GetAppDetails
00083 {
00084
00085 typedef GetAppDetailsRequest Request;
00086 typedef GetAppDetailsResponse Response;
00087 Request request;
00088 Response response;
00089
00090 typedef Request RequestType;
00091 typedef Response ResponseType;
00092 };
00093 }
00094
00095 namespace ros
00096 {
00097 namespace message_traits
00098 {
00099 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > : public TrueType {};
00100 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> const> : public TrueType {};
00101 template<class ContainerAllocator>
00102 struct MD5Sum< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > {
00103 static const char* value()
00104 {
00105 return "c1f3d28f1b044c871e6eff2e9fc3c667";
00106 }
00107
00108 static const char* value(const ::app_manager::GetAppDetailsRequest_<ContainerAllocator> &) { return value(); }
00109 static const uint64_t static_value1 = 0xc1f3d28f1b044c87ULL;
00110 static const uint64_t static_value2 = 0x1e6eff2e9fc3c667ULL;
00111 };
00112
00113 template<class ContainerAllocator>
00114 struct DataType< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "app_manager/GetAppDetailsRequest";
00118 }
00119
00120 static const char* value(const ::app_manager::GetAppDetailsRequest_<ContainerAllocator> &) { return value(); }
00121 };
00122
00123 template<class ContainerAllocator>
00124 struct Definition< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "\n\
00128 string name\n\
00129 \n\
00130 ";
00131 }
00132
00133 static const char* value(const ::app_manager::GetAppDetailsRequest_<ContainerAllocator> &) { return value(); }
00134 };
00135
00136 }
00137 }
00138
00139
00140 namespace ros
00141 {
00142 namespace message_traits
00143 {
00144 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > : public TrueType {};
00145 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> const> : public TrueType {};
00146 template<class ContainerAllocator>
00147 struct MD5Sum< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > {
00148 static const char* value()
00149 {
00150 return "404cd76612a719d24ac22fba2d495de8";
00151 }
00152
00153 static const char* value(const ::app_manager::GetAppDetailsResponse_<ContainerAllocator> &) { return value(); }
00154 static const uint64_t static_value1 = 0x404cd76612a719d2ULL;
00155 static const uint64_t static_value2 = 0x4ac22fba2d495de8ULL;
00156 };
00157
00158 template<class ContainerAllocator>
00159 struct DataType< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "app_manager/GetAppDetailsResponse";
00163 }
00164
00165 static const char* value(const ::app_manager::GetAppDetailsResponse_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct Definition< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "ExchangeApp app\n\
00173 \n\
00174 \n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: app_manager/ExchangeApp\n\
00178 # app name\n\
00179 string name\n\
00180 # user-friendly display name of application\n\
00181 string display_name\n\
00182 # the version of the package currently installed\n\
00183 string version\n\
00184 # latest version of the package avaliable\n\
00185 string latest_version\n\
00186 # the detailed description of the app\n\
00187 string description\n\
00188 # icon for showing app\n\
00189 Icon icon\n\
00190 # hidden apps are not show - used for cases where multiple apps are in a deb\n\
00191 bool hidden\n\
00192 ================================================================================\n\
00193 MSG: app_manager/Icon\n\
00194 # Image data format. \"jpeg\" or \"png\"\n\
00195 string format\n\
00196 \n\
00197 # Image data.\n\
00198 uint8[] data\n\
00199 \n\
00200 ";
00201 }
00202
00203 static const char* value(const ::app_manager::GetAppDetailsResponse_<ContainerAllocator> &) { return value(); }
00204 };
00205
00206 }
00207 }
00208
00209 namespace ros
00210 {
00211 namespace serialization
00212 {
00213
00214 template<class ContainerAllocator> struct Serializer< ::app_manager::GetAppDetailsRequest_<ContainerAllocator> >
00215 {
00216 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00217 {
00218 stream.next(m.name);
00219 }
00220
00221 ROS_DECLARE_ALLINONE_SERIALIZER;
00222 };
00223 }
00224 }
00225
00226
00227 namespace ros
00228 {
00229 namespace serialization
00230 {
00231
00232 template<class ContainerAllocator> struct Serializer< ::app_manager::GetAppDetailsResponse_<ContainerAllocator> >
00233 {
00234 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00235 {
00236 stream.next(m.app);
00237 }
00238
00239 ROS_DECLARE_ALLINONE_SERIALIZER;
00240 };
00241 }
00242 }
00243
00244 namespace ros
00245 {
00246 namespace service_traits
00247 {
00248 template<>
00249 struct MD5Sum<app_manager::GetAppDetails> {
00250 static const char* value()
00251 {
00252 return "982707be65dd9bb38c19f6e18cb18db5";
00253 }
00254
00255 static const char* value(const app_manager::GetAppDetails&) { return value(); }
00256 };
00257
00258 template<>
00259 struct DataType<app_manager::GetAppDetails> {
00260 static const char* value()
00261 {
00262 return "app_manager/GetAppDetails";
00263 }
00264
00265 static const char* value(const app_manager::GetAppDetails&) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct MD5Sum<app_manager::GetAppDetailsRequest_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "982707be65dd9bb38c19f6e18cb18db5";
00273 }
00274
00275 static const char* value(const app_manager::GetAppDetailsRequest_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct DataType<app_manager::GetAppDetailsRequest_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "app_manager/GetAppDetails";
00283 }
00284
00285 static const char* value(const app_manager::GetAppDetailsRequest_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct MD5Sum<app_manager::GetAppDetailsResponse_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "982707be65dd9bb38c19f6e18cb18db5";
00293 }
00294
00295 static const char* value(const app_manager::GetAppDetailsResponse_<ContainerAllocator> &) { return value(); }
00296 };
00297
00298 template<class ContainerAllocator>
00299 struct DataType<app_manager::GetAppDetailsResponse_<ContainerAllocator> > {
00300 static const char* value()
00301 {
00302 return "app_manager/GetAppDetails";
00303 }
00304
00305 static const char* value(const app_manager::GetAppDetailsResponse_<ContainerAllocator> &) { return value(); }
00306 };
00307
00308 }
00309 }
00310
00311 #endif // APP_MANAGER_SERVICE_GETAPPDETAILS_H
00312