smi540meas.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/smi540/msg/smi540meas.msg */
00002 #ifndef SMI540_MESSAGE_SMI540MEAS_H
00003 #define SMI540_MESSAGE_SMI540MEAS_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 smi540
00020 {
00021 template <class ContainerAllocator>
00022 struct smi540meas_ {
00023   typedef smi540meas_<ContainerAllocator> Type;
00024 
00025   smi540meas_()
00026   : header()
00027   , strIdSubDev()
00028   , iChipSelect()
00029   , fAcclX()
00030   , fAcclY()
00031   , fRateZ()
00032   {
00033   }
00034 
00035   smi540meas_(const ContainerAllocator& _alloc)
00036   : header(_alloc)
00037   , strIdSubDev(_alloc)
00038   , iChipSelect(_alloc)
00039   , fAcclX(_alloc)
00040   , fAcclY(_alloc)
00041   , fRateZ(_alloc)
00042   {
00043   }
00044 
00045   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00046    ::std_msgs::Header_<ContainerAllocator>  header;
00047 
00048   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _strIdSubDev_type;
00049   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  strIdSubDev;
00050 
00051   typedef std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  _iChipSelect_type;
00052   std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  iChipSelect;
00053 
00054   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _fAcclX_type;
00055   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  fAcclX;
00056 
00057   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _fAcclY_type;
00058   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  fAcclY;
00059 
00060   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _fRateZ_type;
00061   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  fRateZ;
00062 
00063 
00064   typedef boost::shared_ptr< ::smi540::smi540meas_<ContainerAllocator> > Ptr;
00065   typedef boost::shared_ptr< ::smi540::smi540meas_<ContainerAllocator>  const> ConstPtr;
00066   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00067 }; // struct smi540meas
00068 typedef  ::smi540::smi540meas_<std::allocator<void> > smi540meas;
00069 
00070 typedef boost::shared_ptr< ::smi540::smi540meas> smi540measPtr;
00071 typedef boost::shared_ptr< ::smi540::smi540meas const> smi540measConstPtr;
00072 
00073 
00074 template<typename ContainerAllocator>
00075 std::ostream& operator<<(std::ostream& s, const  ::smi540::smi540meas_<ContainerAllocator> & v)
00076 {
00077   ros::message_operations::Printer< ::smi540::smi540meas_<ContainerAllocator> >::stream(s, "", v);
00078   return s;}
00079 
00080 } // namespace smi540
00081 
00082 namespace ros
00083 {
00084 namespace message_traits
00085 {
00086 template<class ContainerAllocator> struct IsMessage< ::smi540::smi540meas_<ContainerAllocator> > : public TrueType {};
00087 template<class ContainerAllocator> struct IsMessage< ::smi540::smi540meas_<ContainerAllocator>  const> : public TrueType {};
00088 template<class ContainerAllocator>
00089 struct MD5Sum< ::smi540::smi540meas_<ContainerAllocator> > {
00090   static const char* value() 
00091   {
00092     return "0dbe54f84ea8052406fa280d1c1f5801";
00093   }
00094 
00095   static const char* value(const  ::smi540::smi540meas_<ContainerAllocator> &) { return value(); } 
00096   static const uint64_t static_value1 = 0x0dbe54f84ea80524ULL;
00097   static const uint64_t static_value2 = 0x06fa280d1c1f5801ULL;
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct DataType< ::smi540::smi540meas_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "smi540/smi540meas";
00105   }
00106 
00107   static const char* value(const  ::smi540::smi540meas_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 template<class ContainerAllocator>
00111 struct Definition< ::smi540::smi540meas_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "Header header\n\
00115 string strIdSubDev\n\
00116 int16[] iChipSelect\n\
00117 float64[] fAcclX\n\
00118 float64[] fAcclY\n\
00119 float64[] fRateZ\n\
00120 \n\
00121 \n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: std_msgs/Header\n\
00125 # Standard metadata for higher-level stamped data types.\n\
00126 # This is generally used to communicate timestamped data \n\
00127 # in a particular coordinate frame.\n\
00128 # \n\
00129 # sequence ID: consecutively increasing ID \n\
00130 uint32 seq\n\
00131 #Two-integer timestamp that is expressed as:\n\
00132 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00133 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00134 # time-handling sugar is provided by the client library\n\
00135 time stamp\n\
00136 #Frame this data is associated with\n\
00137 # 0: no frame\n\
00138 # 1: global frame\n\
00139 string frame_id\n\
00140 \n\
00141 ";
00142   }
00143 
00144   static const char* value(const  ::smi540::smi540meas_<ContainerAllocator> &) { return value(); } 
00145 };
00146 
00147 template<class ContainerAllocator> struct HasHeader< ::smi540::smi540meas_<ContainerAllocator> > : public TrueType {};
00148 template<class ContainerAllocator> struct HasHeader< const ::smi540::smi540meas_<ContainerAllocator> > : public TrueType {};
00149 } // namespace message_traits
00150 } // namespace ros
00151 
00152 namespace ros
00153 {
00154 namespace serialization
00155 {
00156 
00157 template<class ContainerAllocator> struct Serializer< ::smi540::smi540meas_<ContainerAllocator> >
00158 {
00159   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00160   {
00161     stream.next(m.header);
00162     stream.next(m.strIdSubDev);
00163     stream.next(m.iChipSelect);
00164     stream.next(m.fAcclX);
00165     stream.next(m.fAcclY);
00166     stream.next(m.fRateZ);
00167   }
00168 
00169   ROS_DECLARE_ALLINONE_SERIALIZER;
00170 }; // struct smi540meas_
00171 } // namespace serialization
00172 } // namespace ros
00173 
00174 namespace ros
00175 {
00176 namespace message_operations
00177 {
00178 
00179 template<class ContainerAllocator>
00180 struct Printer< ::smi540::smi540meas_<ContainerAllocator> >
00181 {
00182   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::smi540::smi540meas_<ContainerAllocator> & v) 
00183   {
00184     s << indent << "header: ";
00185 s << std::endl;
00186     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00187     s << indent << "strIdSubDev: ";
00188     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.strIdSubDev);
00189     s << indent << "iChipSelect[]" << std::endl;
00190     for (size_t i = 0; i < v.iChipSelect.size(); ++i)
00191     {
00192       s << indent << "  iChipSelect[" << i << "]: ";
00193       Printer<int16_t>::stream(s, indent + "  ", v.iChipSelect[i]);
00194     }
00195     s << indent << "fAcclX[]" << std::endl;
00196     for (size_t i = 0; i < v.fAcclX.size(); ++i)
00197     {
00198       s << indent << "  fAcclX[" << i << "]: ";
00199       Printer<double>::stream(s, indent + "  ", v.fAcclX[i]);
00200     }
00201     s << indent << "fAcclY[]" << std::endl;
00202     for (size_t i = 0; i < v.fAcclY.size(); ++i)
00203     {
00204       s << indent << "  fAcclY[" << i << "]: ";
00205       Printer<double>::stream(s, indent + "  ", v.fAcclY[i]);
00206     }
00207     s << indent << "fRateZ[]" << std::endl;
00208     for (size_t i = 0; i < v.fRateZ.size(); ++i)
00209     {
00210       s << indent << "  fRateZ[" << i << "]: ";
00211       Printer<double>::stream(s, indent + "  ", v.fRateZ[i]);
00212     }
00213   }
00214 };
00215 
00216 
00217 } // namespace message_operations
00218 } // namespace ros
00219 
00220 #endif // SMI540_MESSAGE_SMI540MEAS_H
00221 


smi540
Author(s): Lukas Marti, Nikhil Deshpande (Maintained by Philip Roan)
autogenerated on Mon Oct 6 2014 10:10:21