39 #ifndef WAREHOUSE_ROS_QUERY_RESULTS_H 40 #define WAREHOUSE_ROS_QUERY_RESULTS_H 44 #include <boost/iterator/iterator_facade.hpp> 51 virtual bool next() = 0;
52 virtual bool hasData()
const = 0;
54 virtual std::string
message()
const = 0;
61 :
public boost::iterator_facade<ResultIterator<M>, typename MessageWithMetadata<M>::ConstPtr,
62 boost::single_pass_traversal_tag, typename MessageWithMetadata<M>::ConstPtr>
80 friend class boost::iterator_core_access;
101 #endif // include guard const bool metadata_only_
virtual Metadata::ConstPtr metadata() const =0
ResultIteratorHelper::Ptr results_
virtual bool hasData() const =0
std::pair< ResultIterator< M >, ResultIterator< M > > range_t
boost::shared_ptr< ResultIteratorHelper > Ptr
virtual std::string message() const =0