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


tug_ist_diagnosis_msgs
Author(s): Safdar Zaman, Gerald Steinbauer
autogenerated on Mon Jan 6 2014 11:51:02