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


app_manager
Author(s): Jeremy Leibs, Ken Conley
autogenerated on Sat Jun 8 2019 20:23:45