ros::record::Player Class Reference
#include <Player.h>
List of all members.
Classes |
| struct | FilteredMsgFunctor |
Public Member Functions |
| template<class M , class T > |
| void | addHandler (std::string topic_name, void(T::*fp)(std::string, M *, ros::Time, ros::Time, void *), T *obj, void *ptr) |
| template<class M , class T > |
| void | addHandler (std::string topic_name, void(T::*fp)(std::string, ros::Message *, ros::Time, ros::Time, void *), T *obj, void *ptr, bool inflate) |
| template<class M > |
| void | addHandler (std::string topic_name, void(*fp)(std::string, M *, ros::Time, ros::Time, void *), void *ptr) |
| template<class M > |
| void | addHandler (std::string topic_name, void(*fp)(std::string, ros::Message *, ros::Time, ros::Time, void *), void *ptr, bool inflate) |
| void | close () |
| ros::Duration | get_duration () |
| ros::Time | get_next_msg_time () |
| ros::Duration | getFirstDuration () |
| ros::Time | getFirstTime () |
| std::string | getVersionString () |
| bool | isDone () |
| bool | nextMsg () |
| bool | open (std::string const &file_name, ros::Time start_time, bool try_future=false) |
| ROS_DEPRECATED | Player (double time_scale=1.0) |
| void | setRealStartTime (const ros::Time &start_time) |
| void | setTranslatedStartTime (const ros::Time &start_time) |
| void | shiftTime (ros::Duration shift) |
| virtual | ~Player () |
Private Attributes |
| rosbag::Bag | bag_ |
| std::vector< FilteredMsgFunctor > | callbacks_ |
| ros::Duration | duration_ |
| ros::Duration | first_duration_ |
| ros::Time | first_time_ |
| rosbag::View::const_iterator | iterator_ |
| rosbag::TimeTranslator | translator_ |
| rosbag::View | view_ |
Detailed Description
Definition at line 64 of file Player.h.
Constructor & Destructor Documentation
| ROS_DEPRECATED ros::record::Player::Player |
( |
double |
time_scale = 1.0 |
) |
[inline] |
| virtual ros::record::Player::~Player |
( |
|
) |
[inline, virtual] |
Member Function Documentation
template<class M , class T >
| void ros::record::Player::addHandler |
( |
std::string |
topic_name, |
|
|
void(T::*)(std::string, M *, ros::Time, ros::Time, void *) |
fp, |
|
|
T * |
obj, |
|
|
void * |
ptr | |
|
) |
| | [inline] |
template<class M , class T >
| void ros::record::Player::addHandler |
( |
std::string |
topic_name, |
|
|
void(T::*)(std::string, ros::Message *, ros::Time, ros::Time, void *) |
fp, |
|
|
T * |
obj, |
|
|
void * |
ptr, |
|
|
bool |
inflate | |
|
) |
| | [inline] |
template<class M >
| void ros::record::Player::addHandler |
( |
std::string |
topic_name, |
|
|
void(*)(std::string, M *, ros::Time, ros::Time, void *) |
fp, |
|
|
void * |
ptr | |
|
) |
| | [inline] |
template<class M >
| void ros::record::Player::addHandler |
( |
std::string |
topic_name, |
|
|
void(*)(std::string, ros::Message *, ros::Time, ros::Time, void *) |
fp, |
|
|
void * |
ptr, |
|
|
bool |
inflate | |
|
) |
| | [inline] |
| void ros::record::Player::close |
( |
|
) |
[inline] |
| ros::Duration ros::record::Player::get_duration |
( |
|
) |
[inline] |
| ros::Time ros::record::Player::get_next_msg_time |
( |
|
) |
[inline] |
| ros::Duration ros::record::Player::getFirstDuration |
( |
|
) |
[inline] |
| ros::Time ros::record::Player::getFirstTime |
( |
|
) |
[inline] |
| std::string ros::record::Player::getVersionString |
( |
|
) |
[inline] |
| bool ros::record::Player::isDone |
( |
|
) |
[inline] |
| bool ros::record::Player::nextMsg |
( |
|
) |
[inline] |
| bool ros::record::Player::open |
( |
std::string const & |
file_name, |
|
|
ros::Time |
start_time, |
|
|
bool |
try_future = false | |
|
) |
| | [inline] |
| void ros::record::Player::setRealStartTime |
( |
const ros::Time & |
start_time |
) |
[inline] |
| void ros::record::Player::setTranslatedStartTime |
( |
const ros::Time & |
start_time |
) |
[inline] |
| void ros::record::Player::shiftTime |
( |
ros::Duration |
shift |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: