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< FilteredMsgFunctorcallbacks_
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]

Definition at line 76 of file Player.h.

virtual ros::record::Player::~Player (  )  [inline, virtual]

Definition at line 81 of file Player.h.


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]

Definition at line 196 of file Player.h.

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]

Definition at line 182 of file Player.h.

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]

Definition at line 169 of file Player.h.

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]

Definition at line 155 of file Player.h.

void ros::record::Player::close (  )  [inline]

Definition at line 114 of file Player.h.

ros::Duration ros::record::Player::get_duration (  )  [inline]

Definition at line 112 of file Player.h.

ros::Time ros::record::Player::get_next_msg_time (  )  [inline]

Definition at line 208 of file Player.h.

ros::Duration ros::record::Player::getFirstDuration (  )  [inline]

Definition at line 97 of file Player.h.

ros::Time ros::record::Player::getFirstTime (  )  [inline]

Definition at line 99 of file Player.h.

std::string ros::record::Player::getVersionString (  )  [inline]

Definition at line 88 of file Player.h.

bool ros::record::Player::isDone (  )  [inline]

Definition at line 94 of file Player.h.

bool ros::record::Player::nextMsg (  )  [inline]

Definition at line 215 of file Player.h.

bool ros::record::Player::open ( std::string const &  file_name,
ros::Time  start_time,
bool  try_future = false 
) [inline]

Definition at line 120 of file Player.h.

void ros::record::Player::setRealStartTime ( const ros::Time &  start_time  )  [inline]

Definition at line 106 of file Player.h.

void ros::record::Player::setTranslatedStartTime ( const ros::Time &  start_time  )  [inline]

Definition at line 101 of file Player.h.

void ros::record::Player::shiftTime ( ros::Duration  shift  )  [inline]

Definition at line 256 of file Player.h.


Member Data Documentation

rosbag::Bag ros::record::Player::bag_ [private]

Definition at line 270 of file Player.h.

Definition at line 274 of file Player.h.

ros::Duration ros::record::Player::duration_ [private]

Definition at line 268 of file Player.h.

ros::Duration ros::record::Player::first_duration_ [private]

Definition at line 267 of file Player.h.

ros::Time ros::record::Player::first_time_ [private]

Definition at line 266 of file Player.h.

rosbag::View::const_iterator ros::record::Player::iterator_ [private]

Definition at line 272 of file Player.h.

rosbag::TimeTranslator ros::record::Player::translator_ [private]

Definition at line 265 of file Player.h.

rosbag::View ros::record::Player::view_ [private]

Definition at line 271 of file Player.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Defines


rosrecord
Author(s): Jeremy Leibs (leibs@willowgarage.com), python code by James Bowman (jamesb@willowgarage.com) and Ken Conley (kwc@willowgarage.com)
autogenerated on Fri Jan 11 09:58:11 2013