Public Member Functions | Private Attributes | List of all members
rosbag::Query Class Reference

#include <query.h>

Public Member Functions

ros::Time const & getEndTime () const
 Get the end-time. More...
 
boost::function< bool(ConnectionInfo const *)> const & getQuery () const
 Get the query functor. More...
 
ros::Time const & getStartTime () const
 Get the start-time. More...
 
 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. More...
 

Private Attributes

ros::Time end_time_
 
boost::function< bool(ConnectionInfo const *)> query_
 
ros::Time start_time_
 

Detailed Description

Definition at line 52 of file query.h.

Constructor & Destructor Documentation

rosbag::Query::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.

param start_time the beginning of the time_range for the query param end_time the end of the time_range for the query

Definition at line 44 of file query.cpp.

Member Function Documentation

ros::Time const & rosbag::Query::getEndTime ( ) const

Get the end-time.

Definition at line 54 of file query.cpp.

boost::function< bool(ConnectionInfo const *)> const & rosbag::Query::getQuery ( ) const

Get the query functor.

Definition at line 49 of file query.cpp.

ros::Time const & rosbag::Query::getStartTime ( ) const

Get the start-time.

Definition at line 53 of file query.cpp.

Member Data Documentation

ros::Time rosbag::Query::end_time_
private

Definition at line 72 of file query.h.

boost::function<bool(ConnectionInfo const*)> rosbag::Query::query_
private

Definition at line 70 of file query.h.

ros::Time rosbag::Query::start_time_
private

Definition at line 71 of file query.h.


The documentation for this class was generated from the following files:


rosbag_storage
Author(s): Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:19