#include <bag_player.h>
Public Member Functions | |
BagPlayer (const std::string &filename) throw (BagException) | |
rs2rosinternal::Time | get_time () |
template<class T > | |
void | register_callback (const std::string &topic, typename BagCallbackT< T >::Callback f) |
void | set_end (const rs2rosinternal::Time &end) |
void | set_playback_speed (double scale) |
void | set_start (const rs2rosinternal::Time &start) |
void | start_play () |
void | unregister_callback (const std::string &topic) |
virtual | ~BagPlayer () |
Public Attributes | |
Bag | bag |
Private Member Functions | |
rs2rosinternal::Time | real_time (const rs2rosinternal::Time &msg_time) |
Private Attributes | |
rs2rosinternal::Time | bag_end_ |
rs2rosinternal::Time | bag_start_ |
std::map< std::string, BagCallback * > | cbs_ |
rs2rosinternal::Time | last_message_time_ |
rs2rosinternal::Time | play_start_ |
double | playback_speed_ |
Definition at line 77 of file bag_player.h.
rosbag::BagPlayer::BagPlayer | ( | const std::string & | filename | ) | |
throw | ( | BagException | |||
) |
Definition at line 8 of file bag_player.cpp.
|
virtual |
Definition at line 18 of file bag_player.cpp.
rs2rosinternal::Time rosbag::BagPlayer::get_time | ( | ) |
Definition at line 22 of file bag_player.cpp.
|
private |
Definition at line 39 of file bag_player.cpp.
void rosbag::BagPlayer::register_callback | ( | const std::string & | topic, |
typename BagCallbackT< T >::Callback | f | ||
) |
Definition at line 129 of file bag_player.h.
void rosbag::BagPlayer::set_end | ( | const rs2rosinternal::Time & | end | ) |
Definition at line 30 of file bag_player.cpp.
void rosbag::BagPlayer::set_playback_speed | ( | double | scale | ) |
Definition at line 34 of file bag_player.cpp.
void rosbag::BagPlayer::set_start | ( | const rs2rosinternal::Time & | start | ) |
Definition at line 26 of file bag_player.cpp.
void rosbag::BagPlayer::start_play | ( | ) |
Definition at line 43 of file bag_player.cpp.
void rosbag::BagPlayer::unregister_callback | ( | const std::string & | topic | ) |
Definition at line 65 of file bag_player.cpp.
Bag rosbag::BagPlayer::bag |
Definition at line 115 of file bag_player.h.
|
private |
Definition at line 122 of file bag_player.h.
|
private |
Definition at line 121 of file bag_player.h.
|
private |
Definition at line 120 of file bag_player.h.
|
private |
Definition at line 123 of file bag_player.h.
|
private |
Definition at line 125 of file bag_player.h.
|
private |
Definition at line 124 of file bag_player.h.