00001
00002 #ifndef WPA_SUPPLICANT_NODE_MESSAGE_ASSOCIATEFEEDBACK_H
00003 #define WPA_SUPPLICANT_NODE_MESSAGE_ASSOCIATEFEEDBACK_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "wpa_supplicant_node/Bss.h"
00014
00015 namespace wpa_supplicant_node
00016 {
00017 template <class ContainerAllocator>
00018 struct AssociateFeedback_ : public ros::Message
00019 {
00020 typedef AssociateFeedback_<ContainerAllocator> Type;
00021
00022 AssociateFeedback_()
00023 : associated(false)
00024 , bss()
00025 {
00026 }
00027
00028 AssociateFeedback_(const ContainerAllocator& _alloc)
00029 : associated(false)
00030 , bss(_alloc)
00031 {
00032 }
00033
00034 typedef uint8_t _associated_type;
00035 uint8_t associated;
00036
00037 typedef ::wpa_supplicant_node::Bss_<ContainerAllocator> _bss_type;
00038 ::wpa_supplicant_node::Bss_<ContainerAllocator> bss;
00039
00040
00041 private:
00042 static const char* __s_getDataType_() { return "wpa_supplicant_node/AssociateFeedback"; }
00043 public:
00044 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00045
00046 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00047
00048 private:
00049 static const char* __s_getMD5Sum_() { return "1d8b15104cb8eeade34dcbb57206df8c"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00052
00053 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00054
00055 private:
00056 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00057 bool associated\n\
00058 Bss bss\n\
00059 \n\
00060 \n\
00061 ================================================================================\n\
00062 MSG: wpa_supplicant_node/Bss\n\
00063 time stamp\n\
00064 string ssid\n\
00065 uint8[6] bssid\n\
00066 int32 frequency # In MHz\n\
00067 int16 beacon_interval\n\
00068 int16 capabilities\n\
00069 int32 quality\n\
00070 int32 noise\n\
00071 int32 level\n\
00072 \n\
00073 #InformationElement []ies\n\
00074 #InformationElement []beacon_ies\n\
00075 # flags\n\
00076 # tsf\n\
00077 # age\n\
00078 \n\
00079 "; }
00080 public:
00081 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00082
00083 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00084
00085 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00086 {
00087 ros::serialization::OStream stream(write_ptr, 1000000000);
00088 ros::serialization::serialize(stream, associated);
00089 ros::serialization::serialize(stream, bss);
00090 return stream.getData();
00091 }
00092
00093 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00094 {
00095 ros::serialization::IStream stream(read_ptr, 1000000000);
00096 ros::serialization::deserialize(stream, associated);
00097 ros::serialization::deserialize(stream, bss);
00098 return stream.getData();
00099 }
00100
00101 ROS_DEPRECATED virtual uint32_t serializationLength() const
00102 {
00103 uint32_t size = 0;
00104 size += ros::serialization::serializationLength(associated);
00105 size += ros::serialization::serializationLength(bss);
00106 return size;
00107 }
00108
00109 typedef boost::shared_ptr< ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> > Ptr;
00110 typedef boost::shared_ptr< ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> const> ConstPtr;
00111 };
00112 typedef ::wpa_supplicant_node::AssociateFeedback_<std::allocator<void> > AssociateFeedback;
00113
00114 typedef boost::shared_ptr< ::wpa_supplicant_node::AssociateFeedback> AssociateFeedbackPtr;
00115 typedef boost::shared_ptr< ::wpa_supplicant_node::AssociateFeedback const> AssociateFeedbackConstPtr;
00116
00117
00118 template<typename ContainerAllocator>
00119 std::ostream& operator<<(std::ostream& s, const ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> & v)
00120 {
00121 ros::message_operations::Printer< ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> >::stream(s, "", v);
00122 return s;}
00123
00124 }
00125
00126 namespace ros
00127 {
00128 namespace message_traits
00129 {
00130 template<class ContainerAllocator>
00131 struct MD5Sum< ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "1d8b15104cb8eeade34dcbb57206df8c";
00135 }
00136
00137 static const char* value(const ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> &) { return value(); }
00138 static const uint64_t static_value1 = 0x1d8b15104cb8eeadULL;
00139 static const uint64_t static_value2 = 0xe34dcbb57206df8cULL;
00140 };
00141
00142 template<class ContainerAllocator>
00143 struct DataType< ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "wpa_supplicant_node/AssociateFeedback";
00147 }
00148
00149 static const char* value(const ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> &) { return value(); }
00150 };
00151
00152 template<class ContainerAllocator>
00153 struct Definition< ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> > {
00154 static const char* value()
00155 {
00156 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00157 bool associated\n\
00158 Bss bss\n\
00159 \n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: wpa_supplicant_node/Bss\n\
00163 time stamp\n\
00164 string ssid\n\
00165 uint8[6] bssid\n\
00166 int32 frequency # In MHz\n\
00167 int16 beacon_interval\n\
00168 int16 capabilities\n\
00169 int32 quality\n\
00170 int32 noise\n\
00171 int32 level\n\
00172 \n\
00173 #InformationElement []ies\n\
00174 #InformationElement []beacon_ies\n\
00175 # flags\n\
00176 # tsf\n\
00177 # age\n\
00178 \n\
00179 ";
00180 }
00181
00182 static const char* value(const ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> &) { return value(); }
00183 };
00184
00185 }
00186 }
00187
00188 namespace ros
00189 {
00190 namespace serialization
00191 {
00192
00193 template<class ContainerAllocator> struct Serializer< ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> >
00194 {
00195 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00196 {
00197 stream.next(m.associated);
00198 stream.next(m.bss);
00199 }
00200
00201 ROS_DECLARE_ALLINONE_SERIALIZER;
00202 };
00203 }
00204 }
00205
00206 namespace ros
00207 {
00208 namespace message_operations
00209 {
00210
00211 template<class ContainerAllocator>
00212 struct Printer< ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> >
00213 {
00214 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::wpa_supplicant_node::AssociateFeedback_<ContainerAllocator> & v)
00215 {
00216 s << indent << "associated: ";
00217 Printer<uint8_t>::stream(s, indent + " ", v.associated);
00218 s << indent << "bss: ";
00219 s << std::endl;
00220 Printer< ::wpa_supplicant_node::Bss_<ContainerAllocator> >::stream(s, indent + " ", v.bss);
00221 }
00222 };
00223
00224
00225 }
00226 }
00227
00228 #endif // WPA_SUPPLICANT_NODE_MESSAGE_ASSOCIATEFEEDBACK_H
00229