00001
00002 #ifndef TUG_IST_DIAGNOSIS_MSGS_MESSAGE_SYSTEMDESCRIPTION_H
00003 #define TUG_IST_DIAGNOSIS_MSGS_MESSAGE_SYSTEMDESCRIPTION_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 tug_ist_diagnosis_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct SystemDescription_ {
00022 typedef SystemDescription_<ContainerAllocator> Type;
00023
00024 SystemDescription_()
00025 : out_time(0.0)
00026 , rules()
00027 , props()
00028 , AB()
00029 , NAB()
00030 , neg_prefix()
00031 {
00032 }
00033
00034 SystemDescription_(const ContainerAllocator& _alloc)
00035 : out_time(0.0)
00036 , rules(_alloc)
00037 , props(_alloc)
00038 , AB(_alloc)
00039 , NAB(_alloc)
00040 , neg_prefix(_alloc)
00041 {
00042 }
00043
00044 typedef float _out_time_type;
00045 float out_time;
00046
00047 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _rules_type;
00048 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > rules;
00049
00050 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _props_type;
00051 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > props;
00052
00053 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _AB_type;
00054 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > AB;
00055
00056 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _NAB_type;
00057 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > NAB;
00058
00059 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _neg_prefix_type;
00060 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > neg_prefix;
00061
00062
00063 typedef boost::shared_ptr< ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> > Ptr;
00064 typedef boost::shared_ptr< ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> const> ConstPtr;
00065 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 };
00067 typedef ::tug_ist_diagnosis_msgs::SystemDescription_<std::allocator<void> > SystemDescription;
00068
00069 typedef boost::shared_ptr< ::tug_ist_diagnosis_msgs::SystemDescription> SystemDescriptionPtr;
00070 typedef boost::shared_ptr< ::tug_ist_diagnosis_msgs::SystemDescription const> SystemDescriptionConstPtr;
00071
00072
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> & v)
00075 {
00076 ros::message_operations::Printer< ::tug_ist_diagnosis_msgs::SystemDescription_<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< ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "367459a5d65a9e456af927b052e15768";
00092 }
00093
00094 static const char* value(const ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> &) { return value(); }
00095 static const uint64_t static_value1 = 0x367459a5d65a9e45ULL;
00096 static const uint64_t static_value2 = 0x6af927b052e15768ULL;
00097 };
00098
00099 template<class ContainerAllocator>
00100 struct DataType< ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "tug_ist_diagnosis_msgs/SystemDescription";
00104 }
00105
00106 static const char* value(const ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> &) { return value(); }
00107 };
00108
00109 template<class ContainerAllocator>
00110 struct Definition< ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "float32 out_time\n\
00114 string[] rules\n\
00115 string[] props\n\
00116 string AB\n\
00117 string NAB\n\
00118 string neg_prefix\n\
00119 \n\
00120 ";
00121 }
00122
00123 static const char* value(const ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 }
00127 }
00128
00129 namespace ros
00130 {
00131 namespace serialization
00132 {
00133
00134 template<class ContainerAllocator> struct Serializer< ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> >
00135 {
00136 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00137 {
00138 stream.next(m.out_time);
00139 stream.next(m.rules);
00140 stream.next(m.props);
00141 stream.next(m.AB);
00142 stream.next(m.NAB);
00143 stream.next(m.neg_prefix);
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< ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> >
00158 {
00159 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tug_ist_diagnosis_msgs::SystemDescription_<ContainerAllocator> & v)
00160 {
00161 s << indent << "out_time: ";
00162 Printer<float>::stream(s, indent + " ", v.out_time);
00163 s << indent << "rules[]" << std::endl;
00164 for (size_t i = 0; i < v.rules.size(); ++i)
00165 {
00166 s << indent << " rules[" << i << "]: ";
00167 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.rules[i]);
00168 }
00169 s << indent << "props[]" << std::endl;
00170 for (size_t i = 0; i < v.props.size(); ++i)
00171 {
00172 s << indent << " props[" << i << "]: ";
00173 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.props[i]);
00174 }
00175 s << indent << "AB: ";
00176 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.AB);
00177 s << indent << "NAB: ";
00178 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.NAB);
00179 s << indent << "neg_prefix: ";
00180 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.neg_prefix);
00181 }
00182 };
00183
00184
00185 }
00186 }
00187
00188 #endif // TUG_IST_DIAGNOSIS_MSGS_MESSAGE_SYSTEMDESCRIPTION_H
00189