warehouse::ResultIterator< M >::QueryResultSubscriber Struct Reference

List of all members.

Public Member Functions

void fetchNext ()
void messageCallback (Ptr msg)
void metadataCallback (std_msgs::String::ConstPtr m)
 QueryResultSubscriber (const ros::NodeHandle &nh, const InitiateQuery &srv, const ros::ServiceClient &pull_client_, bool metadata_only)

Public Attributes

boost::condition_variable cond
bool data_received_
bool initial_fetch_
bool metadata_only_
bool metadata_received_
ros::Subscriber metadata_sub_
boost::mutex mutex_
MessageWithMetadata< M >::Ptr next_result_
ros::NodeHandle nh_
ros::ServiceClient pull_client_
std::string query_id_
ros::Subscriber sub_
std::string topic_base_

Detailed Description

template<class M>
struct warehouse::ResultIterator< M >::QueryResultSubscriber

Definition at line 97 of file result_iterator.h.


Constructor & Destructor Documentation

template<class M >
warehouse::ResultIterator< M >::QueryResultSubscriber::QueryResultSubscriber ( const ros::NodeHandle &  nh,
const InitiateQuery srv,
const ros::ServiceClient &  pull_client_,
bool  metadata_only 
) [inline]

Definition at line 58 of file result_iterator_impl.h.


Member Function Documentation

template<class M >
void warehouse::ResultIterator< M >::QueryResultSubscriber::fetchNext (  )  [inline]

Definition at line 118 of file result_iterator_impl.h.

template<class M >
void warehouse::ResultIterator< M >::QueryResultSubscriber::messageCallback ( Ptr  msg  )  [inline]

Definition at line 145 of file result_iterator_impl.h.

template<class M >
void warehouse::ResultIterator< M >::QueryResultSubscriber::metadataCallback ( std_msgs::String::ConstPtr  m  )  [inline]

Definition at line 159 of file result_iterator_impl.h.


Member Data Documentation

template<class M>
boost::condition_variable warehouse::ResultIterator< M >::QueryResultSubscriber::cond

Definition at line 108 of file result_iterator.h.

Definition at line 111 of file result_iterator.h.

Definition at line 116 of file result_iterator.h.

Definition at line 115 of file result_iterator.h.

Definition at line 112 of file result_iterator.h.

template<class M>
ros::Subscriber warehouse::ResultIterator< M >::QueryResultSubscriber::metadata_sub_

Definition at line 113 of file result_iterator.h.

template<class M>
boost::mutex warehouse::ResultIterator< M >::QueryResultSubscriber::mutex_

Definition at line 107 of file result_iterator.h.

Definition at line 117 of file result_iterator.h.

template<class M>
ros::NodeHandle warehouse::ResultIterator< M >::QueryResultSubscriber::nh_

Definition at line 109 of file result_iterator.h.

template<class M>
ros::ServiceClient warehouse::ResultIterator< M >::QueryResultSubscriber::pull_client_

Definition at line 114 of file result_iterator.h.

template<class M>
std::string warehouse::ResultIterator< M >::QueryResultSubscriber::query_id_

Definition at line 110 of file result_iterator.h.

template<class M>
ros::Subscriber warehouse::ResultIterator< M >::QueryResultSubscriber::sub_

Definition at line 113 of file result_iterator.h.

Definition at line 110 of file result_iterator.h.


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


warehouse
Author(s): Nate Koenig, Bhaskara Marthi
autogenerated on Fri Jan 11 10:09:02 2013