Go to the documentation of this file.00001
00002 #ifndef APM_MESSAGE_APM_ADC_H
00003 #define APM_MESSAGE_APM_ADC_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 apm
00019 {
00020 template <class ContainerAllocator>
00021 struct apm_adc_ {
00022 typedef apm_adc_<ContainerAllocator> Type;
00023
00024 apm_adc_()
00025 : A0(0)
00026 , A1(0)
00027 , A2(0)
00028 , A3(0)
00029 , A4(0)
00030 , A5(0)
00031 , A6(0)
00032 , A7(0)
00033 {
00034 }
00035
00036 apm_adc_(const ContainerAllocator& _alloc)
00037 : A0(0)
00038 , A1(0)
00039 , A2(0)
00040 , A3(0)
00041 , A4(0)
00042 , A5(0)
00043 , A6(0)
00044 , A7(0)
00045 {
00046 }
00047
00048 typedef uint16_t _A0_type;
00049 uint16_t A0;
00050
00051 typedef uint16_t _A1_type;
00052 uint16_t A1;
00053
00054 typedef uint16_t _A2_type;
00055 uint16_t A2;
00056
00057 typedef uint16_t _A3_type;
00058 uint16_t A3;
00059
00060 typedef uint16_t _A4_type;
00061 uint16_t A4;
00062
00063 typedef uint16_t _A5_type;
00064 uint16_t A5;
00065
00066 typedef uint16_t _A6_type;
00067 uint16_t A6;
00068
00069 typedef uint16_t _A7_type;
00070 uint16_t A7;
00071
00072
00073 typedef boost::shared_ptr< ::apm::apm_adc_<ContainerAllocator> > Ptr;
00074 typedef boost::shared_ptr< ::apm::apm_adc_<ContainerAllocator> const> ConstPtr;
00075 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00076 };
00077 typedef ::apm::apm_adc_<std::allocator<void> > apm_adc;
00078
00079 typedef boost::shared_ptr< ::apm::apm_adc> apm_adcPtr;
00080 typedef boost::shared_ptr< ::apm::apm_adc const> apm_adcConstPtr;
00081
00082
00083 template<typename ContainerAllocator>
00084 std::ostream& operator<<(std::ostream& s, const ::apm::apm_adc_<ContainerAllocator> & v)
00085 {
00086 ros::message_operations::Printer< ::apm::apm_adc_<ContainerAllocator> >::stream(s, "", v);
00087 return s;}
00088
00089 }
00090
00091 namespace ros
00092 {
00093 namespace message_traits
00094 {
00095 template<class ContainerAllocator> struct IsMessage< ::apm::apm_adc_<ContainerAllocator> > : public TrueType {};
00096 template<class ContainerAllocator> struct IsMessage< ::apm::apm_adc_<ContainerAllocator> const> : public TrueType {};
00097 template<class ContainerAllocator>
00098 struct MD5Sum< ::apm::apm_adc_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "5d009541046908a1e7a9f62e0bb7a56e";
00102 }
00103
00104 static const char* value(const ::apm::apm_adc_<ContainerAllocator> &) { return value(); }
00105 static const uint64_t static_value1 = 0x5d009541046908a1ULL;
00106 static const uint64_t static_value2 = 0xe7a9f62e0bb7a56eULL;
00107 };
00108
00109 template<class ContainerAllocator>
00110 struct DataType< ::apm::apm_adc_<ContainerAllocator> > {
00111 static const char* value()
00112 {
00113 return "apm/apm_adc";
00114 }
00115
00116 static const char* value(const ::apm::apm_adc_<ContainerAllocator> &) { return value(); }
00117 };
00118
00119 template<class ContainerAllocator>
00120 struct Definition< ::apm::apm_adc_<ContainerAllocator> > {
00121 static const char* value()
00122 {
00123 return "uint16 A0\n\
00124 uint16 A1\n\
00125 uint16 A2\n\
00126 uint16 A3\n\
00127 uint16 A4\n\
00128 uint16 A5\n\
00129 uint16 A6\n\
00130 uint16 A7\n\
00131 \n\
00132 ";
00133 }
00134
00135 static const char* value(const ::apm::apm_adc_<ContainerAllocator> &) { return value(); }
00136 };
00137
00138 template<class ContainerAllocator> struct IsFixedSize< ::apm::apm_adc_<ContainerAllocator> > : public TrueType {};
00139 }
00140 }
00141
00142 namespace ros
00143 {
00144 namespace serialization
00145 {
00146
00147 template<class ContainerAllocator> struct Serializer< ::apm::apm_adc_<ContainerAllocator> >
00148 {
00149 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00150 {
00151 stream.next(m.A0);
00152 stream.next(m.A1);
00153 stream.next(m.A2);
00154 stream.next(m.A3);
00155 stream.next(m.A4);
00156 stream.next(m.A5);
00157 stream.next(m.A6);
00158 stream.next(m.A7);
00159 }
00160
00161 ROS_DECLARE_ALLINONE_SERIALIZER;
00162 };
00163 }
00164 }
00165
00166 namespace ros
00167 {
00168 namespace message_operations
00169 {
00170
00171 template<class ContainerAllocator>
00172 struct Printer< ::apm::apm_adc_<ContainerAllocator> >
00173 {
00174 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::apm::apm_adc_<ContainerAllocator> & v)
00175 {
00176 s << indent << "A0: ";
00177 Printer<uint16_t>::stream(s, indent + " ", v.A0);
00178 s << indent << "A1: ";
00179 Printer<uint16_t>::stream(s, indent + " ", v.A1);
00180 s << indent << "A2: ";
00181 Printer<uint16_t>::stream(s, indent + " ", v.A2);
00182 s << indent << "A3: ";
00183 Printer<uint16_t>::stream(s, indent + " ", v.A3);
00184 s << indent << "A4: ";
00185 Printer<uint16_t>::stream(s, indent + " ", v.A4);
00186 s << indent << "A5: ";
00187 Printer<uint16_t>::stream(s, indent + " ", v.A5);
00188 s << indent << "A6: ";
00189 Printer<uint16_t>::stream(s, indent + " ", v.A6);
00190 s << indent << "A7: ";
00191 Printer<uint16_t>::stream(s, indent + " ", v.A7);
00192 }
00193 };
00194
00195
00196 }
00197 }
00198
00199 #endif // APM_MESSAGE_APM_ADC_H
00200