GetInstallationState.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-multimaster_experimental/doc_stacks/2013-12-02_11-35-08.874104/multimaster_experimental/app_manager/srv/GetInstallationState.srv */
00002 #ifndef APP_MANAGER_SERVICE_GETINSTALLATIONSTATE_H
00003 #define APP_MANAGER_SERVICE_GETINSTALLATIONSTATE_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 #include "app_manager/ExchangeApp.h"
00023 
00024 namespace app_manager
00025 {
00026 template <class ContainerAllocator>
00027 struct GetInstallationStateRequest_ {
00028   typedef GetInstallationStateRequest_<ContainerAllocator> Type;
00029 
00030   GetInstallationStateRequest_()
00031   : remote_update(false)
00032   {
00033   }
00034 
00035   GetInstallationStateRequest_(const ContainerAllocator& _alloc)
00036   : remote_update(false)
00037   {
00038   }
00039 
00040   typedef uint8_t _remote_update_type;
00041   uint8_t remote_update;
00042 
00043 
00044   typedef boost::shared_ptr< ::app_manager::GetInstallationStateRequest_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::app_manager::GetInstallationStateRequest_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct GetInstallationStateRequest
00048 typedef  ::app_manager::GetInstallationStateRequest_<std::allocator<void> > GetInstallationStateRequest;
00049 
00050 typedef boost::shared_ptr< ::app_manager::GetInstallationStateRequest> GetInstallationStateRequestPtr;
00051 typedef boost::shared_ptr< ::app_manager::GetInstallationStateRequest const> GetInstallationStateRequestConstPtr;
00052 
00053 
00054 template <class ContainerAllocator>
00055 struct GetInstallationStateResponse_ {
00056   typedef GetInstallationStateResponse_<ContainerAllocator> Type;
00057 
00058   GetInstallationStateResponse_()
00059   : installed_apps()
00060   , available_apps()
00061   {
00062   }
00063 
00064   GetInstallationStateResponse_(const ContainerAllocator& _alloc)
00065   : installed_apps(_alloc)
00066   , available_apps(_alloc)
00067   {
00068   }
00069 
00070   typedef std::vector< ::app_manager::ExchangeApp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::ExchangeApp_<ContainerAllocator> >::other >  _installed_apps_type;
00071   std::vector< ::app_manager::ExchangeApp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::ExchangeApp_<ContainerAllocator> >::other >  installed_apps;
00072 
00073   typedef std::vector< ::app_manager::ExchangeApp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::ExchangeApp_<ContainerAllocator> >::other >  _available_apps_type;
00074   std::vector< ::app_manager::ExchangeApp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::ExchangeApp_<ContainerAllocator> >::other >  available_apps;
00075 
00076 
00077   typedef boost::shared_ptr< ::app_manager::GetInstallationStateResponse_<ContainerAllocator> > Ptr;
00078   typedef boost::shared_ptr< ::app_manager::GetInstallationStateResponse_<ContainerAllocator>  const> ConstPtr;
00079   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 }; // struct GetInstallationStateResponse
00081 typedef  ::app_manager::GetInstallationStateResponse_<std::allocator<void> > GetInstallationStateResponse;
00082 
00083 typedef boost::shared_ptr< ::app_manager::GetInstallationStateResponse> GetInstallationStateResponsePtr;
00084 typedef boost::shared_ptr< ::app_manager::GetInstallationStateResponse const> GetInstallationStateResponseConstPtr;
00085 
00086 struct GetInstallationState
00087 {
00088 
00089 typedef GetInstallationStateRequest Request;
00090 typedef GetInstallationStateResponse Response;
00091 Request request;
00092 Response response;
00093 
00094 typedef Request RequestType;
00095 typedef Response ResponseType;
00096 }; // struct GetInstallationState
00097 } // namespace app_manager
00098 
00099 namespace ros
00100 {
00101 namespace message_traits
00102 {
00103 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetInstallationStateRequest_<ContainerAllocator> > : public TrueType {};
00104 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetInstallationStateRequest_<ContainerAllocator>  const> : public TrueType {};
00105 template<class ContainerAllocator>
00106 struct MD5Sum< ::app_manager::GetInstallationStateRequest_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "f7e64723808960ca985ba81f45f1b8a7";
00110   }
00111 
00112   static const char* value(const  ::app_manager::GetInstallationStateRequest_<ContainerAllocator> &) { return value(); } 
00113   static const uint64_t static_value1 = 0xf7e64723808960caULL;
00114   static const uint64_t static_value2 = 0x985ba81f45f1b8a7ULL;
00115 };
00116 
00117 template<class ContainerAllocator>
00118 struct DataType< ::app_manager::GetInstallationStateRequest_<ContainerAllocator> > {
00119   static const char* value() 
00120   {
00121     return "app_manager/GetInstallationStateRequest";
00122   }
00123 
00124   static const char* value(const  ::app_manager::GetInstallationStateRequest_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 template<class ContainerAllocator>
00128 struct Definition< ::app_manager::GetInstallationStateRequest_<ContainerAllocator> > {
00129   static const char* value() 
00130   {
00131     return "bool remote_update\n\
00132 \n\
00133 ";
00134   }
00135 
00136   static const char* value(const  ::app_manager::GetInstallationStateRequest_<ContainerAllocator> &) { return value(); } 
00137 };
00138 
00139 template<class ContainerAllocator> struct IsFixedSize< ::app_manager::GetInstallationStateRequest_<ContainerAllocator> > : public TrueType {};
00140 } // namespace message_traits
00141 } // namespace ros
00142 
00143 
00144 namespace ros
00145 {
00146 namespace message_traits
00147 {
00148 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetInstallationStateResponse_<ContainerAllocator> > : public TrueType {};
00149 template<class ContainerAllocator> struct IsMessage< ::app_manager::GetInstallationStateResponse_<ContainerAllocator>  const> : public TrueType {};
00150 template<class ContainerAllocator>
00151 struct MD5Sum< ::app_manager::GetInstallationStateResponse_<ContainerAllocator> > {
00152   static const char* value() 
00153   {
00154     return "46d45bbda08250199267aff8c0ee8c41";
00155   }
00156 
00157   static const char* value(const  ::app_manager::GetInstallationStateResponse_<ContainerAllocator> &) { return value(); } 
00158   static const uint64_t static_value1 = 0x46d45bbda0825019ULL;
00159   static const uint64_t static_value2 = 0x9267aff8c0ee8c41ULL;
00160 };
00161 
00162 template<class ContainerAllocator>
00163 struct DataType< ::app_manager::GetInstallationStateResponse_<ContainerAllocator> > {
00164   static const char* value() 
00165   {
00166     return "app_manager/GetInstallationStateResponse";
00167   }
00168 
00169   static const char* value(const  ::app_manager::GetInstallationStateResponse_<ContainerAllocator> &) { return value(); } 
00170 };
00171 
00172 template<class ContainerAllocator>
00173 struct Definition< ::app_manager::GetInstallationStateResponse_<ContainerAllocator> > {
00174   static const char* value() 
00175   {
00176     return "ExchangeApp[] installed_apps\n\
00177 ExchangeApp[] available_apps\n\
00178 \n\
00179 ================================================================================\n\
00180 MSG: app_manager/ExchangeApp\n\
00181 # app name\n\
00182 string name\n\
00183 # user-friendly display name of application\n\
00184 string display_name\n\
00185 # the version of the package currently installed\n\
00186 string version\n\
00187 # latest version of the package avaliable\n\
00188 string latest_version\n\
00189 # the detailed description of the app\n\
00190 string description\n\
00191 # icon for showing app\n\
00192 Icon icon\n\
00193 # hidden apps are not show - used for cases where multiple apps are in a deb\n\
00194 bool hidden\n\
00195 ================================================================================\n\
00196 MSG: app_manager/Icon\n\
00197 # Image data format.  \"jpeg\" or \"png\"\n\
00198 string format\n\
00199 \n\
00200 # Image data.\n\
00201 uint8[] data\n\
00202 \n\
00203 ";
00204   }
00205 
00206   static const char* value(const  ::app_manager::GetInstallationStateResponse_<ContainerAllocator> &) { return value(); } 
00207 };
00208 
00209 } // namespace message_traits
00210 } // namespace ros
00211 
00212 namespace ros
00213 {
00214 namespace serialization
00215 {
00216 
00217 template<class ContainerAllocator> struct Serializer< ::app_manager::GetInstallationStateRequest_<ContainerAllocator> >
00218 {
00219   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00220   {
00221     stream.next(m.remote_update);
00222   }
00223 
00224   ROS_DECLARE_ALLINONE_SERIALIZER;
00225 }; // struct GetInstallationStateRequest_
00226 } // namespace serialization
00227 } // namespace ros
00228 
00229 
00230 namespace ros
00231 {
00232 namespace serialization
00233 {
00234 
00235 template<class ContainerAllocator> struct Serializer< ::app_manager::GetInstallationStateResponse_<ContainerAllocator> >
00236 {
00237   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00238   {
00239     stream.next(m.installed_apps);
00240     stream.next(m.available_apps);
00241   }
00242 
00243   ROS_DECLARE_ALLINONE_SERIALIZER;
00244 }; // struct GetInstallationStateResponse_
00245 } // namespace serialization
00246 } // namespace ros
00247 
00248 namespace ros
00249 {
00250 namespace service_traits
00251 {
00252 template<>
00253 struct MD5Sum<app_manager::GetInstallationState> {
00254   static const char* value() 
00255   {
00256     return "28f0a7294f6241e2423a9382e3c76987";
00257   }
00258 
00259   static const char* value(const app_manager::GetInstallationState&) { return value(); } 
00260 };
00261 
00262 template<>
00263 struct DataType<app_manager::GetInstallationState> {
00264   static const char* value() 
00265   {
00266     return "app_manager/GetInstallationState";
00267   }
00268 
00269   static const char* value(const app_manager::GetInstallationState&) { return value(); } 
00270 };
00271 
00272 template<class ContainerAllocator>
00273 struct MD5Sum<app_manager::GetInstallationStateRequest_<ContainerAllocator> > {
00274   static const char* value() 
00275   {
00276     return "28f0a7294f6241e2423a9382e3c76987";
00277   }
00278 
00279   static const char* value(const app_manager::GetInstallationStateRequest_<ContainerAllocator> &) { return value(); } 
00280 };
00281 
00282 template<class ContainerAllocator>
00283 struct DataType<app_manager::GetInstallationStateRequest_<ContainerAllocator> > {
00284   static const char* value() 
00285   {
00286     return "app_manager/GetInstallationState";
00287   }
00288 
00289   static const char* value(const app_manager::GetInstallationStateRequest_<ContainerAllocator> &) { return value(); } 
00290 };
00291 
00292 template<class ContainerAllocator>
00293 struct MD5Sum<app_manager::GetInstallationStateResponse_<ContainerAllocator> > {
00294   static const char* value() 
00295   {
00296     return "28f0a7294f6241e2423a9382e3c76987";
00297   }
00298 
00299   static const char* value(const app_manager::GetInstallationStateResponse_<ContainerAllocator> &) { return value(); } 
00300 };
00301 
00302 template<class ContainerAllocator>
00303 struct DataType<app_manager::GetInstallationStateResponse_<ContainerAllocator> > {
00304   static const char* value() 
00305   {
00306     return "app_manager/GetInstallationState";
00307   }
00308 
00309   static const char* value(const app_manager::GetInstallationStateResponse_<ContainerAllocator> &) { return value(); } 
00310 };
00311 
00312 } // namespace service_traits
00313 } // namespace ros
00314 
00315 #endif // APP_MANAGER_SERVICE_GETINSTALLATIONSTATE_H
00316 


app_manager
Author(s): Jeremy Leibs, Ken Conley
autogenerated on Mon Dec 2 2013 11:36:52