Go to the documentation of this file.00001
00002 #ifndef WPA_SUPPLICANT_NODE_MESSAGE_ASSOCIATEGOAL_H
00003 #define WPA_SUPPLICANT_NODE_MESSAGE_ASSOCIATEGOAL_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 wpa_supplicant_node
00019 {
00020 template <class ContainerAllocator>
00021 struct AssociateGoal_ {
00022 typedef AssociateGoal_<ContainerAllocator> Type;
00023
00024 AssociateGoal_()
00025 : ssid()
00026 , bssid()
00027 {
00028 bssid.assign(0);
00029 }
00030
00031 AssociateGoal_(const ContainerAllocator& _alloc)
00032 : ssid(_alloc)
00033 , bssid()
00034 {
00035 bssid.assign(0);
00036 }
00037
00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _ssid_type;
00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > ssid;
00040
00041 typedef boost::array<uint8_t, 6> _bssid_type;
00042 boost::array<uint8_t, 6> bssid;
00043
00044
00045 typedef boost::shared_ptr< ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::wpa_supplicant_node::AssociateGoal_<std::allocator<void> > AssociateGoal;
00050
00051 typedef boost::shared_ptr< ::wpa_supplicant_node::AssociateGoal> AssociateGoalPtr;
00052 typedef boost::shared_ptr< ::wpa_supplicant_node::AssociateGoal const> AssociateGoalConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "c38a1e6906f8c27b31959e0b0a44e536";
00074 }
00075
00076 static const char* value(const ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0xc38a1e6906f8c27bULL;
00078 static const uint64_t static_value2 = 0x31959e0b0a44e536ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "wpa_supplicant_node/AssociateGoal";
00086 }
00087
00088 static const char* value(const ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00096 string ssid\n\
00097 uint8[6] bssid\n\
00098 #Bss bss\n\
00099 \n\
00100 ";
00101 }
00102
00103 static const char* value(const ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> &) { return value(); }
00104 };
00105
00106 }
00107 }
00108
00109 namespace ros
00110 {
00111 namespace serialization
00112 {
00113
00114 template<class ContainerAllocator> struct Serializer< ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> >
00115 {
00116 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00117 {
00118 stream.next(m.ssid);
00119 stream.next(m.bssid);
00120 }
00121
00122 ROS_DECLARE_ALLINONE_SERIALIZER;
00123 };
00124 }
00125 }
00126
00127 namespace ros
00128 {
00129 namespace message_operations
00130 {
00131
00132 template<class ContainerAllocator>
00133 struct Printer< ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> >
00134 {
00135 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::wpa_supplicant_node::AssociateGoal_<ContainerAllocator> & v)
00136 {
00137 s << indent << "ssid: ";
00138 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.ssid);
00139 s << indent << "bssid[]" << std::endl;
00140 for (size_t i = 0; i < v.bssid.size(); ++i)
00141 {
00142 s << indent << " bssid[" << i << "]: ";
00143 Printer<uint8_t>::stream(s, indent + " ", v.bssid[i]);
00144 }
00145 }
00146 };
00147
00148
00149 }
00150 }
00151
00152 #endif // WPA_SUPPLICANT_NODE_MESSAGE_ASSOCIATEGOAL_H
00153