Class PlayableBag
Defined in File playable_bag.h
Class Documentation
-
class PlayableBag
Public Types
-
using FilteringEarlyMessageHandler = std::function<bool(std::shared_ptr<rosbag2_storage::SerializedBagMessage>)>
Public Functions
-
PlayableBag(const std::string &bag_filename, int bag_id, rclcpp::Duration buffer_delay, FilteringEarlyMessageHandler filtering_early_message_handler)
-
rclcpp::Time PeekMessageTime() const
-
rosbag2_storage::SerializedBagMessage GetNextMessage(cartographer_ros_msgs::msg::BagfileProgress *progress)
-
bool IsMessageAvailable() const
-
std::tuple<rclcpp::Time, rclcpp::Time> GetBeginEndTime() const
-
int bag_id() const
-
inline std::set<std::string> topics() const
-
inline double duration_in_seconds() const
-
inline bool finished() const
Public Members
-
rosbag2_storage::BagMetadata bag_metadata
-
using FilteringEarlyMessageHandler = std::function<bool(std::shared_ptr<rosbag2_storage::SerializedBagMessage>)>