ros_interface Struct Reference

List of all members.

Public Member Functions

void assocFailed (const u8 *bssid, const char *s)
void assocSucceeded ()
void ifaceIdle ()
void publishUnassociated ()
 ros_interface (const ros::NodeHandle &nh, wpa_supplicant *wpa_s)
void scanCompleted (wpa_scan_results *scan_res)

Private Member Functions

bool addNetwork (wpa_supplicant_node::AddNetwork::Request &req, wpa_supplicant_node::AddNetwork::Response &rsp)
void associateCancelCallback (AssociateActionServer::GoalHandle &gh)
void associateGoalCallback (AssociateActionServer::GoalHandle &gh)
void associateWork ()
void fillRosBss (wpa_supplicant_node::Bss &ros_bss, wpa_bss &bss)
void fillRosResp (wpa_supplicant_node::ScanResult &rslt, wpa_scan_results &scan_res)
std::string fillWpaReq (boost::shared_ptr< const wpa_supplicant_node::ScanGoal > &g, struct wpa_driver_scan_params &wpa_req)
void lockedScanTryActivate ()
void publishFrequencyList ()
void publishNetworkList ()
bool removeNetwork (wpa_supplicant_node::RemoveNetwork::Request &req, wpa_supplicant_node::RemoveNetwork::Response &rsp)
void requestAssociateWork ()
void scanCancel (ScanActionServer::GoalHandle &gh)
void scanCancelCallback (ScanActionServer::GoalHandle &gh)
void scanGoalCallback (ScanActionServer::GoalHandle &gh)
void scanTryActivate ()
bool setNetworkParameter (wpa_supplicant_node::SetNetworkParameters::Request &req, wpa_supplicant_node::SetNetworkParameters::Response &rsp)
bool setNetworkState (wpa_supplicant_node::SetNetworkState::Request &req, wpa_supplicant_node::SetNetworkState::Response &rsp)
void startActiveAssociation (AssociateActionServer::GoalHandle &gh)
void stopActiveAssociation ()

Static Private Member Functions

static void associateTimeoutHandler (void *wpa_s, void *unused)
static void scanTimeoutHandler (void *wpa_s, void *unused)

Private Attributes

AssociateActionServer aas_
AssociateActionServer::GoalHandle active_association_
ros::ServiceServer add_network_service_
std::queue
< AssociateActionServer::GoalHandle > 
associate_cancel_queue_
std::queue
< AssociateActionServer::GoalHandle > 
associate_goal_queue_
boost::recursive_mutex associate_mutex_
bool associate_work_requested_
ros::Publisher association_publisher_
ScanActionServer::GoalHandle current_scan_
std::vector< int > current_scan_frequencies_
ros::Publisher frequency_list_publisher_
ros::Publisher network_list_publisher_
ros::NodeHandle nh_
ros::ServiceServer remove_network_service_
ScanActionServer sas_
boost::recursive_mutex scan_mutex_
ros::Publisher scan_publisher_
std::queue
< ScanActionServer::GoalHandle > 
scan_queue_
ros::ServiceServer set_network_parameter_service_
ros::ServiceServer set_network_state_service_
wpa_supplicantwpa_s_

Detailed Description

Definition at line 177 of file wpa_supplicant_node.cpp.


Constructor & Destructor Documentation

ros_interface::ros_interface ( const ros::NodeHandle &  nh,
wpa_supplicant wpa_s 
) [inline]

Definition at line 212 of file wpa_supplicant_node.cpp.


Member Function Documentation

bool ros_interface::addNetwork ( wpa_supplicant_node::AddNetwork::Request req,
wpa_supplicant_node::AddNetwork::Response rsp 
) [inline, private]

Definition at line 371 of file wpa_supplicant_node.cpp.

void ros_interface::assocFailed ( const u8 bssid,
const char *  s 
) [inline]

Definition at line 278 of file wpa_supplicant_node.cpp.

void ros_interface::associateCancelCallback ( AssociateActionServer::GoalHandle &  gh  )  [inline, private]

Definition at line 537 of file wpa_supplicant_node.cpp.

void ros_interface::associateGoalCallback ( AssociateActionServer::GoalHandle &  gh  )  [inline, private]

Definition at line 529 of file wpa_supplicant_node.cpp.

static void ros_interface::associateTimeoutHandler ( void *  wpa_s,
void *  unused 
) [inline, static, private]

Definition at line 690 of file wpa_supplicant_node.cpp.

void ros_interface::associateWork (  )  [inline, private]

Definition at line 476 of file wpa_supplicant_node.cpp.

void ros_interface::assocSucceeded (  )  [inline]

Definition at line 305 of file wpa_supplicant_node.cpp.

void ros_interface::fillRosBss ( wpa_supplicant_node::Bss ros_bss,
wpa_bss bss 
) [inline, private]

Definition at line 545 of file wpa_supplicant_node.cpp.

void ros_interface::fillRosResp ( wpa_supplicant_node::ScanResult rslt,
wpa_scan_results scan_res 
) [inline, private]

Definition at line 558 of file wpa_supplicant_node.cpp.

std::string ros_interface::fillWpaReq ( boost::shared_ptr< const wpa_supplicant_node::ScanGoal > &  g,
struct wpa_driver_scan_params wpa_req 
) [inline, private]

Definition at line 697 of file wpa_supplicant_node.cpp.

void ros_interface::ifaceIdle (  )  [inline]

Definition at line 239 of file wpa_supplicant_node.cpp.

void ros_interface::lockedScanTryActivate (  )  [inline, private]

Definition at line 627 of file wpa_supplicant_node.cpp.

void ros_interface::publishFrequencyList (  )  [inline, private]

Definition at line 350 of file wpa_supplicant_node.cpp.

void ros_interface::publishNetworkList (  )  [inline, private]

Definition at line 322 of file wpa_supplicant_node.cpp.

void ros_interface::publishUnassociated (  )  [inline]

Definition at line 233 of file wpa_supplicant_node.cpp.

bool ros_interface::removeNetwork ( wpa_supplicant_node::RemoveNetwork::Request req,
wpa_supplicant_node::RemoveNetwork::Response rsp 
) [inline, private]

Definition at line 383 of file wpa_supplicant_node.cpp.

void ros_interface::requestAssociateWork (  )  [inline, private]

Definition at line 418 of file wpa_supplicant_node.cpp.

void ros_interface::scanCancel ( ScanActionServer::GoalHandle &  gh  )  [inline, private]

Definition at line 612 of file wpa_supplicant_node.cpp.

void ros_interface::scanCancelCallback ( ScanActionServer::GoalHandle &  gh  )  [inline, private]

Definition at line 594 of file wpa_supplicant_node.cpp.

void ros_interface::scanCompleted ( wpa_scan_results scan_res  )  [inline]

Definition at line 243 of file wpa_supplicant_node.cpp.

void ros_interface::scanGoalCallback ( ScanActionServer::GoalHandle &  gh  )  [inline, private]

Definition at line 582 of file wpa_supplicant_node.cpp.

static void ros_interface::scanTimeoutHandler ( void *  wpa_s,
void *  unused 
) [inline, static, private]

Definition at line 684 of file wpa_supplicant_node.cpp.

void ros_interface::scanTryActivate (  )  [inline, private]

Definition at line 729 of file wpa_supplicant_node.cpp.

bool ros_interface::setNetworkParameter ( wpa_supplicant_node::SetNetworkParameters::Request req,
wpa_supplicant_node::SetNetworkParameters::Response rsp 
) [inline, private]

Definition at line 407 of file wpa_supplicant_node.cpp.

bool ros_interface::setNetworkState ( wpa_supplicant_node::SetNetworkState::Request req,
wpa_supplicant_node::SetNetworkState::Response rsp 
) [inline, private]

Definition at line 395 of file wpa_supplicant_node.cpp.

void ros_interface::startActiveAssociation ( AssociateActionServer::GoalHandle &  gh  )  [inline, private]

Definition at line 433 of file wpa_supplicant_node.cpp.

void ros_interface::stopActiveAssociation (  )  [inline, private]

Definition at line 424 of file wpa_supplicant_node.cpp.


Member Data Documentation

Definition at line 193 of file wpa_supplicant_node.cpp.

AssociateActionServer::GoalHandle ros_interface::active_association_ [private]

Definition at line 194 of file wpa_supplicant_node.cpp.

ros::ServiceServer ros_interface::add_network_service_ [private]

Definition at line 200 of file wpa_supplicant_node.cpp.

std::queue<AssociateActionServer::GoalHandle> ros_interface::associate_cancel_queue_ [private]

Definition at line 197 of file wpa_supplicant_node.cpp.

std::queue<AssociateActionServer::GoalHandle> ros_interface::associate_goal_queue_ [private]

Definition at line 196 of file wpa_supplicant_node.cpp.

boost::recursive_mutex ros_interface::associate_mutex_ [private]

Definition at line 192 of file wpa_supplicant_node.cpp.

Definition at line 195 of file wpa_supplicant_node.cpp.

ros::Publisher ros_interface::association_publisher_ [private]

Definition at line 208 of file wpa_supplicant_node.cpp.

ScanActionServer::GoalHandle ros_interface::current_scan_ [private]

Definition at line 188 of file wpa_supplicant_node.cpp.

std::vector<int> ros_interface::current_scan_frequencies_ [private]

Definition at line 189 of file wpa_supplicant_node.cpp.

ros::Publisher ros_interface::frequency_list_publisher_ [private]

Definition at line 206 of file wpa_supplicant_node.cpp.

ros::Publisher ros_interface::network_list_publisher_ [private]

Definition at line 207 of file wpa_supplicant_node.cpp.

ros::NodeHandle ros_interface::nh_ [private]

Definition at line 182 of file wpa_supplicant_node.cpp.

ros::ServiceServer ros_interface::remove_network_service_ [private]

Definition at line 201 of file wpa_supplicant_node.cpp.

Definition at line 186 of file wpa_supplicant_node.cpp.

boost::recursive_mutex ros_interface::scan_mutex_ [private]

Definition at line 185 of file wpa_supplicant_node.cpp.

ros::Publisher ros_interface::scan_publisher_ [private]

Definition at line 209 of file wpa_supplicant_node.cpp.

std::queue<ScanActionServer::GoalHandle> ros_interface::scan_queue_ [private]

Definition at line 187 of file wpa_supplicant_node.cpp.

ros::ServiceServer ros_interface::set_network_parameter_service_ [private]

Definition at line 203 of file wpa_supplicant_node.cpp.

ros::ServiceServer ros_interface::set_network_state_service_ [private]

Definition at line 202 of file wpa_supplicant_node.cpp.

Definition at line 180 of file wpa_supplicant_node.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:02:49 2013