35 #ifndef ROSBAG_QUERY_H
36 #define ROSBAG_QUERY_H
44 #include <boost/function.hpp>
60 Query(boost::function<
bool(ConnectionInfo
const*)>& query,
64 boost::function<bool(ConnectionInfo
const*)>
const& getQuery()
const;
70 boost::function<bool(ConnectionInfo
const*)> query_;
78 TopicQuery(std::string
const& topic);
79 TopicQuery(std::vector<std::string>
const& topics);
81 bool operator()(ConnectionInfo
const*)
const;
84 std::vector<std::string> topics_;
91 TypeQuery(std::vector<std::string>
const& types);
96 std::vector<std::string> types_;
106 uint32_t bag_revision;
111 MessageRange(std::multiset<IndexEntry>::const_iterator
const& _begin,
112 std::multiset<IndexEntry>::const_iterator
const& _end,
116 std::multiset<IndexEntry>::const_iterator begin;
117 std::multiset<IndexEntry>::const_iterator end;
127 std::multiset<IndexEntry>::const_iterator iter;