TimeDistance.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/TimeDistance.msg */
00002 #ifndef APPLANIX_MSGS_MESSAGE_TIMEDISTANCE_H
00003 #define APPLANIX_MSGS_MESSAGE_TIMEDISTANCE_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 TimeDistance_ {
00022   typedef TimeDistance_<ContainerAllocator> Type;
00023 
00024   TimeDistance_()
00025   : time1(0.0)
00026   , time2(0.0)
00027   , distance(0.0)
00028   , time_types(0)
00029   , distance_type(0)
00030   {
00031   }
00032 
00033   TimeDistance_(const ContainerAllocator& _alloc)
00034   : time1(0.0)
00035   , time2(0.0)
00036   , distance(0.0)
00037   , time_types(0)
00038   , distance_type(0)
00039   {
00040   }
00041 
00042   typedef double _time1_type;
00043   double time1;
00044 
00045   typedef double _time2_type;
00046   double time2;
00047 
00048   typedef double _distance_type;
00049   double distance;
00050 
00051   typedef uint8_t _time_types_type;
00052   uint8_t time_types;
00053 
00054   typedef uint8_t _distance_type_type;
00055   uint8_t distance_type;
00056 
00057 
00058   typedef boost::shared_ptr< ::applanix_msgs::TimeDistance_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::applanix_msgs::TimeDistance_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct TimeDistance
00062 typedef  ::applanix_msgs::TimeDistance_<std::allocator<void> > TimeDistance;
00063 
00064 typedef boost::shared_ptr< ::applanix_msgs::TimeDistance> TimeDistancePtr;
00065 typedef boost::shared_ptr< ::applanix_msgs::TimeDistance const> TimeDistanceConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::applanix_msgs::TimeDistance_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::applanix_msgs::TimeDistance_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace applanix_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::TimeDistance_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::TimeDistance_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::applanix_msgs::TimeDistance_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "c8b5a7586db329934f062ec5ad7a8c3d";
00087   }
00088 
00089   static const char* value(const  ::applanix_msgs::TimeDistance_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0xc8b5a7586db32993ULL;
00091   static const uint64_t static_value2 = 0x4f062ec5ad7a8c3dULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::applanix_msgs::TimeDistance_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "applanix_msgs/TimeDistance";
00099   }
00100 
00101   static const char* value(const  ::applanix_msgs::TimeDistance_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::applanix_msgs::TimeDistance_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "float64 time1\n\
00109 float64 time2\n\
00110 float64 distance\n\
00111 uint8 time_types\n\
00112 uint8 distance_type\n\
00113 \n\
00114 ";
00115   }
00116 
00117   static const char* value(const  ::applanix_msgs::TimeDistance_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::TimeDistance_<ContainerAllocator> > : public TrueType {};
00121 } // namespace message_traits
00122 } // namespace ros
00123 
00124 namespace ros
00125 {
00126 namespace serialization
00127 {
00128 
00129 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::TimeDistance_<ContainerAllocator> >
00130 {
00131   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00132   {
00133     stream.next(m.time1);
00134     stream.next(m.time2);
00135     stream.next(m.distance);
00136     stream.next(m.time_types);
00137     stream.next(m.distance_type);
00138   }
00139 
00140   ROS_DECLARE_ALLINONE_SERIALIZER;
00141 }; // struct TimeDistance_
00142 } // namespace serialization
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149 
00150 template<class ContainerAllocator>
00151 struct Printer< ::applanix_msgs::TimeDistance_<ContainerAllocator> >
00152 {
00153   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::applanix_msgs::TimeDistance_<ContainerAllocator> & v) 
00154   {
00155     s << indent << "time1: ";
00156     Printer<double>::stream(s, indent + "  ", v.time1);
00157     s << indent << "time2: ";
00158     Printer<double>::stream(s, indent + "  ", v.time2);
00159     s << indent << "distance: ";
00160     Printer<double>::stream(s, indent + "  ", v.distance);
00161     s << indent << "time_types: ";
00162     Printer<uint8_t>::stream(s, indent + "  ", v.time_types);
00163     s << indent << "distance_type: ";
00164     Printer<uint8_t>::stream(s, indent + "  ", v.distance_type);
00165   }
00166 };
00167 
00168 
00169 } // namespace message_operations
00170 } // namespace ros
00171 
00172 #endif // APPLANIX_MSGS_MESSAGE_TIMEDISTANCE_H
00173 


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