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 ()
int 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 158 of file player.h.


Constructor & Destructor Documentation

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

Definition at line 102 of file player.cpp.

Definition at line 109 of file player.cpp.


Member Function Documentation

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

Definition at line 369 of file player.cpp.

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

Definition at line 272 of file player.cpp.

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

Definition at line 253 of file player.cpp.

Definition at line 116 of file player.cpp.

Definition at line 477 of file player.cpp.

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

Definition at line 464 of file player.cpp.

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

Definition at line 423 of file player.cpp.


Member Data Documentation

Definition at line 206 of file player.h.

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

Definition at line 188 of file player.h.

int rosbag::Player::maxfd_ [private]

Definition at line 200 of file player.h.

Definition at line 182 of file player.h.

Definition at line 180 of file player.h.

termios rosbag::Player::orig_flags_ [private]

Definition at line 197 of file player.h.

bool rosbag::Player::paused_ [private]

Definition at line 184 of file player.h.

Definition at line 186 of file player.h.

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

Definition at line 189 of file player.h.

Definition at line 205 of file player.h.

fd_set rosbag::Player::stdin_fdset_ [private]

Definition at line 198 of file player.h.

Definition at line 192 of file player.h.

Definition at line 203 of file player.h.

Definition at line 202 of file player.h.


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


rosbag
Author(s): Tim Field, Jeremy Leibs, James Bowman
autogenerated on Fri Aug 28 2015 12:33:52