Go to the documentation of this file.00001
00002 #ifndef APPLANIX_MSGS_MESSAGE_USERACCURACYSPECS_H
00003 #define APPLANIX_MSGS_MESSAGE_USERACCURACYSPECS_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 applanix_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct UserAccuracySpecs_ {
00022 typedef UserAccuracySpecs_<ContainerAllocator> Type;
00023
00024 UserAccuracySpecs_()
00025 : transaction(0)
00026 , user_altitude_accuracy(0.0)
00027 , user_heading_accuracy(0.0)
00028 , user_position_accuracy(0.0)
00029 , user_velocity_accuracy(0.0)
00030 {
00031 }
00032
00033 UserAccuracySpecs_(const ContainerAllocator& _alloc)
00034 : transaction(0)
00035 , user_altitude_accuracy(0.0)
00036 , user_heading_accuracy(0.0)
00037 , user_position_accuracy(0.0)
00038 , user_velocity_accuracy(0.0)
00039 {
00040 }
00041
00042 typedef uint16_t _transaction_type;
00043 uint16_t transaction;
00044
00045 typedef float _user_altitude_accuracy_type;
00046 float user_altitude_accuracy;
00047
00048 typedef float _user_heading_accuracy_type;
00049 float user_heading_accuracy;
00050
00051 typedef float _user_position_accuracy_type;
00052 float user_position_accuracy;
00053
00054 typedef float _user_velocity_accuracy_type;
00055 float user_velocity_accuracy;
00056
00057
00058 typedef boost::shared_ptr< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> > Ptr;
00059 typedef boost::shared_ptr< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> const> ConstPtr;
00060 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 };
00062 typedef ::applanix_msgs::UserAccuracySpecs_<std::allocator<void> > UserAccuracySpecs;
00063
00064 typedef boost::shared_ptr< ::applanix_msgs::UserAccuracySpecs> UserAccuracySpecsPtr;
00065 typedef boost::shared_ptr< ::applanix_msgs::UserAccuracySpecs const> UserAccuracySpecsConstPtr;
00066
00067
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> & v)
00070 {
00071 ros::message_operations::Printer< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> >::stream(s, "", v);
00072 return s;}
00073
00074 }
00075
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> > {
00084 static const char* value()
00085 {
00086 return "dc31cc9bf148c7ed0c8acd0efc6508d0";
00087 }
00088
00089 static const char* value(const ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> &) { return value(); }
00090 static const uint64_t static_value1 = 0xdc31cc9bf148c7edULL;
00091 static const uint64_t static_value2 = 0x0c8acd0efc6508d0ULL;
00092 };
00093
00094 template<class ContainerAllocator>
00095 struct DataType< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "applanix_msgs/UserAccuracySpecs";
00099 }
00100
00101 static const char* value(const ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> &) { return value(); }
00102 };
00103
00104 template<class ContainerAllocator>
00105 struct Definition< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "# Msg 24\n\
00109 uint16 transaction\n\
00110 \n\
00111 float32 user_altitude_accuracy\n\
00112 float32 user_heading_accuracy\n\
00113 float32 user_position_accuracy\n\
00114 float32 user_velocity_accuracy\n\
00115 \n\
00116 ";
00117 }
00118
00119 static const char* value(const ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> &) { return value(); }
00120 };
00121
00122 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> > : public TrueType {};
00123 }
00124 }
00125
00126 namespace ros
00127 {
00128 namespace serialization
00129 {
00130
00131 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> >
00132 {
00133 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00134 {
00135 stream.next(m.transaction);
00136 stream.next(m.user_altitude_accuracy);
00137 stream.next(m.user_heading_accuracy);
00138 stream.next(m.user_position_accuracy);
00139 stream.next(m.user_velocity_accuracy);
00140 }
00141
00142 ROS_DECLARE_ALLINONE_SERIALIZER;
00143 };
00144 }
00145 }
00146
00147 namespace ros
00148 {
00149 namespace message_operations
00150 {
00151
00152 template<class ContainerAllocator>
00153 struct Printer< ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> >
00154 {
00155 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::UserAccuracySpecs_<ContainerAllocator> & v)
00156 {
00157 s << indent << "transaction: ";
00158 Printer<uint16_t>::stream(s, indent + " ", v.transaction);
00159 s << indent << "user_altitude_accuracy: ";
00160 Printer<float>::stream(s, indent + " ", v.user_altitude_accuracy);
00161 s << indent << "user_heading_accuracy: ";
00162 Printer<float>::stream(s, indent + " ", v.user_heading_accuracy);
00163 s << indent << "user_position_accuracy: ";
00164 Printer<float>::stream(s, indent + " ", v.user_position_accuracy);
00165 s << indent << "user_velocity_accuracy: ";
00166 Printer<float>::stream(s, indent + " ", v.user_velocity_accuracy);
00167 }
00168 };
00169
00170
00171 }
00172 }
00173
00174 #endif // APPLANIX_MSGS_MESSAGE_USERACCURACYSPECS_H
00175