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