$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-bosch_drivers/doc_stacks/2013-03-03_11-06-04.980567/bosch_drivers/adc_sub20/msg/sub20_ADC_err.msg */ 00002 #ifndef ADC_SUB20_MESSAGE_SUB20_ADC_ERR_H 00003 #define ADC_SUB20_MESSAGE_SUB20_ADC_ERR_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_err_ { 00023 typedef sub20_ADC_err_<ContainerAllocator> Type; 00024 00025 sub20_ADC_err_() 00026 : header() 00027 , strErrMessage() 00028 { 00029 } 00030 00031 sub20_ADC_err_(const ContainerAllocator& _alloc) 00032 : header(_alloc) 00033 , strErrMessage(_alloc) 00034 { 00035 } 00036 00037 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00038 ::std_msgs::Header_<ContainerAllocator> header; 00039 00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _strErrMessage_type; 00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > strErrMessage; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "adc_sub20/sub20_ADC_err"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "e22867bb71c25a46586924f4cb488c56"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "Header header\n\ 00060 string strErrMessage\n\ 00061 ================================================================================\n\ 00062 MSG: std_msgs/Header\n\ 00063 # Standard metadata for higher-level stamped data types.\n\ 00064 # This is generally used to communicate timestamped data \n\ 00065 # in a particular coordinate frame.\n\ 00066 # \n\ 00067 # sequence ID: consecutively increasing ID \n\ 00068 uint32 seq\n\ 00069 #Two-integer timestamp that is expressed as:\n\ 00070 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00071 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00072 # time-handling sugar is provided by the client library\n\ 00073 time stamp\n\ 00074 #Frame this data is associated with\n\ 00075 # 0: no frame\n\ 00076 # 1: global frame\n\ 00077 string frame_id\n\ 00078 \n\ 00079 "; } 00080 public: 00081 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00082 00083 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00084 00085 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00086 { 00087 ros::serialization::OStream stream(write_ptr, 1000000000); 00088 ros::serialization::serialize(stream, header); 00089 ros::serialization::serialize(stream, strErrMessage); 00090 return stream.getData(); 00091 } 00092 00093 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00094 { 00095 ros::serialization::IStream stream(read_ptr, 1000000000); 00096 ros::serialization::deserialize(stream, header); 00097 ros::serialization::deserialize(stream, strErrMessage); 00098 return stream.getData(); 00099 } 00100 00101 ROS_DEPRECATED virtual uint32_t serializationLength() const 00102 { 00103 uint32_t size = 0; 00104 size += ros::serialization::serializationLength(header); 00105 size += ros::serialization::serializationLength(strErrMessage); 00106 return size; 00107 } 00108 00109 typedef boost::shared_ptr< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> > Ptr; 00110 typedef boost::shared_ptr< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> const> ConstPtr; 00111 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00112 }; // struct sub20_ADC_err 00113 typedef ::adc_sub20::sub20_ADC_err_<std::allocator<void> > sub20_ADC_err; 00114 00115 typedef boost::shared_ptr< ::adc_sub20::sub20_ADC_err> sub20_ADC_errPtr; 00116 typedef boost::shared_ptr< ::adc_sub20::sub20_ADC_err const> sub20_ADC_errConstPtr; 00117 00118 00119 template<typename ContainerAllocator> 00120 std::ostream& operator<<(std::ostream& s, const ::adc_sub20::sub20_ADC_err_<ContainerAllocator> & v) 00121 { 00122 ros::message_operations::Printer< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> >::stream(s, "", v); 00123 return s;} 00124 00125 } // namespace adc_sub20 00126 00127 namespace ros 00128 { 00129 namespace message_traits 00130 { 00131 template<class ContainerAllocator> struct IsMessage< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> > : public TrueType {}; 00132 template<class ContainerAllocator> struct IsMessage< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> const> : public TrueType {}; 00133 template<class ContainerAllocator> 00134 struct MD5Sum< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> > { 00135 static const char* value() 00136 { 00137 return "e22867bb71c25a46586924f4cb488c56"; 00138 } 00139 00140 static const char* value(const ::adc_sub20::sub20_ADC_err_<ContainerAllocator> &) { return value(); } 00141 static const uint64_t static_value1 = 0xe22867bb71c25a46ULL; 00142 static const uint64_t static_value2 = 0x586924f4cb488c56ULL; 00143 }; 00144 00145 template<class ContainerAllocator> 00146 struct DataType< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> > { 00147 static const char* value() 00148 { 00149 return "adc_sub20/sub20_ADC_err"; 00150 } 00151 00152 static const char* value(const ::adc_sub20::sub20_ADC_err_<ContainerAllocator> &) { return value(); } 00153 }; 00154 00155 template<class ContainerAllocator> 00156 struct Definition< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> > { 00157 static const char* value() 00158 { 00159 return "Header header\n\ 00160 string strErrMessage\n\ 00161 ================================================================================\n\ 00162 MSG: std_msgs/Header\n\ 00163 # Standard metadata for higher-level stamped data types.\n\ 00164 # This is generally used to communicate timestamped data \n\ 00165 # in a particular coordinate frame.\n\ 00166 # \n\ 00167 # sequence ID: consecutively increasing ID \n\ 00168 uint32 seq\n\ 00169 #Two-integer timestamp that is expressed as:\n\ 00170 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00171 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00172 # time-handling sugar is provided by the client library\n\ 00173 time stamp\n\ 00174 #Frame this data is associated with\n\ 00175 # 0: no frame\n\ 00176 # 1: global frame\n\ 00177 string frame_id\n\ 00178 \n\ 00179 "; 00180 } 00181 00182 static const char* value(const ::adc_sub20::sub20_ADC_err_<ContainerAllocator> &) { return value(); } 00183 }; 00184 00185 template<class ContainerAllocator> struct HasHeader< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> > : public TrueType {}; 00186 template<class ContainerAllocator> struct HasHeader< const ::adc_sub20::sub20_ADC_err_<ContainerAllocator> > : public TrueType {}; 00187 } // namespace message_traits 00188 } // namespace ros 00189 00190 namespace ros 00191 { 00192 namespace serialization 00193 { 00194 00195 template<class ContainerAllocator> struct Serializer< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> > 00196 { 00197 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00198 { 00199 stream.next(m.header); 00200 stream.next(m.strErrMessage); 00201 } 00202 00203 ROS_DECLARE_ALLINONE_SERIALIZER; 00204 }; // struct sub20_ADC_err_ 00205 } // namespace serialization 00206 } // namespace ros 00207 00208 namespace ros 00209 { 00210 namespace message_operations 00211 { 00212 00213 template<class ContainerAllocator> 00214 struct Printer< ::adc_sub20::sub20_ADC_err_<ContainerAllocator> > 00215 { 00216 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::adc_sub20::sub20_ADC_err_<ContainerAllocator> & v) 00217 { 00218 s << indent << "header: "; 00219 s << std::endl; 00220 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00221 s << indent << "strErrMessage: "; 00222 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.strErrMessage); 00223 } 00224 }; 00225 00226 00227 } // namespace message_operations 00228 } // namespace ros 00229 00230 #endif // ADC_SUB20_MESSAGE_SUB20_ADC_ERR_H 00231