AppList.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/msg/AppList.msg */
00002 #ifndef APP_MANAGER_MESSAGE_APPLIST_H
00003 #define APP_MANAGER_MESSAGE_APPLIST_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/App.h"
00018 #include "app_manager/App.h"
00019 
00020 namespace app_manager
00021 {
00022 template <class ContainerAllocator>
00023 struct AppList_ {
00024   typedef AppList_<ContainerAllocator> Type;
00025 
00026   AppList_()
00027   : running_apps()
00028   , available_apps()
00029   {
00030   }
00031 
00032   AppList_(const ContainerAllocator& _alloc)
00033   : running_apps(_alloc)
00034   , available_apps(_alloc)
00035   {
00036   }
00037 
00038   typedef std::vector< ::app_manager::App_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::App_<ContainerAllocator> >::other >  _running_apps_type;
00039   std::vector< ::app_manager::App_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::App_<ContainerAllocator> >::other >  running_apps;
00040 
00041   typedef std::vector< ::app_manager::App_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::App_<ContainerAllocator> >::other >  _available_apps_type;
00042   std::vector< ::app_manager::App_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::App_<ContainerAllocator> >::other >  available_apps;
00043 
00044 
00045   typedef boost::shared_ptr< ::app_manager::AppList_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::app_manager::AppList_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct AppList
00049 typedef  ::app_manager::AppList_<std::allocator<void> > AppList;
00050 
00051 typedef boost::shared_ptr< ::app_manager::AppList> AppListPtr;
00052 typedef boost::shared_ptr< ::app_manager::AppList const> AppListConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::app_manager::AppList_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::app_manager::AppList_<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::AppList_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::app_manager::AppList_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::app_manager::AppList_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "8a71ede6bf51909653c7c551f462cb30";
00074   }
00075 
00076   static const char* value(const  ::app_manager::AppList_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0x8a71ede6bf519096ULL;
00078   static const uint64_t static_value2 = 0x53c7c551f462cb30ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::app_manager::AppList_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "app_manager/AppList";
00086   }
00087 
00088   static const char* value(const  ::app_manager::AppList_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::app_manager::AppList_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "App[] running_apps\n\
00096 App[] available_apps\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: app_manager/App\n\
00100 # app name\n\
00101 string name\n\
00102 # user-friendly display name of application\n\
00103 string display_name\n\
00104 # icon for showing app\n\
00105 Icon icon\n\
00106 # ordered list (by preference) of client applications to interact with this robot app.  \n\
00107 ClientApp[] client_apps\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: app_manager/Icon\n\
00111 # Image data format.  \"jpeg\" or \"png\"\n\
00112 string format\n\
00113 \n\
00114 # Image data.\n\
00115 uint8[] data\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: app_manager/ClientApp\n\
00119 # like \"android\" or \"web\" or \"linux\"\n\
00120 string client_type\n\
00121 \n\
00122 # like \"intent = ros.android.teleop\" and \"accelerometer = true\", used to choose which ClientApp to use\n\
00123 KeyValue[] manager_data\n\
00124 \n\
00125 # parameters which just get passed through to the client app.\n\
00126 KeyValue[] app_data\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: app_manager/KeyValue\n\
00130 string key\n\
00131 string value\n\
00132 \n\
00133 ";
00134   }
00135 
00136   static const char* value(const  ::app_manager::AppList_<ContainerAllocator> &) { return value(); } 
00137 };
00138 
00139 } // namespace message_traits
00140 } // namespace ros
00141 
00142 namespace ros
00143 {
00144 namespace serialization
00145 {
00146 
00147 template<class ContainerAllocator> struct Serializer< ::app_manager::AppList_<ContainerAllocator> >
00148 {
00149   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00150   {
00151     stream.next(m.running_apps);
00152     stream.next(m.available_apps);
00153   }
00154 
00155   ROS_DECLARE_ALLINONE_SERIALIZER;
00156 }; // struct AppList_
00157 } // namespace serialization
00158 } // namespace ros
00159 
00160 namespace ros
00161 {
00162 namespace message_operations
00163 {
00164 
00165 template<class ContainerAllocator>
00166 struct Printer< ::app_manager::AppList_<ContainerAllocator> >
00167 {
00168   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::app_manager::AppList_<ContainerAllocator> & v) 
00169   {
00170     s << indent << "running_apps[]" << std::endl;
00171     for (size_t i = 0; i < v.running_apps.size(); ++i)
00172     {
00173       s << indent << "  running_apps[" << i << "]: ";
00174       s << std::endl;
00175       s << indent;
00176       Printer< ::app_manager::App_<ContainerAllocator> >::stream(s, indent + "    ", v.running_apps[i]);
00177     }
00178     s << indent << "available_apps[]" << std::endl;
00179     for (size_t i = 0; i < v.available_apps.size(); ++i)
00180     {
00181       s << indent << "  available_apps[" << i << "]: ";
00182       s << std::endl;
00183       s << indent;
00184       Printer< ::app_manager::App_<ContainerAllocator> >::stream(s, indent + "    ", v.available_apps[i]);
00185     }
00186   }
00187 };
00188 
00189 
00190 } // namespace message_operations
00191 } // namespace ros
00192 
00193 #endif // APP_MANAGER_MESSAGE_APPLIST_H
00194 


app_manager
Author(s): Jeremy Leibs, Ken Conley
autogenerated on Thu Sep 3 2015 10:15:41