$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-tu-darmstadt-ros-pkg/doc_stacks/2013-03-05_12-22-58.304137/ublox/ublox_msgs/msg/NavSBAS_SV.msg */ 00002 #ifndef UBLOX_MSGS_MESSAGE_NAVSBAS_SV_H 00003 #define UBLOX_MSGS_MESSAGE_NAVSBAS_SV_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 ublox_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct NavSBAS_SV_ { 00022 typedef NavSBAS_SV_<ContainerAllocator> Type; 00023 00024 NavSBAS_SV_() 00025 : svid(0) 00026 , flags(0) 00027 , udre(0) 00028 , svSys(0) 00029 , svService(0) 00030 , reserved1(0) 00031 , prc(0) 00032 , reserved2(0) 00033 , ic(0) 00034 { 00035 } 00036 00037 NavSBAS_SV_(const ContainerAllocator& _alloc) 00038 : svid(0) 00039 , flags(0) 00040 , udre(0) 00041 , svSys(0) 00042 , svService(0) 00043 , reserved1(0) 00044 , prc(0) 00045 , reserved2(0) 00046 , ic(0) 00047 { 00048 } 00049 00050 typedef uint8_t _svid_type; 00051 uint8_t svid; 00052 00053 typedef uint8_t _flags_type; 00054 uint8_t flags; 00055 00056 typedef uint8_t _udre_type; 00057 uint8_t udre; 00058 00059 typedef uint8_t _svSys_type; 00060 uint8_t svSys; 00061 00062 typedef uint8_t _svService_type; 00063 uint8_t svService; 00064 00065 typedef uint8_t _reserved1_type; 00066 uint8_t reserved1; 00067 00068 typedef int16_t _prc_type; 00069 int16_t prc; 00070 00071 typedef uint16_t _reserved2_type; 00072 uint16_t reserved2; 00073 00074 typedef int16_t _ic_type; 00075 int16_t ic; 00076 00077 00078 private: 00079 static const char* __s_getDataType_() { return "ublox_msgs/NavSBAS_SV"; } 00080 public: 00081 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00082 00083 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00084 00085 private: 00086 static const char* __s_getMD5Sum_() { return "45259031fe19a4df2f5a4a667356a0bc"; } 00087 public: 00088 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00089 00090 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00091 00092 private: 00093 static const char* __s_getMessageDefinition_() { return "# see message NavSBAS\n\ 00094 #\n\ 00095 \n\ 00096 uint8 svid # SV Id\n\ 00097 uint8 flags # Flags for this SV\n\ 00098 uint8 udre # Monitoring status\n\ 00099 uint8 svSys # System (WAAS/EGNOS/...), same as SYS\n\ 00100 uint8 svService # Services available, same as SERVICE\n\ 00101 uint8 reserved1 # Reserved\n\ 00102 int16 prc # Pseudo Range correction in [cm]\n\ 00103 uint16 reserved2 # Reserved\n\ 00104 int16 ic # Ionosphere correction in [cm]\n\ 00105 \n\ 00106 "; } 00107 public: 00108 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00109 00110 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00111 00112 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00113 { 00114 ros::serialization::OStream stream(write_ptr, 1000000000); 00115 ros::serialization::serialize(stream, svid); 00116 ros::serialization::serialize(stream, flags); 00117 ros::serialization::serialize(stream, udre); 00118 ros::serialization::serialize(stream, svSys); 00119 ros::serialization::serialize(stream, svService); 00120 ros::serialization::serialize(stream, reserved1); 00121 ros::serialization::serialize(stream, prc); 00122 ros::serialization::serialize(stream, reserved2); 00123 ros::serialization::serialize(stream, ic); 00124 return stream.getData(); 00125 } 00126 00127 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00128 { 00129 ros::serialization::IStream stream(read_ptr, 1000000000); 00130 ros::serialization::deserialize(stream, svid); 00131 ros::serialization::deserialize(stream, flags); 00132 ros::serialization::deserialize(stream, udre); 00133 ros::serialization::deserialize(stream, svSys); 00134 ros::serialization::deserialize(stream, svService); 00135 ros::serialization::deserialize(stream, reserved1); 00136 ros::serialization::deserialize(stream, prc); 00137 ros::serialization::deserialize(stream, reserved2); 00138 ros::serialization::deserialize(stream, ic); 00139 return stream.getData(); 00140 } 00141 00142 ROS_DEPRECATED virtual uint32_t serializationLength() const 00143 { 00144 uint32_t size = 0; 00145 size += ros::serialization::serializationLength(svid); 00146 size += ros::serialization::serializationLength(flags); 00147 size += ros::serialization::serializationLength(udre); 00148 size += ros::serialization::serializationLength(svSys); 00149 size += ros::serialization::serializationLength(svService); 00150 size += ros::serialization::serializationLength(reserved1); 00151 size += ros::serialization::serializationLength(prc); 00152 size += ros::serialization::serializationLength(reserved2); 00153 size += ros::serialization::serializationLength(ic); 00154 return size; 00155 } 00156 00157 typedef boost::shared_ptr< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > Ptr; 00158 typedef boost::shared_ptr< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> const> ConstPtr; 00159 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00160 }; // struct NavSBAS_SV 00161 typedef ::ublox_msgs::NavSBAS_SV_<std::allocator<void> > NavSBAS_SV; 00162 00163 typedef boost::shared_ptr< ::ublox_msgs::NavSBAS_SV> NavSBAS_SVPtr; 00164 typedef boost::shared_ptr< ::ublox_msgs::NavSBAS_SV const> NavSBAS_SVConstPtr; 00165 00166 00167 template<typename ContainerAllocator> 00168 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> & v) 00169 { 00170 ros::message_operations::Printer< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> >::stream(s, "", v); 00171 return s;} 00172 00173 } // namespace ublox_msgs 00174 00175 namespace ros 00176 { 00177 namespace message_traits 00178 { 00179 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > : public TrueType {}; 00180 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> const> : public TrueType {}; 00181 template<class ContainerAllocator> 00182 struct MD5Sum< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > { 00183 static const char* value() 00184 { 00185 return "45259031fe19a4df2f5a4a667356a0bc"; 00186 } 00187 00188 static const char* value(const ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> &) { return value(); } 00189 static const uint64_t static_value1 = 0x45259031fe19a4dfULL; 00190 static const uint64_t static_value2 = 0x2f5a4a667356a0bcULL; 00191 }; 00192 00193 template<class ContainerAllocator> 00194 struct DataType< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > { 00195 static const char* value() 00196 { 00197 return "ublox_msgs/NavSBAS_SV"; 00198 } 00199 00200 static const char* value(const ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> &) { return value(); } 00201 }; 00202 00203 template<class ContainerAllocator> 00204 struct Definition< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > { 00205 static const char* value() 00206 { 00207 return "# see message NavSBAS\n\ 00208 #\n\ 00209 \n\ 00210 uint8 svid # SV Id\n\ 00211 uint8 flags # Flags for this SV\n\ 00212 uint8 udre # Monitoring status\n\ 00213 uint8 svSys # System (WAAS/EGNOS/...), same as SYS\n\ 00214 uint8 svService # Services available, same as SERVICE\n\ 00215 uint8 reserved1 # Reserved\n\ 00216 int16 prc # Pseudo Range correction in [cm]\n\ 00217 uint16 reserved2 # Reserved\n\ 00218 int16 ic # Ionosphere correction in [cm]\n\ 00219 \n\ 00220 "; 00221 } 00222 00223 static const char* value(const ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> &) { return value(); } 00224 }; 00225 00226 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > : public TrueType {}; 00227 } // namespace message_traits 00228 } // namespace ros 00229 00230 namespace ros 00231 { 00232 namespace serialization 00233 { 00234 00235 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > 00236 { 00237 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00238 { 00239 stream.next(m.svid); 00240 stream.next(m.flags); 00241 stream.next(m.udre); 00242 stream.next(m.svSys); 00243 stream.next(m.svService); 00244 stream.next(m.reserved1); 00245 stream.next(m.prc); 00246 stream.next(m.reserved2); 00247 stream.next(m.ic); 00248 } 00249 00250 ROS_DECLARE_ALLINONE_SERIALIZER; 00251 }; // struct NavSBAS_SV_ 00252 } // namespace serialization 00253 } // namespace ros 00254 00255 namespace ros 00256 { 00257 namespace message_operations 00258 { 00259 00260 template<class ContainerAllocator> 00261 struct Printer< ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> > 00262 { 00263 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavSBAS_SV_<ContainerAllocator> & v) 00264 { 00265 s << indent << "svid: "; 00266 Printer<uint8_t>::stream(s, indent + " ", v.svid); 00267 s << indent << "flags: "; 00268 Printer<uint8_t>::stream(s, indent + " ", v.flags); 00269 s << indent << "udre: "; 00270 Printer<uint8_t>::stream(s, indent + " ", v.udre); 00271 s << indent << "svSys: "; 00272 Printer<uint8_t>::stream(s, indent + " ", v.svSys); 00273 s << indent << "svService: "; 00274 Printer<uint8_t>::stream(s, indent + " ", v.svService); 00275 s << indent << "reserved1: "; 00276 Printer<uint8_t>::stream(s, indent + " ", v.reserved1); 00277 s << indent << "prc: "; 00278 Printer<int16_t>::stream(s, indent + " ", v.prc); 00279 s << indent << "reserved2: "; 00280 Printer<uint16_t>::stream(s, indent + " ", v.reserved2); 00281 s << indent << "ic: "; 00282 Printer<int16_t>::stream(s, indent + " ", v.ic); 00283 } 00284 }; 00285 00286 00287 } // namespace message_operations 00288 } // namespace ros 00289 00290 #endif // UBLOX_MSGS_MESSAGE_NAVSBAS_SV_H 00291