rosbag::Player Class Reference

PRIVATE. Player class to abstract the interface to the player. More...

#include <player.h>

List of all members.

Public Member Functions

 Player (PlayerOptions const &options)
void publish ()
 ~Player ()

Private Member Functions

void doKeepAlive ()
void doPublish (rosbag::MessageInstance const &m)
void printTime ()
char readCharFromStdin ()
void restoreTerminal ()
void setupTerminal ()

Private Attributes

ros::Duration bag_length_
std::vector< boost::shared_ptr
< Bag > > 
bags_
int maxfd_
ros::NodeHandle node_handle_
PlayerOptions options_
termios orig_flags_
bool paused_
ros::WallTime paused_time_
std::map< std::string,
ros::Publisher > 
publishers_
ros::Time start_time_
fd_set stdin_fdset_
bool terminal_modified_
TimePublisher time_publisher_
TimeTranslator time_translator_

Detailed Description

PRIVATE. Player class to abstract the interface to the player.

This API is currently considered private, but will be released in the future after view.

Definition at line 142 of file player.h.


Constructor & Destructor Documentation

rosbag::Player::Player ( PlayerOptions const &  options  ) 

Definition at line 84 of file player.cpp.

rosbag::Player::~Player (  ) 

Definition at line 91 of file player.cpp.


Member Function Documentation

void rosbag::Player::doKeepAlive (  )  [private]

Definition at line 346 of file player.cpp.

void rosbag::Player::doPublish ( rosbag::MessageInstance const &  m  )  [private]

Definition at line 249 of file player.cpp.

void rosbag::Player::printTime (  )  [private]

Definition at line 230 of file player.cpp.

void rosbag::Player::publish (  ) 

Definition at line 98 of file player.cpp.

char rosbag::Player::readCharFromStdin (  )  [private]

Definition at line 430 of file player.cpp.

void rosbag::Player::restoreTerminal (  )  [private]

Definition at line 420 of file player.cpp.

void rosbag::Player::setupTerminal (  )  [private]

Definition at line 400 of file player.cpp.


Member Data Documentation

ros::Duration rosbag::Player::bag_length_ [private]

Definition at line 185 of file player.h.

std::vector<boost::shared_ptr<Bag> > rosbag::Player::bags_ [private]

Definition at line 172 of file player.h.

int rosbag::Player::maxfd_ [private]

Definition at line 179 of file player.h.

ros::NodeHandle rosbag::Player::node_handle_ [private]

Definition at line 166 of file player.h.

Definition at line 164 of file player.h.

termios rosbag::Player::orig_flags_ [private]

Definition at line 177 of file player.h.

bool rosbag::Player::paused_ [private]

Definition at line 168 of file player.h.

ros::WallTime rosbag::Player::paused_time_ [private]

Definition at line 170 of file player.h.

std::map<std::string, ros::Publisher> rosbag::Player::publishers_ [private]

Definition at line 173 of file player.h.

ros::Time rosbag::Player::start_time_ [private]

Definition at line 184 of file player.h.

fd_set rosbag::Player::stdin_fdset_ [private]

Definition at line 178 of file player.h.

Definition at line 176 of file player.h.

Definition at line 182 of file player.h.

Definition at line 181 of file player.h.


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


rosbag
Author(s): Jeremy Leibs (leibs@willowgarage.com), James Bowman (jamesb@willowgarage.com), Ken Conley (kwc@willowgarage.com), and Tim Field (tfield@willowgarage.com)
autogenerated on Fri Jan 11 10:11:44 2013