ClientApp.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/ClientApp.msg */
00002 #ifndef APP_MANAGER_MESSAGE_CLIENTAPP_H
00003 #define APP_MANAGER_MESSAGE_CLIENTAPP_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/KeyValue.h"
00018 #include "app_manager/KeyValue.h"
00019 
00020 namespace app_manager
00021 {
00022 template <class ContainerAllocator>
00023 struct ClientApp_ {
00024   typedef ClientApp_<ContainerAllocator> Type;
00025 
00026   ClientApp_()
00027   : client_type()
00028   , manager_data()
00029   , app_data()
00030   {
00031   }
00032 
00033   ClientApp_(const ContainerAllocator& _alloc)
00034   : client_type(_alloc)
00035   , manager_data(_alloc)
00036   , app_data(_alloc)
00037   {
00038   }
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _client_type_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  client_type;
00042 
00043   typedef std::vector< ::app_manager::KeyValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::KeyValue_<ContainerAllocator> >::other >  _manager_data_type;
00044   std::vector< ::app_manager::KeyValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::KeyValue_<ContainerAllocator> >::other >  manager_data;
00045 
00046   typedef std::vector< ::app_manager::KeyValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::KeyValue_<ContainerAllocator> >::other >  _app_data_type;
00047   std::vector< ::app_manager::KeyValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::app_manager::KeyValue_<ContainerAllocator> >::other >  app_data;
00048 
00049 
00050   typedef boost::shared_ptr< ::app_manager::ClientApp_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::app_manager::ClientApp_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct ClientApp
00054 typedef  ::app_manager::ClientApp_<std::allocator<void> > ClientApp;
00055 
00056 typedef boost::shared_ptr< ::app_manager::ClientApp> ClientAppPtr;
00057 typedef boost::shared_ptr< ::app_manager::ClientApp const> ClientAppConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::app_manager::ClientApp_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::app_manager::ClientApp_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace app_manager
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::app_manager::ClientApp_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::app_manager::ClientApp_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::app_manager::ClientApp_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "0a8112672c3fbf73cb62ec78d67e41bb";
00079   }
00080 
00081   static const char* value(const  ::app_manager::ClientApp_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0x0a8112672c3fbf73ULL;
00083   static const uint64_t static_value2 = 0xcb62ec78d67e41bbULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::app_manager::ClientApp_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "app_manager/ClientApp";
00091   }
00092 
00093   static const char* value(const  ::app_manager::ClientApp_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::app_manager::ClientApp_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "# like \"android\" or \"web\" or \"linux\"\n\
00101 string client_type\n\
00102 \n\
00103 # like \"intent = ros.android.teleop\" and \"accelerometer = true\", used to choose which ClientApp to use\n\
00104 KeyValue[] manager_data\n\
00105 \n\
00106 # parameters which just get passed through to the client app.\n\
00107 KeyValue[] app_data\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: app_manager/KeyValue\n\
00111 string key\n\
00112 string value\n\
00113 \n\
00114 ";
00115   }
00116 
00117   static const char* value(const  ::app_manager::ClientApp_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 } // namespace message_traits
00121 } // namespace ros
00122 
00123 namespace ros
00124 {
00125 namespace serialization
00126 {
00127 
00128 template<class ContainerAllocator> struct Serializer< ::app_manager::ClientApp_<ContainerAllocator> >
00129 {
00130   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00131   {
00132     stream.next(m.client_type);
00133     stream.next(m.manager_data);
00134     stream.next(m.app_data);
00135   }
00136 
00137   ROS_DECLARE_ALLINONE_SERIALIZER;
00138 }; // struct ClientApp_
00139 } // namespace serialization
00140 } // namespace ros
00141 
00142 namespace ros
00143 {
00144 namespace message_operations
00145 {
00146 
00147 template<class ContainerAllocator>
00148 struct Printer< ::app_manager::ClientApp_<ContainerAllocator> >
00149 {
00150   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::app_manager::ClientApp_<ContainerAllocator> & v) 
00151   {
00152     s << indent << "client_type: ";
00153     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.client_type);
00154     s << indent << "manager_data[]" << std::endl;
00155     for (size_t i = 0; i < v.manager_data.size(); ++i)
00156     {
00157       s << indent << "  manager_data[" << i << "]: ";
00158       s << std::endl;
00159       s << indent;
00160       Printer< ::app_manager::KeyValue_<ContainerAllocator> >::stream(s, indent + "    ", v.manager_data[i]);
00161     }
00162     s << indent << "app_data[]" << std::endl;
00163     for (size_t i = 0; i < v.app_data.size(); ++i)
00164     {
00165       s << indent << "  app_data[" << i << "]: ";
00166       s << std::endl;
00167       s << indent;
00168       Printer< ::app_manager::KeyValue_<ContainerAllocator> >::stream(s, indent + "    ", v.app_data[i]);
00169     }
00170   }
00171 };
00172 
00173 
00174 } // namespace message_operations
00175 } // namespace ros
00176 
00177 #endif // APP_MANAGER_MESSAGE_CLIENTAPP_H
00178 


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