Go to the documentation of this file.
41 : query_(query), start_time_(start_time), end_time_(end_time)
78 BagQuery::BagQuery(
Bag const* _bag,
Query const& _query, uint32_t _bag_revision) : bag(_bag), query(_query), bag_revision(_bag_revision) {
84 std::multiset<IndexEntry>::const_iterator
const& _end,
87 : begin(_begin), end(_end), connection_info(_connection_info), bag_query(_bag_query)
94 : iter(_iter), range(_range)
99 return (a.
iter)->time > (b.
iter)->time;
std::vector< std::string > topics_
TypeQuery(std::string const &type)
ViewIterHelper(std::multiset< IndexEntry >::const_iterator _iter, MessageRange const *_range)
boost::function< bool(ConnectionInfo const *)> query_
TopicQuery(std::string const &topic)
BagQuery(Bag const *_bag, Query const &_query, uint32_t _bag_revision)
std::vector< std::string > types_
bool operator()(ViewIterHelper const &a, ViewIterHelper const &b)
MessageRange(std::multiset< IndexEntry >::const_iterator const &_begin, std::multiset< IndexEntry >::const_iterator const &_end, ConnectionInfo const *_connection_info, BagQuery const *_bag_query)
ros::Time const & getStartTime() const
Get the start-time.
bool operator()(ConnectionInfo const *) const
std::multiset< IndexEntry >::const_iterator iter
Query(boost::function< bool(ConnectionInfo const *)> &query, ros::Time const &start_time=ros::TIME_MIN, ros::Time const &end_time=ros::TIME_MAX)
The base query takes an optional time-range.
ros::Time const & getEndTime() const
Get the end-time.
The actual iterator data structure.
boost::function< bool(ConnectionInfo const *)> const & getQuery() const
Get the query functor.
bool operator()(ConnectionInfo const *) const
Pairs of queries and the bags they come from (used internally by View)
rosbag_storage
Author(s): Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:52