DoubleArrayStamped.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-asctec_mav_framework/doc_stacks/2014-01-07_11-03-25.838445/asctec_mav_framework/asctec_hl_comm/msg/DoubleArrayStamped.msg */
00002 #ifndef ASCTEC_HL_COMM_MESSAGE_DOUBLEARRAYSTAMPED_H
00003 #define ASCTEC_HL_COMM_MESSAGE_DOUBLEARRAYSTAMPED_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 "std_msgs/Header.h"
00018 
00019 namespace asctec_hl_comm
00020 {
00021 template <class ContainerAllocator>
00022 struct DoubleArrayStamped_ {
00023   typedef DoubleArrayStamped_<ContainerAllocator> Type;
00024 
00025   DoubleArrayStamped_()
00026   : header()
00027   , data()
00028   {
00029   }
00030 
00031   DoubleArrayStamped_(const ContainerAllocator& _alloc)
00032   : header(_alloc)
00033   , data(_alloc)
00034   {
00035   }
00036 
00037   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00038    ::std_msgs::Header_<ContainerAllocator>  header;
00039 
00040   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _data_type;
00041   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  data;
00042 
00043 
00044   typedef boost::shared_ptr< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct DoubleArrayStamped
00048 typedef  ::asctec_hl_comm::DoubleArrayStamped_<std::allocator<void> > DoubleArrayStamped;
00049 
00050 typedef boost::shared_ptr< ::asctec_hl_comm::DoubleArrayStamped> DoubleArrayStampedPtr;
00051 typedef boost::shared_ptr< ::asctec_hl_comm::DoubleArrayStamped const> DoubleArrayStampedConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace asctec_hl_comm
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "fb60495edd59d3fcf90e173153ae8a9a";
00073   }
00074 
00075   static const char* value(const  ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0xfb60495edd59d3fcULL;
00077   static const uint64_t static_value2 = 0xf90e173153ae8a9aULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "asctec_hl_comm/DoubleArrayStamped";
00085   }
00086 
00087   static const char* value(const  ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "Header    header\n\
00095 float64[] data\n\
00096 ================================================================================\n\
00097 MSG: std_msgs/Header\n\
00098 # Standard metadata for higher-level stamped data types.\n\
00099 # This is generally used to communicate timestamped data \n\
00100 # in a particular coordinate frame.\n\
00101 # \n\
00102 # sequence ID: consecutively increasing ID \n\
00103 uint32 seq\n\
00104 #Two-integer timestamp that is expressed as:\n\
00105 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00106 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00107 # time-handling sugar is provided by the client library\n\
00108 time stamp\n\
00109 #Frame this data is associated with\n\
00110 # 0: no frame\n\
00111 # 1: global frame\n\
00112 string frame_id\n\
00113 \n\
00114 ";
00115   }
00116 
00117   static const char* value(const  ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 template<class ContainerAllocator> struct HasHeader< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> > : public TrueType {};
00121 template<class ContainerAllocator> struct HasHeader< const ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> > : public TrueType {};
00122 } // namespace message_traits
00123 } // namespace ros
00124 
00125 namespace ros
00126 {
00127 namespace serialization
00128 {
00129 
00130 template<class ContainerAllocator> struct Serializer< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> >
00131 {
00132   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00133   {
00134     stream.next(m.header);
00135     stream.next(m.data);
00136   }
00137 
00138   ROS_DECLARE_ALLINONE_SERIALIZER;
00139 }; // struct DoubleArrayStamped_
00140 } // namespace serialization
00141 } // namespace ros
00142 
00143 namespace ros
00144 {
00145 namespace message_operations
00146 {
00147 
00148 template<class ContainerAllocator>
00149 struct Printer< ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> >
00150 {
00151   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::asctec_hl_comm::DoubleArrayStamped_<ContainerAllocator> & v) 
00152   {
00153     s << indent << "header: ";
00154 s << std::endl;
00155     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00156     s << indent << "data[]" << std::endl;
00157     for (size_t i = 0; i < v.data.size(); ++i)
00158     {
00159       s << indent << "  data[" << i << "]: ";
00160       Printer<double>::stream(s, indent + "  ", v.data[i]);
00161     }
00162   }
00163 };
00164 
00165 
00166 } // namespace message_operations
00167 } // namespace ros
00168 
00169 #endif // ASCTEC_HL_COMM_MESSAGE_DOUBLEARRAYSTAMPED_H
00170 


asctec_hl_comm
Author(s): Markus Achtelik, Michael Achtelik, Stephan Weiss, Laurent Kneip
autogenerated on Tue Jan 7 2014 11:05:05