00001
00002 #ifndef APPMANAGER_MSGS_MESSAGE_APPDESCRIPTION_H
00003 #define APPMANAGER_MSGS_MESSAGE_APPDESCRIPTION_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
00018 namespace appmanager_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct AppDescription_ {
00022 typedef AppDescription_<ContainerAllocator> Type;
00023
00024 AppDescription_()
00025 : name()
00026 , display()
00027 , description()
00028 , platform()
00029 , status()
00030 {
00031 }
00032
00033 AppDescription_(const ContainerAllocator& _alloc)
00034 : name(_alloc)
00035 , display(_alloc)
00036 , description(_alloc)
00037 , platform(_alloc)
00038 , status(_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_type;
00046 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > display;
00047
00048 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _description_type;
00049 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > description;
00050
00051 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _platform_type;
00052 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > platform;
00053
00054 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_type;
00055 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status;
00056
00057
00058 typedef boost::shared_ptr< ::appmanager_msgs::AppDescription_<ContainerAllocator> > Ptr;
00059 typedef boost::shared_ptr< ::appmanager_msgs::AppDescription_<ContainerAllocator> const> ConstPtr;
00060 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 };
00062 typedef ::appmanager_msgs::AppDescription_<std::allocator<void> > AppDescription;
00063
00064 typedef boost::shared_ptr< ::appmanager_msgs::AppDescription> AppDescriptionPtr;
00065 typedef boost::shared_ptr< ::appmanager_msgs::AppDescription const> AppDescriptionConstPtr;
00066
00067
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const ::appmanager_msgs::AppDescription_<ContainerAllocator> & v)
00070 {
00071 ros::message_operations::Printer< ::appmanager_msgs::AppDescription_<ContainerAllocator> >::stream(s, "", v);
00072 return s;}
00073
00074 }
00075
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::appmanager_msgs::AppDescription_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::appmanager_msgs::AppDescription_<ContainerAllocator> const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::appmanager_msgs::AppDescription_<ContainerAllocator> > {
00084 static const char* value()
00085 {
00086 return "c949445a9b110954d1afc5588e3e81ff";
00087 }
00088
00089 static const char* value(const ::appmanager_msgs::AppDescription_<ContainerAllocator> &) { return value(); }
00090 static const uint64_t static_value1 = 0xc949445a9b110954ULL;
00091 static const uint64_t static_value2 = 0xd1afc5588e3e81ffULL;
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct DataType< ::appmanager_msgs::AppDescription_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "appmanager_msgs/AppDescription";
00099 }
00100
00101 static const char* value(const ::appmanager_msgs::AppDescription_<ContainerAllocator> &) { return value(); }
00102 };
00103
00104 template<class ContainerAllocator>
00105 struct Definition< ::appmanager_msgs::AppDescription_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "string name\n\
00109 string display\n\
00110 string description\n\
00111 string platform\n\
00112 string status\n\
00113 \n\
00114 ";
00115 }
00116
00117 static const char* value(const ::appmanager_msgs::AppDescription_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 }
00121 }
00122
00123 namespace ros
00124 {
00125 namespace serialization
00126 {
00127
00128 template<class ContainerAllocator> struct Serializer< ::appmanager_msgs::AppDescription_<ContainerAllocator> >
00129 {
00130 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00131 {
00132 stream.next(m.name);
00133 stream.next(m.display);
00134 stream.next(m.description);
00135 stream.next(m.platform);
00136 stream.next(m.status);
00137 }
00138
00139 ROS_DECLARE_ALLINONE_SERIALIZER;
00140 };
00141 }
00142 }
00143
00144 namespace ros
00145 {
00146 namespace message_operations
00147 {
00148
00149 template<class ContainerAllocator>
00150 struct Printer< ::appmanager_msgs::AppDescription_<ContainerAllocator> >
00151 {
00152 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::appmanager_msgs::AppDescription_<ContainerAllocator> & v)
00153 {
00154 s << indent << "name: ";
00155 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
00156 s << indent << "display: ";
00157 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.display);
00158 s << indent << "description: ";
00159 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.description);
00160 s << indent << "platform: ";
00161 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.platform);
00162 s << indent << "status: ";
00163 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.status);
00164 }
00165 };
00166
00167
00168 }
00169 }
00170
00171 #endif // APPMANAGER_MSGS_MESSAGE_APPDESCRIPTION_H
00172