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


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