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