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


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