WMPHeader.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-unizar-ros-rt-wmp-pkg/doc_stacks/2014-10-06_08-24-58.143404/unizar-ros-rt-wmp-pkg/ros_rt_wmp_msgs/msg/WMPHeader.msg */
00002 #ifndef ROS_RT_WMP_MSGS_MESSAGE_WMPHEADER_H
00003 #define ROS_RT_WMP_MSGS_MESSAGE_WMPHEADER_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 ros_rt_wmp_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct WMPHeader_ {
00022   typedef WMPHeader_<ContainerAllocator> Type;
00023 
00024   WMPHeader_()
00025   : source(0)
00026   , dest()
00027   , priority(0)
00028   , deadline(0)
00029   , sub_topic()
00030   {
00031   }
00032 
00033   WMPHeader_(const ContainerAllocator& _alloc)
00034   : source(0)
00035   , dest(_alloc)
00036   , priority(0)
00037   , deadline(0)
00038   , sub_topic(_alloc)
00039   {
00040   }
00041 
00042   typedef uint8_t _source_type;
00043   uint8_t source;
00044 
00045   typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  _dest_type;
00046   std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  dest;
00047 
00048   typedef uint8_t _priority_type;
00049   uint8_t priority;
00050 
00051   typedef uint8_t _deadline_type;
00052   uint8_t deadline;
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _sub_topic_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  sub_topic;
00056 
00057 
00058   typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct WMPHeader
00062 typedef  ::ros_rt_wmp_msgs::WMPHeader_<std::allocator<void> > WMPHeader;
00063 
00064 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPHeader> WMPHeaderPtr;
00065 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPHeader const> WMPHeaderConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace ros_rt_wmp_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "9bd25a24cf41c1aa3862b0720ca415b7";
00087   }
00088 
00089   static const char* value(const  ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0x9bd25a24cf41c1aaULL;
00091   static const uint64_t static_value2 = 0x3862b0720ca415b7ULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "ros_rt_wmp_msgs/WMPHeader";
00099   }
00100 
00101   static const char* value(const  ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "uint8 source\n\
00109 uint8[] dest\n\
00110 uint8 priority\n\
00111 uint8 deadline\n\
00112 string sub_topic\n\
00113 \n\
00114 \n\
00115 ";
00116   }
00117 
00118   static const char* value(const  ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 } // namespace message_traits
00122 } // namespace ros
00123 
00124 namespace ros
00125 {
00126 namespace serialization
00127 {
00128 
00129 template<class ContainerAllocator> struct Serializer< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> >
00130 {
00131   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00132   {
00133     stream.next(m.source);
00134     stream.next(m.dest);
00135     stream.next(m.priority);
00136     stream.next(m.deadline);
00137     stream.next(m.sub_topic);
00138   }
00139 
00140   ROS_DECLARE_ALLINONE_SERIALIZER;
00141 }; // struct WMPHeader_
00142 } // namespace serialization
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149 
00150 template<class ContainerAllocator>
00151 struct Printer< ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> >
00152 {
00153   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ros_rt_wmp_msgs::WMPHeader_<ContainerAllocator> & v) 
00154   {
00155     s << indent << "source: ";
00156     Printer<uint8_t>::stream(s, indent + "  ", v.source);
00157     s << indent << "dest[]" << std::endl;
00158     for (size_t i = 0; i < v.dest.size(); ++i)
00159     {
00160       s << indent << "  dest[" << i << "]: ";
00161       Printer<uint8_t>::stream(s, indent + "  ", v.dest[i]);
00162     }
00163     s << indent << "priority: ";
00164     Printer<uint8_t>::stream(s, indent + "  ", v.priority);
00165     s << indent << "deadline: ";
00166     Printer<uint8_t>::stream(s, indent + "  ", v.deadline);
00167     s << indent << "sub_topic: ";
00168     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.sub_topic);
00169   }
00170 };
00171 
00172 
00173 } // namespace message_operations
00174 } // namespace ros
00175 
00176 #endif // ROS_RT_WMP_MSGS_MESSAGE_WMPHEADER_H
00177 


ros_rt_wmp_msgs
Author(s): Pablo Urcola
autogenerated on Mon Oct 6 2014 08:26:58