#include <bag_player.h>
Public Member Functions | |
BagPlayer (const std::string &filename) | |
ros::Time | get_time () |
template<class T > | |
void | register_callback (const std::string &topic, typename BagCallbackT< T >::Callback f) |
void | set_end (const ros::Time &end) |
void | set_playback_speed (double scale) |
void | set_start (const ros::Time &start) |
void | start_play () |
void | unregister_callback (const std::string &topic) |
virtual | ~BagPlayer () |
Public Attributes | |
Bag | bag |
Private Member Functions | |
ros::Time | real_time (const ros::Time &msg_time) |
Private Attributes | |
ros::Time | bag_end_ |
ros::Time | bag_start_ |
std::map< std::string, boost::shared_ptr< BagCallback > > | cbs_ |
ros::Time | last_message_time_ |
ros::Time | play_start_ |
double | playback_speed_ |
Definition at line 92 of file bag_player.h.
rosbag::BagPlayer::BagPlayer | ( | const std::string & | filename | ) |
Definition at line 6 of file bag_player.cpp.
|
virtual |
Definition at line 16 of file bag_player.cpp.
ros::Time rosbag::BagPlayer::get_time | ( | ) |
Definition at line 20 of file bag_player.cpp.
Definition at line 37 of file bag_player.cpp.
void rosbag::BagPlayer::register_callback | ( | const std::string & | topic, |
typename BagCallbackT< T >::Callback | f | ||
) |
Definition at line 144 of file bag_player.h.
void rosbag::BagPlayer::set_end | ( | const ros::Time & | end | ) |
Definition at line 28 of file bag_player.cpp.
void rosbag::BagPlayer::set_playback_speed | ( | double | scale | ) |
Definition at line 32 of file bag_player.cpp.
void rosbag::BagPlayer::set_start | ( | const ros::Time & | start | ) |
Definition at line 24 of file bag_player.cpp.
void rosbag::BagPlayer::start_play | ( | ) |
Definition at line 41 of file bag_player.cpp.
void rosbag::BagPlayer::unregister_callback | ( | const std::string & | topic | ) |
Definition at line 62 of file bag_player.cpp.
Bag rosbag::BagPlayer::bag |
Definition at line 130 of file bag_player.h.
|
private |
Definition at line 137 of file bag_player.h.
|
private |
Definition at line 136 of file bag_player.h.
|
private |
Definition at line 135 of file bag_player.h.
|
private |
Definition at line 138 of file bag_player.h.
|
private |
Definition at line 140 of file bag_player.h.
|
private |
Definition at line 139 of file bag_player.h.