38 #include <boost/function.hpp> 39 #include <boost/iterator/iterator_facade.hpp> 60 class iterator :
public boost::iterator_facade<iterator,
62 boost::forward_traversal_tag>
75 friend class boost::iterator_core_access;
78 void populateSeek(std::multiset<IndexEntry>::const_iterator iter);
80 bool equal(
iterator const& other)
const;
103 View(
bool const& reduce_overlap =
false);
146 void addQuery(
Bag const& bag, boost::function<
bool(
ConnectionInfo const*)> query,
149 std::vector<const ConnectionInfo*> getConnections();
bool operator()(ConnectionInfo const *) const
An iterator that points to a MessageInstance from a bag.
MessageInstance * message_instance_
A class pointing into a bag file.
ROSTIME_DECL const Time TIME_MAX
std::vector< ViewIterHelper > iters_
Pairs of queries and the bags they come from (used internally by View)
std::vector< MessageRange * > ranges_
ROSTIME_DECL const Time TIME_MIN
std::vector< BagQuery * > queries_