MultiInterfaceStatus.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-linux_networking/doc_stacks/2014-01-02_11-22-57.358138/linux_networking/multi_interface_roam/msg/MultiInterfaceStatus.msg */
00002 #ifndef MULTI_INTERFACE_ROAM_MESSAGE_MULTIINTERFACESTATUS_H
00003 #define MULTI_INTERFACE_ROAM_MESSAGE_MULTIINTERFACESTATUS_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 "multi_interface_roam/InterfaceStatus.h"
00018 
00019 namespace multi_interface_roam
00020 {
00021 template <class ContainerAllocator>
00022 struct MultiInterfaceStatus_ {
00023   typedef MultiInterfaceStatus_<ContainerAllocator> Type;
00024 
00025   MultiInterfaceStatus_()
00026   : interfaces()
00027   {
00028   }
00029 
00030   MultiInterfaceStatus_(const ContainerAllocator& _alloc)
00031   : interfaces(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::multi_interface_roam::InterfaceStatus_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::multi_interface_roam::InterfaceStatus_<ContainerAllocator> >::other >  _interfaces_type;
00036   std::vector< ::multi_interface_roam::InterfaceStatus_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::multi_interface_roam::InterfaceStatus_<ContainerAllocator> >::other >  interfaces;
00037 
00038 
00039   typedef boost::shared_ptr< ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct MultiInterfaceStatus
00043 typedef  ::multi_interface_roam::MultiInterfaceStatus_<std::allocator<void> > MultiInterfaceStatus;
00044 
00045 typedef boost::shared_ptr< ::multi_interface_roam::MultiInterfaceStatus> MultiInterfaceStatusPtr;
00046 typedef boost::shared_ptr< ::multi_interface_roam::MultiInterfaceStatus const> MultiInterfaceStatusConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace multi_interface_roam
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "8cc48fc7b9fd9a6f7f5e63eb7bc51745";
00068   }
00069 
00070   static const char* value(const  ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x8cc48fc7b9fd9a6fULL;
00072   static const uint64_t static_value2 = 0x7f5e63eb7bc51745ULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "multi_interface_roam/MultiInterfaceStatus";
00080   }
00081 
00082   static const char* value(const  ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "InterfaceStatus[] interfaces\n\
00090 \n\
00091 ================================================================================\n\
00092 MSG: multi_interface_roam/InterfaceStatus\n\
00093 int8 STATE_NO_INTERFACE = -1 # The interface does not exist.\n\
00094 int8 STATE_PLUGGED = 0       # The interface exists.\n\
00095 int8 STATE_UP = 1            # The interface is up.\n\
00096 int8 STATE_LINK = 2          # The interface has a link.\n\
00097 int8 STATE_LINK_ADDR = 3     # The interface has a link, and the link has an address.\n\
00098 int8 STATE_ADDR = 4          # The interface has an address.\n\
00099 int8 STATE_PINGING = 5       # Ping packets are making it through.\n\
00100 \n\
00101 string pretty_name           # The pretty name of the interface.\n\
00102 string interface             # The name of the interface.\n\
00103 int8 state                   # The state (defined above).\n\
00104 int32 active_interface_rank  # The rank among active interfaces (e.g. 0 for the best active interface) or -1 if inactive\n\
00105 float32 goodness             # How well this interface is sending packets.\n\
00106 float32 reliability          # How reliable this interface is expected to be.\n\
00107 float32 score                # The score use to rank interfaces.\n\
00108 float32 prescore             # The score use to rank interfaces without penalizing radios that are not active.\n\
00109 float32 latency              # Latency of ping packets.\n\
00110 float32 loss                 # Loss of ping packets.\n\
00111 wpa_supplicant_node/Bss bss  # Current BSS (for a wireless network)\n\
00112 \n\
00113 ================================================================================\n\
00114 MSG: wpa_supplicant_node/Bss\n\
00115 time stamp\n\
00116 string ssid\n\
00117 uint8[6] bssid\n\
00118 int32 frequency # In MHz\n\
00119 int16 beacon_interval\n\
00120 int16 capabilities\n\
00121 int32 quality\n\
00122 int32 noise\n\
00123 int32 level\n\
00124 SecurityProperties wpa\n\
00125 SecurityProperties rsn\n\
00126 \n\
00127 #InformationElement []ies\n\
00128 #InformationElement []beacon_ies\n\
00129 # flags\n\
00130 # tsf\n\
00131 # age\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: wpa_supplicant_node/SecurityProperties\n\
00135 string[] key_mgmt\n\
00136 string[] group\n\
00137 string[] pairwise\n\
00138 \n\
00139 ";
00140   }
00141 
00142   static const char* value(const  ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 } // namespace message_traits
00146 } // namespace ros
00147 
00148 namespace ros
00149 {
00150 namespace serialization
00151 {
00152 
00153 template<class ContainerAllocator> struct Serializer< ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> >
00154 {
00155   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00156   {
00157     stream.next(m.interfaces);
00158   }
00159 
00160   ROS_DECLARE_ALLINONE_SERIALIZER;
00161 }; // struct MultiInterfaceStatus_
00162 } // namespace serialization
00163 } // namespace ros
00164 
00165 namespace ros
00166 {
00167 namespace message_operations
00168 {
00169 
00170 template<class ContainerAllocator>
00171 struct Printer< ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> >
00172 {
00173   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::multi_interface_roam::MultiInterfaceStatus_<ContainerAllocator> & v) 
00174   {
00175     s << indent << "interfaces[]" << std::endl;
00176     for (size_t i = 0; i < v.interfaces.size(); ++i)
00177     {
00178       s << indent << "  interfaces[" << i << "]: ";
00179       s << std::endl;
00180       s << indent;
00181       Printer< ::multi_interface_roam::InterfaceStatus_<ContainerAllocator> >::stream(s, indent + "    ", v.interfaces[i]);
00182     }
00183   }
00184 };
00185 
00186 
00187 } // namespace message_operations
00188 } // namespace ros
00189 
00190 #endif // MULTI_INTERFACE_ROAM_MESSAGE_MULTIINTERFACESTATUS_H
00191 


multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Thu Jan 2 2014 11:26:15