Conversions.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-art_vehicle/doc_stacks/2014-01-03_11-05-32.392273/art_vehicle/art_msgs/msg/Conversions.msg */
00002 #ifndef ART_MSGS_MESSAGE_CONVERSIONS_H
00003 #define ART_MSGS_MESSAGE_CONVERSIONS_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 art_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Conversions_ {
00022   typedef Conversions_<ContainerAllocator> Type;
00023 
00024   Conversions_()
00025   {
00026   }
00027 
00028   Conversions_(const ContainerAllocator& _alloc)
00029   {
00030   }
00031 
00032   static const double CM_PER_INCH;
00033   static const double CM_PER_METER;
00034   static const double INCHES_PER_FOOT;
00035   static const double METERS_PER_FOOT;
00036   static const double METERS_PER_MILE;
00037   static const double MMETERS_PER_KM;
00038   static const double MMETERS_PER_MILE;
00039   enum { MINUTES_PER_HOUR = 60 };
00040   enum { SECONDS_PER_MINUTE = 60 };
00041   enum { SECONDS_PER_HOUR = 3600 };
00042 
00043   typedef boost::shared_ptr< ::art_msgs::Conversions_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::art_msgs::Conversions_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct Conversions
00047 typedef  ::art_msgs::Conversions_<std::allocator<void> > Conversions;
00048 
00049 typedef boost::shared_ptr< ::art_msgs::Conversions> ConversionsPtr;
00050 typedef boost::shared_ptr< ::art_msgs::Conversions const> ConversionsConstPtr;
00051 
00052 template<typename ContainerAllocator> const double Conversions_<ContainerAllocator>::CM_PER_INCH = 2.54;
00053 template<typename ContainerAllocator> const double Conversions_<ContainerAllocator>::CM_PER_METER = 100.0;
00054 template<typename ContainerAllocator> const double Conversions_<ContainerAllocator>::INCHES_PER_FOOT = 12.0;
00055 template<typename ContainerAllocator> const double Conversions_<ContainerAllocator>::METERS_PER_FOOT = 0.3048;
00056 template<typename ContainerAllocator> const double Conversions_<ContainerAllocator>::METERS_PER_MILE = 1609.344;
00057 template<typename ContainerAllocator> const double Conversions_<ContainerAllocator>::MMETERS_PER_KM = 1000000.0;
00058 template<typename ContainerAllocator> const double Conversions_<ContainerAllocator>::MMETERS_PER_MILE = 1609344.0;
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::Conversions_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::art_msgs::Conversions_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace art_msgs
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::art_msgs::Conversions_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::art_msgs::Conversions_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::art_msgs::Conversions_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "44629a726979d07e4fc2da05a3fca804";
00079   }
00080 
00081   static const char* value(const  ::art_msgs::Conversions_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0x44629a726979d07eULL;
00083   static const uint64_t static_value2 = 0x4fc2da05a3fca804ULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::art_msgs::Conversions_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "art_msgs/Conversions";
00091   }
00092 
00093   static const char* value(const  ::art_msgs::Conversions_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::art_msgs::Conversions_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "#  Units conversion constants\n\
00101 #\n\
00102 #  Copyright (C) 2007, 2009 Austin Robot Technology                    \n\
00103 #  License: Modified BSD Software License Agreement\n\
00104 \n\
00105 #  $Id: Conversions.msg 620 2010-09-25 01:11:51Z jack.oquin $\n\
00106 \n\
00107 # Unit conversion constants:\n\
00108 \n\
00109 float64 CM_PER_INCH = 2.54\n\
00110 float64 CM_PER_METER = 100.0\n\
00111 float64 INCHES_PER_FOOT = 12.0\n\
00112 float64 METERS_PER_FOOT = 0.3048\n\
00113 float64 METERS_PER_MILE = 1609.344\n\
00114 float64 MMETERS_PER_KM = 1000000.0\n\
00115 float64 MMETERS_PER_MILE = 1609344.0\n\
00116 \n\
00117 int64 MINUTES_PER_HOUR = 60\n\
00118 int64 SECONDS_PER_MINUTE = 60\n\
00119 int64 SECONDS_PER_HOUR = 3600\n\
00120 \n\
00121 ";
00122   }
00123 
00124   static const char* value(const  ::art_msgs::Conversions_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::Conversions_<ContainerAllocator> > : public TrueType {};
00128 } // namespace message_traits
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace serialization
00134 {
00135 
00136 template<class ContainerAllocator> struct Serializer< ::art_msgs::Conversions_<ContainerAllocator> >
00137 {
00138   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00139   {
00140   }
00141 
00142   ROS_DECLARE_ALLINONE_SERIALIZER;
00143 }; // struct Conversions_
00144 } // namespace serialization
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace message_operations
00150 {
00151 
00152 template<class ContainerAllocator>
00153 struct Printer< ::art_msgs::Conversions_<ContainerAllocator> >
00154 {
00155   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::Conversions_<ContainerAllocator> & v) 
00156   {
00157   }
00158 };
00159 
00160 
00161 } // namespace message_operations
00162 } // namespace ros
00163 
00164 #endif // ART_MSGS_MESSAGE_CONVERSIONS_H
00165 


art_msgs
Author(s): Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:05