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