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


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