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


Constructor & Destructor Documentation

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

Definition at line 103 of file player.cpp.

Definition at line 113 of file player.cpp.


Member Function Documentation

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

Definition at line 395 of file player.cpp.

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

Definition at line 281 of file player.cpp.

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

Definition at line 262 of file player.cpp.

Definition at line 120 of file player.cpp.

Definition at line 503 of file player.cpp.

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

Definition at line 490 of file player.cpp.

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

Definition at line 449 of file player.cpp.


Member Data Documentation

Definition at line 210 of file player.h.

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

Definition at line 192 of file player.h.

int rosbag::Player::maxfd_ [private]

Definition at line 204 of file player.h.

Definition at line 184 of file player.h.

Definition at line 182 of file player.h.

termios rosbag::Player::orig_flags_ [private]

Definition at line 201 of file player.h.

Definition at line 188 of file player.h.

bool rosbag::Player::paused_ [private]

Definition at line 186 of file player.h.

Definition at line 190 of file player.h.

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

Definition at line 193 of file player.h.

Definition at line 209 of file player.h.

fd_set rosbag::Player::stdin_fdset_ [private]

Definition at line 202 of file player.h.

Definition at line 196 of file player.h.

Definition at line 207 of file player.h.

Definition at line 206 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 Tue Mar 7 2017 03:45:48