Classes | Public Member Functions | Private Attributes | List of all members
cartographer_ros::PlayableBagMultiplexer Class Reference

#include <playable_bag.h>

Classes

struct  BagMessageItem
 

Public Member Functions

void AddPlayableBag (PlayableBag playable_bag)
 
std::tuple< rosbag::MessageInstance, int, bool > GetNextMessage ()
 
bool IsMessageAvailable () const
 
ros::Time PeekMessageTime () const
 

Private Attributes

std::priority_queue< BagMessageItem, std::vector< BagMessageItem >, BagMessageItem::TimestampIsGreaternext_message_queue_
 
std::vector< PlayableBagplayable_bags_
 

Detailed Description

Definition at line 64 of file playable_bag.h.

Member Function Documentation

◆ AddPlayableBag()

void cartographer_ros::PlayableBagMultiplexer::AddPlayableBag ( PlayableBag  playable_bag)

Definition at line 101 of file playable_bag.cc.

◆ GetNextMessage()

std::tuple< rosbag::MessageInstance, int, bool > cartographer_ros::PlayableBagMultiplexer::GetNextMessage ( )

Definition at line 114 of file playable_bag.cc.

◆ IsMessageAvailable()

bool cartographer_ros::PlayableBagMultiplexer::IsMessageAvailable ( ) const

Definition at line 109 of file playable_bag.cc.

◆ PeekMessageTime()

ros::Time cartographer_ros::PlayableBagMultiplexer::PeekMessageTime ( ) const

Definition at line 129 of file playable_bag.cc.

Member Data Documentation

◆ next_message_queue_

std::priority_queue<BagMessageItem, std::vector<BagMessageItem>, BagMessageItem::TimestampIsGreater> cartographer_ros::PlayableBagMultiplexer::next_message_queue_
private

Definition at line 92 of file playable_bag.h.

◆ playable_bags_

std::vector<PlayableBag> cartographer_ros::PlayableBagMultiplexer::playable_bags_
private

Definition at line 89 of file playable_bag.h.


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


cartographer_ros
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:06:05