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

◆ Query()

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 40 of file query.cpp.

Member Function Documentation

◆ getEndTime()

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

Get the end-time.

Definition at line 50 of file query.cpp.

◆ getQuery()

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

Get the query functor.

Definition at line 45 of file query.cpp.

◆ getStartTime()

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

Get the start-time.

Definition at line 49 of file query.cpp.

Member Data Documentation

◆ end_time_

ros::Time rosbag::Query::end_time_

Definition at line 72 of file query.h.

◆ query_

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

Definition at line 70 of file query.h.

◆ start_time_

ros::Time rosbag::Query::start_time_

Definition at line 71 of file query.h.

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

Author(s): Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:55