Public Member Functions | Private Member Functions | Private Attributes
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 143 of file player.h.


Constructor & Destructor Documentation

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

Definition at line 84 of file player.cpp.

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.

Definition at line 98 of file player.cpp.

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

Definition at line 186 of file player.h.

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

Definition at line 173 of file player.h.

int rosbag::Player::maxfd_ [private]

Definition at line 180 of file player.h.

Definition at line 167 of file player.h.

Definition at line 165 of file player.h.

termios rosbag::Player::orig_flags_ [private]

Definition at line 178 of file player.h.

bool rosbag::Player::paused_ [private]

Definition at line 169 of file player.h.

Definition at line 171 of file player.h.

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

Definition at line 174 of file player.h.

Definition at line 185 of file player.h.

fd_set rosbag::Player::stdin_fdset_ [private]

Definition at line 179 of file player.h.

Definition at line 177 of file player.h.

Definition at line 183 of file player.h.

Definition at line 182 of file player.h.


The documentation for this class was generated from the following files:


rosbag
Author(s): Tim Field (tfield@willowgarage.com), Jeremy Leibs (leibs@willowgarage.com), and James Bowman (jamesb@willowgarage.com)
autogenerated on Sat Dec 28 2013 17:43:05