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 148 of file player.h.


Constructor & Destructor Documentation

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

Definition at line 90 of file player.cpp.

Definition at line 97 of file player.cpp.


Member Function Documentation

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

Definition at line 357 of file player.cpp.

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

Definition at line 260 of file player.cpp.

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

Definition at line 241 of file player.cpp.

Definition at line 104 of file player.cpp.

Definition at line 465 of file player.cpp.

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

Definition at line 452 of file player.cpp.

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

Definition at line 411 of file player.cpp.


Member Data Documentation

Definition at line 196 of file player.h.

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

Definition at line 178 of file player.h.

int rosbag::Player::maxfd_ [private]

Definition at line 190 of file player.h.

Definition at line 172 of file player.h.

Definition at line 170 of file player.h.

termios rosbag::Player::orig_flags_ [private]

Definition at line 187 of file player.h.

bool rosbag::Player::paused_ [private]

Definition at line 174 of file player.h.

Definition at line 176 of file player.h.

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

Definition at line 179 of file player.h.

Definition at line 195 of file player.h.

fd_set rosbag::Player::stdin_fdset_ [private]

Definition at line 188 of file player.h.

Definition at line 182 of file player.h.

Definition at line 193 of file player.h.

Definition at line 192 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 Mon Oct 6 2014 11:47:09