Go to the documentation of this file.00001
00002 #ifndef LAUNCHMAN_MESSAGE_APPSTATUS_H
00003 #define LAUNCHMAN_MESSAGE_APPSTATUS_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 "launchman/Application.h"
00018
00019 namespace launchman
00020 {
00021 template <class ContainerAllocator>
00022 struct AppStatus_ {
00023 typedef AppStatus_<ContainerAllocator> Type;
00024
00025 AppStatus_()
00026 : active()
00027 {
00028 }
00029
00030 AppStatus_(const ContainerAllocator& _alloc)
00031 : active(_alloc)
00032 {
00033 }
00034
00035 typedef std::vector< ::launchman::Application_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::launchman::Application_<ContainerAllocator> >::other > _active_type;
00036 std::vector< ::launchman::Application_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::launchman::Application_<ContainerAllocator> >::other > active;
00037
00038
00039 typedef boost::shared_ptr< ::launchman::AppStatus_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::launchman::AppStatus_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::launchman::AppStatus_<std::allocator<void> > AppStatus;
00044
00045 typedef boost::shared_ptr< ::launchman::AppStatus> AppStatusPtr;
00046 typedef boost::shared_ptr< ::launchman::AppStatus const> AppStatusConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::launchman::AppStatus_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::launchman::AppStatus_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::launchman::AppStatus_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::launchman::AppStatus_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::launchman::AppStatus_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "8a2d696a9a11a9fb77b5416e878dcad0";
00068 }
00069
00070 static const char* value(const ::launchman::AppStatus_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x8a2d696a9a11a9fbULL;
00072 static const uint64_t static_value2 = 0x77b5416e878dcad0ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::launchman::AppStatus_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "launchman/AppStatus";
00080 }
00081
00082 static const char* value(const ::launchman::AppStatus_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::launchman::AppStatus_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "Application[] active\n\
00090 \n\
00091 ================================================================================\n\
00092 MSG: launchman/Application\n\
00093 string taskid\n\
00094 string name\n\
00095 string status\n\
00096 string icon\n\
00097 string provides\n\
00098 string depends\n\
00099 \n\
00100 ";
00101 }
00102
00103 static const char* value(const ::launchman::AppStatus_<ContainerAllocator> &) { return value(); }
00104 };
00105
00106 }
00107 }
00108
00109 namespace ros
00110 {
00111 namespace serialization
00112 {
00113
00114 template<class ContainerAllocator> struct Serializer< ::launchman::AppStatus_<ContainerAllocator> >
00115 {
00116 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00117 {
00118 stream.next(m.active);
00119 }
00120
00121 ROS_DECLARE_ALLINONE_SERIALIZER;
00122 };
00123 }
00124 }
00125
00126 namespace ros
00127 {
00128 namespace message_operations
00129 {
00130
00131 template<class ContainerAllocator>
00132 struct Printer< ::launchman::AppStatus_<ContainerAllocator> >
00133 {
00134 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::launchman::AppStatus_<ContainerAllocator> & v)
00135 {
00136 s << indent << "active[]" << std::endl;
00137 for (size_t i = 0; i < v.active.size(); ++i)
00138 {
00139 s << indent << " active[" << i << "]: ";
00140 s << std::endl;
00141 s << indent;
00142 Printer< ::launchman::Application_<ContainerAllocator> >::stream(s, indent + " ", v.active[i]);
00143 }
00144 }
00145 };
00146
00147
00148 }
00149 }
00150
00151 #endif // LAUNCHMAN_MESSAGE_APPSTATUS_H
00152