$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/ScanAction.msg */ 00002 #ifndef WPA_SUPPLICANT_NODE_MESSAGE_SCANACTION_H 00003 #define WPA_SUPPLICANT_NODE_MESSAGE_SCANACTION_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/ScanActionGoal.h" 00018 #include "wpa_supplicant_node/ScanActionResult.h" 00019 #include "wpa_supplicant_node/ScanActionFeedback.h" 00020 00021 namespace wpa_supplicant_node 00022 { 00023 template <class ContainerAllocator> 00024 struct ScanAction_ { 00025 typedef ScanAction_<ContainerAllocator> Type; 00026 00027 ScanAction_() 00028 : action_goal() 00029 , action_result() 00030 , action_feedback() 00031 { 00032 } 00033 00034 ScanAction_(const ContainerAllocator& _alloc) 00035 : action_goal(_alloc) 00036 , action_result(_alloc) 00037 , action_feedback(_alloc) 00038 { 00039 } 00040 00041 typedef ::wpa_supplicant_node::ScanActionGoal_<ContainerAllocator> _action_goal_type; 00042 ::wpa_supplicant_node::ScanActionGoal_<ContainerAllocator> action_goal; 00043 00044 typedef ::wpa_supplicant_node::ScanActionResult_<ContainerAllocator> _action_result_type; 00045 ::wpa_supplicant_node::ScanActionResult_<ContainerAllocator> action_result; 00046 00047 typedef ::wpa_supplicant_node::ScanActionFeedback_<ContainerAllocator> _action_feedback_type; 00048 ::wpa_supplicant_node::ScanActionFeedback_<ContainerAllocator> action_feedback; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "wpa_supplicant_node/ScanAction"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00055 00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00057 00058 private: 00059 static const char* __s_getMD5Sum_() { return "1b2a029a7de39475195700d742a0f593"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00067 \n\ 00068 ScanActionGoal action_goal\n\ 00069 ScanActionResult action_result\n\ 00070 ScanActionFeedback action_feedback\n\ 00071 \n\ 00072 ================================================================================\n\ 00073 MSG: wpa_supplicant_node/ScanActionGoal\n\ 00074 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00075 \n\ 00076 Header header\n\ 00077 actionlib_msgs/GoalID goal_id\n\ 00078 ScanGoal goal\n\ 00079 \n\ 00080 ================================================================================\n\ 00081 MSG: std_msgs/Header\n\ 00082 # Standard metadata for higher-level stamped data types.\n\ 00083 # This is generally used to communicate timestamped data \n\ 00084 # in a particular coordinate frame.\n\ 00085 # \n\ 00086 # sequence ID: consecutively increasing ID \n\ 00087 uint32 seq\n\ 00088 #Two-integer timestamp that is expressed as:\n\ 00089 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00090 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00091 # time-handling sugar is provided by the client library\n\ 00092 time stamp\n\ 00093 #Frame this data is associated with\n\ 00094 # 0: no frame\n\ 00095 # 1: global frame\n\ 00096 string frame_id\n\ 00097 \n\ 00098 ================================================================================\n\ 00099 MSG: actionlib_msgs/GoalID\n\ 00100 # The stamp should store the time at which this goal was requested.\n\ 00101 # It is used by an action server when it tries to preempt all\n\ 00102 # goals that were requested before a certain time\n\ 00103 time stamp\n\ 00104 \n\ 00105 # The id provides a way to associate feedback and\n\ 00106 # result message with specific goal requests. The id\n\ 00107 # specified must be unique.\n\ 00108 string id\n\ 00109 \n\ 00110 \n\ 00111 ================================================================================\n\ 00112 MSG: wpa_supplicant_node/ScanGoal\n\ 00113 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00114 string[] ssids # Ssids to scan\n\ 00115 int32[] frequencies # Channels to scan in MHz\n\ 00116 \n\ 00117 ================================================================================\n\ 00118 MSG: wpa_supplicant_node/ScanActionResult\n\ 00119 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00120 \n\ 00121 Header header\n\ 00122 actionlib_msgs/GoalStatus status\n\ 00123 ScanResult result\n\ 00124 \n\ 00125 ================================================================================\n\ 00126 MSG: actionlib_msgs/GoalStatus\n\ 00127 GoalID goal_id\n\ 00128 uint8 status\n\ 00129 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00130 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00131 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00132 # and has since completed its execution (Terminal State)\n\ 00133 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00134 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00135 # to some failure (Terminal State)\n\ 00136 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00137 # because the goal was unattainable or invalid (Terminal State)\n\ 00138 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00139 # and has not yet completed execution\n\ 00140 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00141 # but the action server has not yet confirmed that the goal is canceled\n\ 00142 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00143 # and was successfully cancelled (Terminal State)\n\ 00144 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00145 # sent over the wire by an action server\n\ 00146 \n\ 00147 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00148 string text\n\ 00149 \n\ 00150 \n\ 00151 ================================================================================\n\ 00152 MSG: wpa_supplicant_node/ScanResult\n\ 00153 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00154 #int32 SUCCESS = 0\n\ 00155 #int32 TOO_MANY_SSIDS = 1\n\ 00156 #int32 TOO_MANY_CHANNELS = 2\n\ 00157 #int32 SCAN_REQUEST_FAILED = 3\n\ 00158 #int32 SCAN_REQUEST_TIMED_OUT = 4\n\ 00159 #\n\ 00160 bool success\n\ 00161 Bss[] bss\n\ 00162 \n\ 00163 ================================================================================\n\ 00164 MSG: wpa_supplicant_node/Bss\n\ 00165 time stamp\n\ 00166 string ssid\n\ 00167 uint8[6] bssid\n\ 00168 int32 frequency # In MHz\n\ 00169 int16 beacon_interval\n\ 00170 int16 capabilities\n\ 00171 int32 quality\n\ 00172 int32 noise\n\ 00173 int32 level\n\ 00174 SecurityProperties wpa\n\ 00175 SecurityProperties rsn\n\ 00176 \n\ 00177 #InformationElement []ies\n\ 00178 #InformationElement []beacon_ies\n\ 00179 # flags\n\ 00180 # tsf\n\ 00181 # age\n\ 00182 \n\ 00183 ================================================================================\n\ 00184 MSG: wpa_supplicant_node/SecurityProperties\n\ 00185 string[] key_mgmt\n\ 00186 string[] group\n\ 00187 string[] pairwise\n\ 00188 \n\ 00189 ================================================================================\n\ 00190 MSG: wpa_supplicant_node/ScanActionFeedback\n\ 00191 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00192 \n\ 00193 Header header\n\ 00194 actionlib_msgs/GoalStatus status\n\ 00195 ScanFeedback feedback\n\ 00196 \n\ 00197 ================================================================================\n\ 00198 MSG: wpa_supplicant_node/ScanFeedback\n\ 00199 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00200 \n\ 00201 \n\ 00202 "; } 00203 public: 00204 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00205 00206 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00207 00208 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00209 { 00210 ros::serialization::OStream stream(write_ptr, 1000000000); 00211 ros::serialization::serialize(stream, action_goal); 00212 ros::serialization::serialize(stream, action_result); 00213 ros::serialization::serialize(stream, action_feedback); 00214 return stream.getData(); 00215 } 00216 00217 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00218 { 00219 ros::serialization::IStream stream(read_ptr, 1000000000); 00220 ros::serialization::deserialize(stream, action_goal); 00221 ros::serialization::deserialize(stream, action_result); 00222 ros::serialization::deserialize(stream, action_feedback); 00223 return stream.getData(); 00224 } 00225 00226 ROS_DEPRECATED virtual uint32_t serializationLength() const 00227 { 00228 uint32_t size = 0; 00229 size += ros::serialization::serializationLength(action_goal); 00230 size += ros::serialization::serializationLength(action_result); 00231 size += ros::serialization::serializationLength(action_feedback); 00232 return size; 00233 } 00234 00235 typedef boost::shared_ptr< ::wpa_supplicant_node::ScanAction_<ContainerAllocator> > Ptr; 00236 typedef boost::shared_ptr< ::wpa_supplicant_node::ScanAction_<ContainerAllocator> const> ConstPtr; 00237 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00238 }; // struct ScanAction 00239 typedef ::wpa_supplicant_node::ScanAction_<std::allocator<void> > ScanAction; 00240 00241 typedef boost::shared_ptr< ::wpa_supplicant_node::ScanAction> ScanActionPtr; 00242 typedef boost::shared_ptr< ::wpa_supplicant_node::ScanAction const> ScanActionConstPtr; 00243 00244 00245 template<typename ContainerAllocator> 00246 std::ostream& operator<<(std::ostream& s, const ::wpa_supplicant_node::ScanAction_<ContainerAllocator> & v) 00247 { 00248 ros::message_operations::Printer< ::wpa_supplicant_node::ScanAction_<ContainerAllocator> >::stream(s, "", v); 00249 return s;} 00250 00251 } // namespace wpa_supplicant_node 00252 00253 namespace ros 00254 { 00255 namespace message_traits 00256 { 00257 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::ScanAction_<ContainerAllocator> > : public TrueType {}; 00258 template<class ContainerAllocator> struct IsMessage< ::wpa_supplicant_node::ScanAction_<ContainerAllocator> const> : public TrueType {}; 00259 template<class ContainerAllocator> 00260 struct MD5Sum< ::wpa_supplicant_node::ScanAction_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "1b2a029a7de39475195700d742a0f593"; 00264 } 00265 00266 static const char* value(const ::wpa_supplicant_node::ScanAction_<ContainerAllocator> &) { return value(); } 00267 static const uint64_t static_value1 = 0x1b2a029a7de39475ULL; 00268 static const uint64_t static_value2 = 0x195700d742a0f593ULL; 00269 }; 00270 00271 template<class ContainerAllocator> 00272 struct DataType< ::wpa_supplicant_node::ScanAction_<ContainerAllocator> > { 00273 static const char* value() 00274 { 00275 return "wpa_supplicant_node/ScanAction"; 00276 } 00277 00278 static const char* value(const ::wpa_supplicant_node::ScanAction_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 template<class ContainerAllocator> 00282 struct Definition< ::wpa_supplicant_node::ScanAction_<ContainerAllocator> > { 00283 static const char* value() 00284 { 00285 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00286 \n\ 00287 ScanActionGoal action_goal\n\ 00288 ScanActionResult action_result\n\ 00289 ScanActionFeedback action_feedback\n\ 00290 \n\ 00291 ================================================================================\n\ 00292 MSG: wpa_supplicant_node/ScanActionGoal\n\ 00293 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00294 \n\ 00295 Header header\n\ 00296 actionlib_msgs/GoalID goal_id\n\ 00297 ScanGoal goal\n\ 00298 \n\ 00299 ================================================================================\n\ 00300 MSG: std_msgs/Header\n\ 00301 # Standard metadata for higher-level stamped data types.\n\ 00302 # This is generally used to communicate timestamped data \n\ 00303 # in a particular coordinate frame.\n\ 00304 # \n\ 00305 # sequence ID: consecutively increasing ID \n\ 00306 uint32 seq\n\ 00307 #Two-integer timestamp that is expressed as:\n\ 00308 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00309 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00310 # time-handling sugar is provided by the client library\n\ 00311 time stamp\n\ 00312 #Frame this data is associated with\n\ 00313 # 0: no frame\n\ 00314 # 1: global frame\n\ 00315 string frame_id\n\ 00316 \n\ 00317 ================================================================================\n\ 00318 MSG: actionlib_msgs/GoalID\n\ 00319 # The stamp should store the time at which this goal was requested.\n\ 00320 # It is used by an action server when it tries to preempt all\n\ 00321 # goals that were requested before a certain time\n\ 00322 time stamp\n\ 00323 \n\ 00324 # The id provides a way to associate feedback and\n\ 00325 # result message with specific goal requests. The id\n\ 00326 # specified must be unique.\n\ 00327 string id\n\ 00328 \n\ 00329 \n\ 00330 ================================================================================\n\ 00331 MSG: wpa_supplicant_node/ScanGoal\n\ 00332 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00333 string[] ssids # Ssids to scan\n\ 00334 int32[] frequencies # Channels to scan in MHz\n\ 00335 \n\ 00336 ================================================================================\n\ 00337 MSG: wpa_supplicant_node/ScanActionResult\n\ 00338 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00339 \n\ 00340 Header header\n\ 00341 actionlib_msgs/GoalStatus status\n\ 00342 ScanResult result\n\ 00343 \n\ 00344 ================================================================================\n\ 00345 MSG: actionlib_msgs/GoalStatus\n\ 00346 GoalID goal_id\n\ 00347 uint8 status\n\ 00348 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00349 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00350 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00351 # and has since completed its execution (Terminal State)\n\ 00352 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00353 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00354 # to some failure (Terminal State)\n\ 00355 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00356 # because the goal was unattainable or invalid (Terminal State)\n\ 00357 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00358 # and has not yet completed execution\n\ 00359 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00360 # but the action server has not yet confirmed that the goal is canceled\n\ 00361 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00362 # and was successfully cancelled (Terminal State)\n\ 00363 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00364 # sent over the wire by an action server\n\ 00365 \n\ 00366 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00367 string text\n\ 00368 \n\ 00369 \n\ 00370 ================================================================================\n\ 00371 MSG: wpa_supplicant_node/ScanResult\n\ 00372 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00373 #int32 SUCCESS = 0\n\ 00374 #int32 TOO_MANY_SSIDS = 1\n\ 00375 #int32 TOO_MANY_CHANNELS = 2\n\ 00376 #int32 SCAN_REQUEST_FAILED = 3\n\ 00377 #int32 SCAN_REQUEST_TIMED_OUT = 4\n\ 00378 #\n\ 00379 bool success\n\ 00380 Bss[] bss\n\ 00381 \n\ 00382 ================================================================================\n\ 00383 MSG: wpa_supplicant_node/Bss\n\ 00384 time stamp\n\ 00385 string ssid\n\ 00386 uint8[6] bssid\n\ 00387 int32 frequency # In MHz\n\ 00388 int16 beacon_interval\n\ 00389 int16 capabilities\n\ 00390 int32 quality\n\ 00391 int32 noise\n\ 00392 int32 level\n\ 00393 SecurityProperties wpa\n\ 00394 SecurityProperties rsn\n\ 00395 \n\ 00396 #InformationElement []ies\n\ 00397 #InformationElement []beacon_ies\n\ 00398 # flags\n\ 00399 # tsf\n\ 00400 # age\n\ 00401 \n\ 00402 ================================================================================\n\ 00403 MSG: wpa_supplicant_node/SecurityProperties\n\ 00404 string[] key_mgmt\n\ 00405 string[] group\n\ 00406 string[] pairwise\n\ 00407 \n\ 00408 ================================================================================\n\ 00409 MSG: wpa_supplicant_node/ScanActionFeedback\n\ 00410 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00411 \n\ 00412 Header header\n\ 00413 actionlib_msgs/GoalStatus status\n\ 00414 ScanFeedback feedback\n\ 00415 \n\ 00416 ================================================================================\n\ 00417 MSG: wpa_supplicant_node/ScanFeedback\n\ 00418 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00419 \n\ 00420 \n\ 00421 "; 00422 } 00423 00424 static const char* value(const ::wpa_supplicant_node::ScanAction_<ContainerAllocator> &) { return value(); } 00425 }; 00426 00427 } // namespace message_traits 00428 } // namespace ros 00429 00430 namespace ros 00431 { 00432 namespace serialization 00433 { 00434 00435 template<class ContainerAllocator> struct Serializer< ::wpa_supplicant_node::ScanAction_<ContainerAllocator> > 00436 { 00437 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00438 { 00439 stream.next(m.action_goal); 00440 stream.next(m.action_result); 00441 stream.next(m.action_feedback); 00442 } 00443 00444 ROS_DECLARE_ALLINONE_SERIALIZER; 00445 }; // struct ScanAction_ 00446 } // namespace serialization 00447 } // namespace ros 00448 00449 namespace ros 00450 { 00451 namespace message_operations 00452 { 00453 00454 template<class ContainerAllocator> 00455 struct Printer< ::wpa_supplicant_node::ScanAction_<ContainerAllocator> > 00456 { 00457 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::wpa_supplicant_node::ScanAction_<ContainerAllocator> & v) 00458 { 00459 s << indent << "action_goal: "; 00460 s << std::endl; 00461 Printer< ::wpa_supplicant_node::ScanActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal); 00462 s << indent << "action_result: "; 00463 s << std::endl; 00464 Printer< ::wpa_supplicant_node::ScanActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result); 00465 s << indent << "action_feedback: "; 00466 s << std::endl; 00467 Printer< ::wpa_supplicant_node::ScanActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback); 00468 } 00469 }; 00470 00471 00472 } // namespace message_operations 00473 } // namespace ros 00474 00475 #endif // WPA_SUPPLICANT_NODE_MESSAGE_SCANACTION_H 00476