Public Member Functions | Private Member Functions | Private Attributes
actionlib::ConnectionMonitor Class Reference

#include <connection_monitor.h>

List of all members.

Public Member Functions

void cancelConnectCallback (const ros::SingleSubscriberPublisher &pub)
void cancelDisconnectCallback (const ros::SingleSubscriberPublisher &pub)
 ConnectionMonitor (ros::Subscriber &feedback_sub, ros::Subscriber &result_sub)
void goalConnectCallback (const ros::SingleSubscriberPublisher &pub)
void goalDisconnectCallback (const ros::SingleSubscriberPublisher &pub)
bool isServerConnected ()
void processStatus (const actionlib_msgs::GoalStatusArrayConstPtr &status, const std::string &cur_status_caller_id)
bool waitForActionServerToStart (const ros::Duration &timeout=ros::Duration(0, 0), const ros::NodeHandle &nh=ros::NodeHandle())

Private Member Functions

std::string cancelSubscribersString ()
std::string goalSubscribersString ()

Private Attributes

std::map< std::string, size_t > cancelSubscribers_
boost::condition check_connection_condition_
boost::recursive_mutex data_mutex_
ros::Subscriberfeedback_sub_
std::map< std::string, size_t > goalSubscribers_
ros::Time latest_status_time_
ros::Subscriberresult_sub_
std::string status_caller_id_
bool status_received_

Detailed Description

Definition at line 53 of file connection_monitor.h.


Constructor & Destructor Documentation

Definition at line 52 of file connection_monitor.cpp.


Member Function Documentation

Definition at line 118 of file connection_monitor.cpp.

Definition at line 138 of file connection_monitor.cpp.

Definition at line 161 of file connection_monitor.cpp.

Definition at line 61 of file connection_monitor.cpp.

Definition at line 81 of file connection_monitor.cpp.

Definition at line 103 of file connection_monitor.cpp.

Definition at line 202 of file connection_monitor.cpp.

void actionlib::ConnectionMonitor::processStatus ( const actionlib_msgs::GoalStatusArrayConstPtr &  status,
const std::string &  cur_status_caller_id 
)

Definition at line 176 of file connection_monitor.cpp.

Definition at line 245 of file connection_monitor.cpp.


Member Data Documentation

std::map<std::string, size_t> actionlib::ConnectionMonitor::cancelSubscribers_ [private]

Definition at line 83 of file connection_monitor.h.

Definition at line 79 of file connection_monitor.h.

boost::recursive_mutex actionlib::ConnectionMonitor::data_mutex_ [private]

Definition at line 81 of file connection_monitor.h.

Definition at line 88 of file connection_monitor.h.

std::map<std::string, size_t> actionlib::ConnectionMonitor::goalSubscribers_ [private]

Definition at line 82 of file connection_monitor.h.

Definition at line 77 of file connection_monitor.h.

Definition at line 89 of file connection_monitor.h.

Definition at line 75 of file connection_monitor.h.

Definition at line 76 of file connection_monitor.h.


The documentation for this class was generated from the following files:


actionlib
Author(s): Eitan Marder-Eppstein, Vijay Pradeep
autogenerated on Thu Sep 28 2017 02:51:16