sub20_ADC_meas.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-bosch_drivers/doc_stacks/2014-10-06_10-06-18.785954/bosch_drivers/adc_sub20/msg/sub20_ADC_meas.msg */
00002 #ifndef ADC_SUB20_MESSAGE_SUB20_ADC_MEAS_H
00003 #define ADC_SUB20_MESSAGE_SUB20_ADC_MEAS_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 "std_msgs/Header.h"
00018 
00019 namespace adc_sub20
00020 {
00021 template <class ContainerAllocator>
00022 struct sub20_ADC_meas_ {
00023   typedef sub20_ADC_meas_<ContainerAllocator> Type;
00024 
00025   sub20_ADC_meas_()
00026   : header()
00027   , strIdSubDev()
00028   , uiRaw()
00029   , fVolts()
00030   {
00031   }
00032 
00033   sub20_ADC_meas_(const ContainerAllocator& _alloc)
00034   : header(_alloc)
00035   , strIdSubDev(_alloc)
00036   , uiRaw(_alloc)
00037   , fVolts(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _strIdSubDev_type;
00045   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  strIdSubDev;
00046 
00047   typedef std::vector<uint16_t, typename ContainerAllocator::template rebind<uint16_t>::other >  _uiRaw_type;
00048   std::vector<uint16_t, typename ContainerAllocator::template rebind<uint16_t>::other >  uiRaw;
00049 
00050   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _fVolts_type;
00051   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  fVolts;
00052 
00053 
00054   typedef boost::shared_ptr< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> > Ptr;
00055   typedef boost::shared_ptr< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator>  const> ConstPtr;
00056   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 }; // struct sub20_ADC_meas
00058 typedef  ::adc_sub20::sub20_ADC_meas_<std::allocator<void> > sub20_ADC_meas;
00059 
00060 typedef boost::shared_ptr< ::adc_sub20::sub20_ADC_meas> sub20_ADC_measPtr;
00061 typedef boost::shared_ptr< ::adc_sub20::sub20_ADC_meas const> sub20_ADC_measConstPtr;
00062 
00063 
00064 template<typename ContainerAllocator>
00065 std::ostream& operator<<(std::ostream& s, const  ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> & v)
00066 {
00067   ros::message_operations::Printer< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> >::stream(s, "", v);
00068   return s;}
00069 
00070 } // namespace adc_sub20
00071 
00072 namespace ros
00073 {
00074 namespace message_traits
00075 {
00076 template<class ContainerAllocator> struct IsMessage< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> > : public TrueType {};
00077 template<class ContainerAllocator> struct IsMessage< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator>  const> : public TrueType {};
00078 template<class ContainerAllocator>
00079 struct MD5Sum< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> > {
00080   static const char* value() 
00081   {
00082     return "e5a875ce6bb2d936bd7c1ae33b9699ad";
00083   }
00084 
00085   static const char* value(const  ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> &) { return value(); } 
00086   static const uint64_t static_value1 = 0xe5a875ce6bb2d936ULL;
00087   static const uint64_t static_value2 = 0xbd7c1ae33b9699adULL;
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct DataType< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "adc_sub20/sub20_ADC_meas";
00095   }
00096 
00097   static const char* value(const  ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> &) { return value(); } 
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct Definition< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "Header header\n\
00105 string strIdSubDev\n\
00106 uint16[] uiRaw\n\
00107 float64[] fVolts\n\
00108 ================================================================================\n\
00109 MSG: std_msgs/Header\n\
00110 # Standard metadata for higher-level stamped data types.\n\
00111 # This is generally used to communicate timestamped data \n\
00112 # in a particular coordinate frame.\n\
00113 # \n\
00114 # sequence ID: consecutively increasing ID \n\
00115 uint32 seq\n\
00116 #Two-integer timestamp that is expressed as:\n\
00117 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00118 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00119 # time-handling sugar is provided by the client library\n\
00120 time stamp\n\
00121 #Frame this data is associated with\n\
00122 # 0: no frame\n\
00123 # 1: global frame\n\
00124 string frame_id\n\
00125 \n\
00126 ";
00127   }
00128 
00129   static const char* value(const  ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 template<class ContainerAllocator> struct HasHeader< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> > : public TrueType {};
00133 template<class ContainerAllocator> struct HasHeader< const ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> > : public TrueType {};
00134 } // namespace message_traits
00135 } // namespace ros
00136 
00137 namespace ros
00138 {
00139 namespace serialization
00140 {
00141 
00142 template<class ContainerAllocator> struct Serializer< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> >
00143 {
00144   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00145   {
00146     stream.next(m.header);
00147     stream.next(m.strIdSubDev);
00148     stream.next(m.uiRaw);
00149     stream.next(m.fVolts);
00150   }
00151 
00152   ROS_DECLARE_ALLINONE_SERIALIZER;
00153 }; // struct sub20_ADC_meas_
00154 } // namespace serialization
00155 } // namespace ros
00156 
00157 namespace ros
00158 {
00159 namespace message_operations
00160 {
00161 
00162 template<class ContainerAllocator>
00163 struct Printer< ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> >
00164 {
00165   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::adc_sub20::sub20_ADC_meas_<ContainerAllocator> & v) 
00166   {
00167     s << indent << "header: ";
00168 s << std::endl;
00169     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00170     s << indent << "strIdSubDev: ";
00171     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.strIdSubDev);
00172     s << indent << "uiRaw[]" << std::endl;
00173     for (size_t i = 0; i < v.uiRaw.size(); ++i)
00174     {
00175       s << indent << "  uiRaw[" << i << "]: ";
00176       Printer<uint16_t>::stream(s, indent + "  ", v.uiRaw[i]);
00177     }
00178     s << indent << "fVolts[]" << std::endl;
00179     for (size_t i = 0; i < v.fVolts.size(); ++i)
00180     {
00181       s << indent << "  fVolts[" << i << "]: ";
00182       Printer<double>::stream(s, indent + "  ", v.fVolts[i]);
00183     }
00184   }
00185 };
00186 
00187 
00188 } // namespace message_operations
00189 } // namespace ros
00190 
00191 #endif // ADC_SUB20_MESSAGE_SUB20_ADC_MEAS_H
00192 


adc_sub20
Author(s): Nikhil Deshpande (Maintained by Philip Roan)
autogenerated on Mon Oct 6 2014 10:10:25