WMPInfo.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/WMPInfo.msg */
00002 #ifndef ROS_RT_WMP_MSGS_MESSAGE_WMPINFO_H
00003 #define ROS_RT_WMP_MSGS_MESSAGE_WMPINFO_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 WMPInfo_ {
00022   typedef WMPInfo_<ContainerAllocator> Type;
00023 
00024   WMPInfo_()
00025   : serial(0)
00026   , loop_id(0)
00027   , connected(0)
00028   , lqm()
00029   , dist()
00030   {
00031   }
00032 
00033   WMPInfo_(const ContainerAllocator& _alloc)
00034   : serial(0)
00035   , loop_id(0)
00036   , connected(0)
00037   , lqm(_alloc)
00038   , dist(_alloc)
00039   {
00040   }
00041 
00042   typedef int32_t _serial_type;
00043   int32_t serial;
00044 
00045   typedef int32_t _loop_id_type;
00046   int32_t loop_id;
00047 
00048   typedef int8_t _connected_type;
00049   int8_t connected;
00050 
00051   typedef std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other >  _lqm_type;
00052   std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other >  lqm;
00053 
00054   typedef std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other >  _dist_type;
00055   std::vector<int8_t, typename ContainerAllocator::template rebind<int8_t>::other >  dist;
00056 
00057 
00058   typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct WMPInfo
00062 typedef  ::ros_rt_wmp_msgs::WMPInfo_<std::allocator<void> > WMPInfo;
00063 
00064 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPInfo> WMPInfoPtr;
00065 typedef boost::shared_ptr< ::ros_rt_wmp_msgs::WMPInfo const> WMPInfoConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::ros_rt_wmp_msgs::WMPInfo_<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::WMPInfo_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "a950f24530e4b1df82d6caa40f7b781b";
00087   }
00088 
00089   static const char* value(const  ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0xa950f24530e4b1dfULL;
00091   static const uint64_t static_value2 = 0x82d6caa40f7b781bULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "ros_rt_wmp_msgs/WMPInfo";
00099   }
00100 
00101   static const char* value(const  ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "int32 serial\n\
00109 int32 loop_id\n\
00110 int8 connected\n\
00111 int8[] lqm\n\
00112 int8[] dist\n\
00113 \n\
00114 ";
00115   }
00116 
00117   static const char* value(const  ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 } // namespace message_traits
00121 } // namespace ros
00122 
00123 namespace ros
00124 {
00125 namespace serialization
00126 {
00127 
00128 template<class ContainerAllocator> struct Serializer< ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> >
00129 {
00130   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00131   {
00132     stream.next(m.serial);
00133     stream.next(m.loop_id);
00134     stream.next(m.connected);
00135     stream.next(m.lqm);
00136     stream.next(m.dist);
00137   }
00138 
00139   ROS_DECLARE_ALLINONE_SERIALIZER;
00140 }; // struct WMPInfo_
00141 } // namespace serialization
00142 } // namespace ros
00143 
00144 namespace ros
00145 {
00146 namespace message_operations
00147 {
00148 
00149 template<class ContainerAllocator>
00150 struct Printer< ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> >
00151 {
00152   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ros_rt_wmp_msgs::WMPInfo_<ContainerAllocator> & v) 
00153   {
00154     s << indent << "serial: ";
00155     Printer<int32_t>::stream(s, indent + "  ", v.serial);
00156     s << indent << "loop_id: ";
00157     Printer<int32_t>::stream(s, indent + "  ", v.loop_id);
00158     s << indent << "connected: ";
00159     Printer<int8_t>::stream(s, indent + "  ", v.connected);
00160     s << indent << "lqm[]" << std::endl;
00161     for (size_t i = 0; i < v.lqm.size(); ++i)
00162     {
00163       s << indent << "  lqm[" << i << "]: ";
00164       Printer<int8_t>::stream(s, indent + "  ", v.lqm[i]);
00165     }
00166     s << indent << "dist[]" << std::endl;
00167     for (size_t i = 0; i < v.dist.size(); ++i)
00168     {
00169       s << indent << "  dist[" << i << "]: ";
00170       Printer<int8_t>::stream(s, indent + "  ", v.dist[i]);
00171     }
00172   }
00173 };
00174 
00175 
00176 } // namespace message_operations
00177 } // namespace ros
00178 
00179 #endif // ROS_RT_WMP_MSGS_MESSAGE_WMPINFO_H
00180 


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