AppInstallationState.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/msg/AppInstallationState.msg */
00002 #ifndef APP_MANAGER_MESSAGE_APPINSTALLATIONSTATE_H
00003 #define APP_MANAGER_MESSAGE_APPINSTALLATIONSTATE_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 "app_manager/ExchangeApp.h"
00018 #include "app_manager/ExchangeApp.h"
00019 
00020 namespace app_manager
00021 {
00022 template <class ContainerAllocator>
00023 struct AppInstallationState_ {
00024   typedef AppInstallationState_<ContainerAllocator> Type;
00025 
00026   AppInstallationState_()
00027   : installed_apps()
00028   , available_apps()
00029   {
00030   }
00031 
00032   AppInstallationState_(const ContainerAllocator& _alloc)
00033   : installed_apps(_alloc)
00034   , available_apps(_alloc)
00035   {
00036   }
00037 
00038   typedef std::vector< ::app_manager::ExchangeApp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::ExchangeApp_<ContainerAllocator> >::other >  _installed_apps_type;
00039   std::vector< ::app_manager::ExchangeApp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::ExchangeApp_<ContainerAllocator> >::other >  installed_apps;
00040 
00041   typedef std::vector< ::app_manager::ExchangeApp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::ExchangeApp_<ContainerAllocator> >::other >  _available_apps_type;
00042   std::vector< ::app_manager::ExchangeApp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::ExchangeApp_<ContainerAllocator> >::other >  available_apps;
00043 
00044 
00045   typedef boost::shared_ptr< ::app_manager::AppInstallationState_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::app_manager::AppInstallationState_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct AppInstallationState
00049 typedef  ::app_manager::AppInstallationState_<std::allocator<void> > AppInstallationState;
00050 
00051 typedef boost::shared_ptr< ::app_manager::AppInstallationState> AppInstallationStatePtr;
00052 typedef boost::shared_ptr< ::app_manager::AppInstallationState const> AppInstallationStateConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::app_manager::AppInstallationState_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::app_manager::AppInstallationState_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace app_manager
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::app_manager::AppInstallationState_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::app_manager::AppInstallationState_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::app_manager::AppInstallationState_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "46d45bbda08250199267aff8c0ee8c41";
00074   }
00075 
00076   static const char* value(const  ::app_manager::AppInstallationState_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x46d45bbda0825019ULL;
00078   static const uint64_t static_value2 = 0x9267aff8c0ee8c41ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::app_manager::AppInstallationState_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "app_manager/AppInstallationState";
00086   }
00087 
00088   static const char* value(const  ::app_manager::AppInstallationState_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::app_manager::AppInstallationState_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "ExchangeApp[] installed_apps\n\
00096 ExchangeApp[] available_apps\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: app_manager/ExchangeApp\n\
00100 # app name\n\
00101 string name\n\
00102 # user-friendly display name of application\n\
00103 string display_name\n\
00104 # the version of the package currently installed\n\
00105 string version\n\
00106 # latest version of the package avaliable\n\
00107 string latest_version\n\
00108 # the detailed description of the app\n\
00109 string description\n\
00110 # icon for showing app\n\
00111 Icon icon\n\
00112 # hidden apps are not show - used for cases where multiple apps are in a deb\n\
00113 bool hidden\n\
00114 ================================================================================\n\
00115 MSG: app_manager/Icon\n\
00116 # Image data format.  \"jpeg\" or \"png\"\n\
00117 string format\n\
00118 \n\
00119 # Image data.\n\
00120 uint8[] data\n\
00121 \n\
00122 ";
00123   }
00124 
00125   static const char* value(const  ::app_manager::AppInstallationState_<ContainerAllocator> &) { return value(); } 
00126 };
00127 
00128 } // namespace message_traits
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace serialization
00134 {
00135 
00136 template<class ContainerAllocator> struct Serializer< ::app_manager::AppInstallationState_<ContainerAllocator> >
00137 {
00138   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00139   {
00140     stream.next(m.installed_apps);
00141     stream.next(m.available_apps);
00142   }
00143 
00144   ROS_DECLARE_ALLINONE_SERIALIZER;
00145 }; // struct AppInstallationState_
00146 } // namespace serialization
00147 } // namespace ros
00148 
00149 namespace ros
00150 {
00151 namespace message_operations
00152 {
00153 
00154 template<class ContainerAllocator>
00155 struct Printer< ::app_manager::AppInstallationState_<ContainerAllocator> >
00156 {
00157   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::app_manager::AppInstallationState_<ContainerAllocator> & v) 
00158   {
00159     s << indent << "installed_apps[]" << std::endl;
00160     for (size_t i = 0; i < v.installed_apps.size(); ++i)
00161     {
00162       s << indent << "  installed_apps[" << i << "]: ";
00163       s << std::endl;
00164       s << indent;
00165       Printer< ::app_manager::ExchangeApp_<ContainerAllocator> >::stream(s, indent + "    ", v.installed_apps[i]);
00166     }
00167     s << indent << "available_apps[]" << std::endl;
00168     for (size_t i = 0; i < v.available_apps.size(); ++i)
00169     {
00170       s << indent << "  available_apps[" << i << "]: ";
00171       s << std::endl;
00172       s << indent;
00173       Printer< ::app_manager::ExchangeApp_<ContainerAllocator> >::stream(s, indent + "    ", v.available_apps[i]);
00174     }
00175   }
00176 };
00177 
00178 
00179 } // namespace message_operations
00180 } // namespace ros
00181 
00182 #endif // APP_MANAGER_MESSAGE_APPINSTALLATIONSTATE_H
00183 


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