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