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