Version.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/Version.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_VERSION_H
00003 #define APPLANIX_MSGS_MESSAGE_VERSION_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 "applanix_msgs/TimeDistance.h"
00018 
00019 namespace applanix_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct Version_ {
00023   typedef Version_<ContainerAllocator> Type;
00024 
00025   Version_()
00026   : td()
00027   , system_version()
00028   , primary_gnss_version()
00029   , secondary_gnss_version()
00030   , total_hours(0.0)
00031   , num_runs(0)
00032   , avg_run_length(0.0)
00033   , longest_run(0.0)
00034   , current_run(0.0)
00035   {
00036     system_version.assign(0);
00037     primary_gnss_version.assign(0);
00038     secondary_gnss_version.assign(0);
00039   }
00040 
00041   Version_(const ContainerAllocator& _alloc)
00042   : td(_alloc)
00043   , system_version()
00044   , primary_gnss_version()
00045   , secondary_gnss_version()
00046   , total_hours(0.0)
00047   , num_runs(0)
00048   , avg_run_length(0.0)
00049   , longest_run(0.0)
00050   , current_run(0.0)
00051   {
00052     system_version.assign(0);
00053     primary_gnss_version.assign(0);
00054     secondary_gnss_version.assign(0);
00055   }
00056 
00057   typedef  ::applanix_msgs::TimeDistance_<ContainerAllocator>  _td_type;
00058    ::applanix_msgs::TimeDistance_<ContainerAllocator>  td;
00059 
00060   typedef boost::array<uint8_t, 120>  _system_version_type;
00061   boost::array<uint8_t, 120>  system_version;
00062 
00063   typedef boost::array<uint8_t, 80>  _primary_gnss_version_type;
00064   boost::array<uint8_t, 80>  primary_gnss_version;
00065 
00066   typedef boost::array<uint8_t, 80>  _secondary_gnss_version_type;
00067   boost::array<uint8_t, 80>  secondary_gnss_version;
00068 
00069   typedef float _total_hours_type;
00070   float total_hours;
00071 
00072   typedef uint32_t _num_runs_type;
00073   uint32_t num_runs;
00074 
00075   typedef float _avg_run_length_type;
00076   float avg_run_length;
00077 
00078   typedef float _longest_run_type;
00079   float longest_run;
00080 
00081   typedef float _current_run_type;
00082   float current_run;
00083 
00084 
00085   typedef boost::shared_ptr< ::applanix_msgs::Version_<ContainerAllocator> > Ptr;
00086   typedef boost::shared_ptr< ::applanix_msgs::Version_<ContainerAllocator>  const> ConstPtr;
00087   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00088 }; // struct Version
00089 typedef  ::applanix_msgs::Version_<std::allocator<void> > Version;
00090 
00091 typedef boost::shared_ptr< ::applanix_msgs::Version> VersionPtr;
00092 typedef boost::shared_ptr< ::applanix_msgs::Version const> VersionConstPtr;
00093 
00094 
00095 template<typename ContainerAllocator>
00096 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::Version_<ContainerAllocator> & v)
00097 {
00098   ros::message_operations::Printer< ::applanix_msgs::Version_<ContainerAllocator> >::stream(s, "", v);
00099   return s;}
00100 
00101 } // namespace applanix_msgs
00102 
00103 namespace ros
00104 {
00105 namespace message_traits
00106 {
00107 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::Version_<ContainerAllocator> > : public TrueType {};
00108 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::Version_<ContainerAllocator>  const> : public TrueType {};
00109 template<class ContainerAllocator>
00110 struct MD5Sum< ::applanix_msgs::Version_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "436db5a21d31ed873f1f24270392aeca";
00114   }
00115 
00116   static const char* value(const  ::applanix_msgs::Version_<ContainerAllocator> &) { return value(); } 
00117   static const uint64_t static_value1 = 0x436db5a21d31ed87ULL;
00118   static const uint64_t static_value2 = 0x3f1f24270392aecaULL;
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct DataType< ::applanix_msgs::Version_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "applanix_msgs/Version";
00126   }
00127 
00128   static const char* value(const  ::applanix_msgs::Version_<ContainerAllocator> &) { return value(); } 
00129 };
00130 
00131 template<class ContainerAllocator>
00132 struct Definition< ::applanix_msgs::Version_<ContainerAllocator> > {
00133   static const char* value() 
00134   {
00135     return "# Group 99\n\
00136 TimeDistance td\n\
00137 \n\
00138 uint8[120] system_version\n\
00139 uint8[80] primary_gnss_version\n\
00140 uint8[80] secondary_gnss_version\n\
00141 \n\
00142 float32 total_hours\n\
00143 uint32 num_runs\n\
00144 float32 avg_run_length\n\
00145 float32 longest_run\n\
00146 float32 current_run\n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: applanix_msgs/TimeDistance\n\
00150 float64 time1\n\
00151 float64 time2\n\
00152 float64 distance\n\
00153 uint8 time_types\n\
00154 uint8 distance_type\n\
00155 \n\
00156 ";
00157   }
00158 
00159   static const char* value(const  ::applanix_msgs::Version_<ContainerAllocator> &) { return value(); } 
00160 };
00161 
00162 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::Version_<ContainerAllocator> > : public TrueType {};
00163 } // namespace message_traits
00164 } // namespace ros
00165 
00166 namespace ros
00167 {
00168 namespace serialization
00169 {
00170 
00171 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::Version_<ContainerAllocator> >
00172 {
00173   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00174   {
00175     stream.next(m.td);
00176     stream.next(m.system_version);
00177     stream.next(m.primary_gnss_version);
00178     stream.next(m.secondary_gnss_version);
00179     stream.next(m.total_hours);
00180     stream.next(m.num_runs);
00181     stream.next(m.avg_run_length);
00182     stream.next(m.longest_run);
00183     stream.next(m.current_run);
00184   }
00185 
00186   ROS_DECLARE_ALLINONE_SERIALIZER;
00187 }; // struct Version_
00188 } // namespace serialization
00189 } // namespace ros
00190 
00191 namespace ros
00192 {
00193 namespace message_operations
00194 {
00195 
00196 template<class ContainerAllocator>
00197 struct Printer< ::applanix_msgs::Version_<ContainerAllocator> >
00198 {
00199   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::Version_<ContainerAllocator> & v) 
00200   {
00201     s << indent << "td: ";
00202 s << std::endl;
00203     Printer< ::applanix_msgs::TimeDistance_<ContainerAllocator> >::stream(s, indent + "  ", v.td);
00204     s << indent << "system_version[]" << std::endl;
00205     for (size_t i = 0; i < v.system_version.size(); ++i)
00206     {
00207       s << indent << "  system_version[" << i << "]: ";
00208       Printer<uint8_t>::stream(s, indent + "  ", v.system_version[i]);
00209     }
00210     s << indent << "primary_gnss_version[]" << std::endl;
00211     for (size_t i = 0; i < v.primary_gnss_version.size(); ++i)
00212     {
00213       s << indent << "  primary_gnss_version[" << i << "]: ";
00214       Printer<uint8_t>::stream(s, indent + "  ", v.primary_gnss_version[i]);
00215     }
00216     s << indent << "secondary_gnss_version[]" << std::endl;
00217     for (size_t i = 0; i < v.secondary_gnss_version.size(); ++i)
00218     {
00219       s << indent << "  secondary_gnss_version[" << i << "]: ";
00220       Printer<uint8_t>::stream(s, indent + "  ", v.secondary_gnss_version[i]);
00221     }
00222     s << indent << "total_hours: ";
00223     Printer<float>::stream(s, indent + "  ", v.total_hours);
00224     s << indent << "num_runs: ";
00225     Printer<uint32_t>::stream(s, indent + "  ", v.num_runs);
00226     s << indent << "avg_run_length: ";
00227     Printer<float>::stream(s, indent + "  ", v.avg_run_length);
00228     s << indent << "longest_run: ";
00229     Printer<float>::stream(s, indent + "  ", v.longest_run);
00230     s << indent << "current_run: ";
00231     Printer<float>::stream(s, indent + "  ", v.current_run);
00232   }
00233 };
00234 
00235 
00236 } // namespace message_operations
00237 } // namespace ros
00238 
00239 #endif // APPLANIX_MSGS_MESSAGE_VERSION_H
00240 


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