PreciseGravitySpecs.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-applanix_driver/doc_stacks/2014-01-02_11-02-36.446834/applanix_driver/applanix_msgs/msg/PreciseGravitySpecs.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_PRECISEGRAVITYSPECS_H
00003 #define APPLANIX_MSGS_MESSAGE_PRECISEGRAVITYSPECS_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 PreciseGravitySpecs_ {
00022   typedef PreciseGravitySpecs_<ContainerAllocator> Type;
00023 
00024   PreciseGravitySpecs_()
00025   : transaction(0)
00026   , gravity_magnitude(0.0)
00027   , north_deflection(0.0)
00028   , east_deflection(0.0)
00029   , latitude_of_validity(0.0)
00030   , longitude_of_validity(0.0)
00031   , altitude_of_validity(0.0)
00032   {
00033   }
00034 
00035   PreciseGravitySpecs_(const ContainerAllocator& _alloc)
00036   : transaction(0)
00037   , gravity_magnitude(0.0)
00038   , north_deflection(0.0)
00039   , east_deflection(0.0)
00040   , latitude_of_validity(0.0)
00041   , longitude_of_validity(0.0)
00042   , altitude_of_validity(0.0)
00043   {
00044   }
00045 
00046   typedef uint16_t _transaction_type;
00047   uint16_t transaction;
00048 
00049   typedef double _gravity_magnitude_type;
00050   double gravity_magnitude;
00051 
00052   typedef double _north_deflection_type;
00053   double north_deflection;
00054 
00055   typedef double _east_deflection_type;
00056   double east_deflection;
00057 
00058   typedef double _latitude_of_validity_type;
00059   double latitude_of_validity;
00060 
00061   typedef double _longitude_of_validity_type;
00062   double longitude_of_validity;
00063 
00064   typedef double _altitude_of_validity_type;
00065   double altitude_of_validity;
00066 
00067 
00068   typedef boost::shared_ptr< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> > Ptr;
00069   typedef boost::shared_ptr< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator>  const> ConstPtr;
00070   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00071 }; // struct PreciseGravitySpecs
00072 typedef  ::applanix_msgs::PreciseGravitySpecs_<std::allocator<void> > PreciseGravitySpecs;
00073 
00074 typedef boost::shared_ptr< ::applanix_msgs::PreciseGravitySpecs> PreciseGravitySpecsPtr;
00075 typedef boost::shared_ptr< ::applanix_msgs::PreciseGravitySpecs const> PreciseGravitySpecsConstPtr;
00076 
00077 
00078 template<typename ContainerAllocator>
00079 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> & v)
00080 {
00081   ros::message_operations::Printer< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> >::stream(s, "", v);
00082   return s;}
00083 
00084 } // namespace applanix_msgs
00085 
00086 namespace ros
00087 {
00088 namespace message_traits
00089 {
00090 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> > : public TrueType {};
00091 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator>  const> : public TrueType {};
00092 template<class ContainerAllocator>
00093 struct MD5Sum< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "60a1e48489b4ff46feb6027343f9931a";
00097   }
00098 
00099   static const char* value(const  ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> &) { return value(); } 
00100   static const uint64_t static_value1 = 0x60a1e48489b4ff46ULL;
00101   static const uint64_t static_value2 = 0xfeb6027343f9931aULL;
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct DataType< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "applanix_msgs/PreciseGravitySpecs";
00109   }
00110 
00111   static const char* value(const  ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> &) { return value(); } 
00112 };
00113 
00114 template<class ContainerAllocator>
00115 struct Definition< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "# Msg 40\n\
00119 uint16 transaction\n\
00120 \n\
00121 float64 gravity_magnitude\n\
00122 \n\
00123 float64 north_deflection\n\
00124 float64 east_deflection\n\
00125 \n\
00126 float64 latitude_of_validity\n\
00127 float64 longitude_of_validity\n\
00128 float64 altitude_of_validity\n\
00129 \n\
00130 ";
00131   }
00132 
00133   static const char* value(const  ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> &) { return value(); } 
00134 };
00135 
00136 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> > : public TrueType {};
00137 } // namespace message_traits
00138 } // namespace ros
00139 
00140 namespace ros
00141 {
00142 namespace serialization
00143 {
00144 
00145 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> >
00146 {
00147   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00148   {
00149     stream.next(m.transaction);
00150     stream.next(m.gravity_magnitude);
00151     stream.next(m.north_deflection);
00152     stream.next(m.east_deflection);
00153     stream.next(m.latitude_of_validity);
00154     stream.next(m.longitude_of_validity);
00155     stream.next(m.altitude_of_validity);
00156   }
00157 
00158   ROS_DECLARE_ALLINONE_SERIALIZER;
00159 }; // struct PreciseGravitySpecs_
00160 } // namespace serialization
00161 } // namespace ros
00162 
00163 namespace ros
00164 {
00165 namespace message_operations
00166 {
00167 
00168 template<class ContainerAllocator>
00169 struct Printer< ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> >
00170 {
00171   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::PreciseGravitySpecs_<ContainerAllocator> & v) 
00172   {
00173     s << indent << "transaction: ";
00174     Printer<uint16_t>::stream(s, indent + "  ", v.transaction);
00175     s << indent << "gravity_magnitude: ";
00176     Printer<double>::stream(s, indent + "  ", v.gravity_magnitude);
00177     s << indent << "north_deflection: ";
00178     Printer<double>::stream(s, indent + "  ", v.north_deflection);
00179     s << indent << "east_deflection: ";
00180     Printer<double>::stream(s, indent + "  ", v.east_deflection);
00181     s << indent << "latitude_of_validity: ";
00182     Printer<double>::stream(s, indent + "  ", v.latitude_of_validity);
00183     s << indent << "longitude_of_validity: ";
00184     Printer<double>::stream(s, indent + "  ", v.longitude_of_validity);
00185     s << indent << "altitude_of_validity: ";
00186     Printer<double>::stream(s, indent + "  ", v.altitude_of_validity);
00187   }
00188 };
00189 
00190 
00191 } // namespace message_operations
00192 } // namespace ros
00193 
00194 #endif // APPLANIX_MSGS_MESSAGE_PRECISEGRAVITYSPECS_H
00195 


applanix_msgs
Author(s): Mike Purvis
autogenerated on Thu Jan 2 2014 11:04:51