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